aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkirchner2004-04-05 12:16:54 +0000
committerkirchner2004-04-05 12:16:54 +0000
commitc31b692fc78b625be0385de0557a2e10f1ad8c14 (patch)
tree57c6dc9d8001b4287edc77ac38cfb6cb93b7e6d2 /doc
parentf8d503e1696329f886f7f58fde4597066e68c524 (diff)
MAJ : on laisse tomber la classe faq
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8534 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'doc')
-rw-r--r--doc/newfaq/main.tex17
-rwxr-xr-xdoc/newfaq/run.sh2
2 files changed, 13 insertions, 6 deletions
diff --git a/doc/newfaq/main.tex b/doc/newfaq/main.tex
index 7af94ca003..fb7f8df0cc 100644
--- a/doc/newfaq/main.tex
+++ b/doc/newfaq/main.tex
@@ -1,15 +1,20 @@
-\documentclass[a4paper]{faq}
+\documentclass[a4paper]{article}
\pagestyle{plain}
% yay les symboles
-\usepackage{stmaryrd}
+%\usepackage{stmaryrd}
\usepackage{amssymb}
\usepackage{url}
+\usepackage{alltt}
+\usepackage{multicol}
\usepackage{fullpage}
%\usepackage{hevea}
+
\input{../macros.tex}
+\def\Question[#1]#2{\stepcounter{question}\subsubsection[#1]{#2}}
+
% version et date
\def\faqversion{0.1}
@@ -69,11 +74,13 @@
\begin{document}
\bibliographystyle{plain}
+\newcounter{question}
+\renewcommand{\thesubsubsection}{\arabic{question}}
%%%%%%% Coq pour les nuls %%%%%%%
\title{Coq for the Clueless\\
- \large(\ifpdf\ref*{lastquestion}\else\protect\ref{lastquestion}\fi
+ \large(\protect\ref{lastquestion}
\ Hints)
}
\author{Florent Kirchner \and Julien Narboux}
@@ -758,7 +765,7 @@ You can use the {\tt Admitted} command to state your current proof as an axiom.
You can use the \discriminate tactic.
\begin{coq_example}
-Inductive toto : Set := C1 : toto | C2 : toto.
+Inductive toto : Set := | C1 : toto | C2 : toto | C3 :toto.
Goal C1 <> C2.
discriminate.
Qed.
@@ -1010,5 +1017,5 @@ theorem proving in \Coq.
%%%%%%%
-\typeout{*** That makes \thequestion\space questions ***}
+%\typeout{*** That makes \thequestion\space questions ***}
\end{document}
diff --git a/doc/newfaq/run.sh b/doc/newfaq/run.sh
index b3b481369b..a574a880a8 100755
--- a/doc/newfaq/run.sh
+++ b/doc/newfaq/run.sh
@@ -1,2 +1,2 @@
#/bin/sh
-coq-tex main.tex && latex main.v.tex
+coq-tex -n 72 -v -sl -small main.tex && latex main.v.tex