1
.TH COQ-TEX 1 "29 March 1995"
4
coq-tex \- Process Coq phrases embedded in LaTeX files
15
.BI \-image \ coq-image
39
filter extracts Coq phrases embedded in LaTeX files, evaluates
40
them, and insert the outcome of the evaluation after each phrase.
42
Three LaTeX environments are provided to include Coq code in
46
The phrases between \\begin{coq_example} and \\end{coq_example} are
47
evaluated and copied into the output file. Each phrase is followed by
48
the response of the toplevel loop.
51
The phrases between \\begin{coq_example*} and \\end{coq_example*} are
52
evaluated and copied into the output file. The responses of the
53
toplevel loop are discarded.
56
The phrases between \\begin{coq_eval} and \\end{coq_eval} are
57
silently evaluated. They are not copied into the output file, and the
58
responses of the toplevel loop are discarded.
60
The resulting LaTeX code is stored in the file
62
if the input file has a name of the form
64
otherwise the name of the output file is the name of the input file
65
with `.v.tex' appended.
69
can be directly processed by LaTeX.
70
Both the Coq phrases and the toplevel output are typeset in
77
Specify the name of a file where the LaTeX output is to be stored. A
78
dash `\-' causes the LaTeX output to be printed on standard output.
81
Set the line width. The default is 72 characters. The responses of the
82
toplevel loop are folded if they are longer than the line width. No
83
folding is performed on the Coq input text.
85
.BI \-image \ coq-image
88
to be executed to evaluate the Coq phrases. By default,
91
without specifying any path which is used to evaluate the Coq phrases.
94
Cause lines to be folded on a space character whenever possible,
95
avoiding word cuts in the output. By default, folding occurs at
96
the line width, regardless of word cuts.
99
Verbose mode. Prints the Coq answers on the standard output.
100
Useful to detect errors in Coq phrases.
103
Slanted mode. The Coq answers are written in a slanted font.
106
Horizontal lines mode. The Coq parts are written between two
110
Small font mode. The Coq parts are written in a smaller font.
114
The \\begin... and \\end... phrases must sit on a line by themselves,
115
with no characters before the backslash or after the closing brace.
116
Each Coq phrase must be terminated by `.' at the end of a line.
117
Blank space is accepted between `.' and the newline, but any other
118
character will cause coq-tex to ignore the end of the phrase,
119
resulting in an incorrect shuffling of the responses into the phrases.
120
(The responses ``lag behind''.)