1
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.34.
2
.TH TEXI2DVI "1" "December 2004" "texi2dvi 1.34" "User Commands"
1
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2
.TH TEXI2DVI "1" "September 2007" "texi2dvi 1.104" "User Commands"
4
texi2dvi \- print Texinfo documents
4
texi2dvi \- convert Texinfo documents to DVI
7
7
[\fIOPTION\fR]... \fIFILE\fR...
9
Run each Texinfo or LaTeX FILE through TeX in turn until all
9
Run each Texinfo or (La)TeX FILE through TeX in turn until all
10
10
cross\-references are resolved, building all indices. The directory
11
11
containing each FILE is searched for included files. The suffix of FILE
12
is used to determine its language (LaTeX or Texinfo).
12
is used to determine its language ((La)TeX or Texinfo). To process
13
(e)plain TeX files, set the environment variable LATEX=tex.
15
In order to make texi2dvi a drop\-in replacement of TeX/LaTeX in AUC\-TeX,
16
the FILE may also be composed of the following simple TeX commands.
19
the actual file to compile
22
same as \fB\-\-batch\fR
14
24
Makeinfo is used to perform Texinfo macro expansion before running TeX
16
.SS "Operation modes:"
26
.SS "General options:"
18
28
\fB\-b\fR, \fB\-\-batch\fR
21
\fB\-c\fR, \fB\-\-clean\fR
22
remove all auxiliary files
24
31
\fB\-D\fR, \fB\-\-debug\fR
25
32
turn on shell debugging (set \fB\-x\fR)
56
66
\fB\-l\fR, \fB\-\-language\fR=\fILANG\fR
57
67
specify the LANG of FILE (LaTeX or Texinfo)
69
\fB\-\-no\-line\-error\fR
70
do not pass \fB\-\-file\-line\-error\fR to TeX
59
72
\fB\-p\fR, \fB\-\-pdf\fR
60
73
use pdftex or pdflatex for processing
62
75
\fB\-r\fR, \fB\-\-recode\fR
63
call recode before TeX to translate input characters
76
call recode before TeX to translate input
78
\fB\-\-recode\-from\fR=\fIENC\fR
79
recode from ENC to the @documentencoding
81
\fB\-\-src\-specials\fR
82
pass \fB\-\-src\-specials\fR to TeX
65
84
\fB\-t\fR, \fB\-\-command\fR=\fICMD\fR
66
85
insert CMD in copy of input file
68
87
or \fB\-\-texinfo\fR=\fICMD\fR
69
88
multiple values accumulate
90
\fB\-\-translate\-file\fR=\fIFILE\fR
91
use given charset translation file for TeX
94
\fB\-\-build\fR=\fIMODE\fR
95
specify the treatment of auxiliary files [local]
98
same as \fB\-\-build\fR=\fItidy\fR
100
\fB\-c\fR, \fB\-\-clean\fR
101
same as \fB\-\-build\fR=\fIclean\fR
103
\fB\-\-build\-dir\fR=\fIDIR\fR
104
specify where the tidy compilation is performed;
105
implies \fB\-\-tidy\fR;
106
defaults to TEXI2DVI_BUILD_DIRECTORY [.]
108
\fB\-\-mostly\-clean\fR
109
remove the auxiliary files and directories
112
The MODE specifies where the TeX compilation takes place, and, as a
113
consequence, how auxiliary files are treated. The build mode
114
can also be set using the environment variable TEXI2DVI_BUILD_MODE.
115
.SS "Valid MODEs are:"
118
compile in the current directory, leaving all the auxiliary
121
This is the traditional TeX use.
124
compile in a local *.t2d directory, where the auxiliary files
127
Output files are copied back to the original file.
130
same as `tidy', but remove the auxiliary directory afterwards.
132
Every compilation therefore requires the full cycle.
133
.SS "Using the `tidy' mode brings several advantages:"
135
\- the current directory is not cluttered with plethora of temporary files.
136
\- clutter can be even reduced using \fB\-\-build\-dir\fR=\fIdir\fR: all the *.t2d
138
directories are stored there.
140
\- clutter can be reduced to zero using \fB\-\-build\-dir=\fR/tmp/$USER.t2d or
142
\fB\-\-build\-dir=\fR/u/karl/.t2d.
144
\- the output file is updated after every succesful TeX run, for
146
sake of concurrent visualization of the output.
149
the viewer stops during the whole TeX run.
151
\- if the compilation fails, the previous state of the output file
155
\- PDF and DVI compilation are kept in separate subdirectories
157
preventing any possibility of auxiliary file incompatibility.
159
On the other hand, because `tidy' compilation takes place in another
160
directory, occasionally TeX won't be able to find some files (e.g., when
161
using \egraphicspath): in that case use \fB\-I\fR to specify the additional
162
directories to consider.
71
164
The values of the BIBTEX, LATEX (or PDFLATEX), MAKEINDEX, MAKEINFO,
72
165
TEX (or PDFTEX), TEXINDEX, and THUMBPDF environment variables are used
77
170
general questions and discussion to <help\-texinfo@gnu.org>.
78
171
Texinfo home page: http://www.gnu.org/software/texinfo/
80
Copyright \(co 2004 Free Software Foundation, Inc.
81
There is NO warranty. You may redistribute this software
82
under the terms of the GNU General Public License.
83
For more information about these matters, see the files named COPYING.
173
Copyright \(co 2007 Free Software Foundation, Inc.
174
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
176
This is free software: you are free to change and redistribute it.
177
There is NO WARRANTY, to the extent permitted by law.
85
179
The full documentation for