on what is done
--max-iterations=N don't process files more than N times [$max_iters]
--mostly-clean remove auxiliary files or directories from
previous runs (but not the output)
Output format:
--dvi output a DVI file [default]
--dvipdf output a PDF file via DVI (using a dvi-to-pdf program)
-p, --pdf use pdftex or pdflatex for processing
--ps output a PostScript file via DVI (using dvips)
TeX tuning:
-E, --expand macro expansion using makeinfo
-I DIR search DIR for Texinfo files
-l, --language=LANG specify LANG for FILE, either latex or texinfo
--no-line-error do not pass --file-line-error to TeX
--shell-escape pass --shell-escape to TeX
--src-specials pass --src-specials to TeX
--translate-file=FILE use given charset translation file for TeX
-t, --command=CMD insert CMD in copy of input file
Build modes:
--build=MODE specify the treatment of auxiliary files [$build_mode]
--tidy same as --build=tidy
-c, --clean same as --build=clean
--build-dir=DIR specify where the tidy compilation is performed;
implies --tidy
The MODE specifies where the TeX compilation takes place, and, as a
consequence, how auxiliary files are treated.
Valid values of MODE are:
\`local' compile in the current directory, leaving all the auxiliary
files around. This is the traditional TeX use.
\`tidy' compile in a local *.t2d directory, where the auxiliary files
are left. Output files are copied back to the original file.
\`clean' same as \`tidy', but remove the auxiliary directory afterwards.
Every compilation therefore requires the full cycle.
The build mode can also be set using the environment variable
TEXI2DVI_BUILD_MODE. The tidy build directory can also be set using
the environment variable TEXI2DVI_BUILD_DIRECTORY.
The values of these environment variables are used to run the
corresponding commands, if they are set:
BIBER BIBTEX DVIPDF DVIPS EGREP LATEX MAKEINDEX MAKEINFO
PDFLATEX PDFTEX SED TEX TEXINDEX TEXINDY THUMBPDF_CMD
Regarding --dvipdf, if DVIPDF is not set in the environment, the
following programs are looked for (in this order): dvipdfmx dvipdfm
dvipdf dvi2pdf dvitopdf.
If Texinfo is installed on your site, then the command
info texi2dvi
should give you access to more documentation.
Report bugs to bug-texinfo@gnu.org,
general questions and discussion to help-texinfo@gnu.org.
GNU Texinfo home page:
General help using GNU software:
EOF
exit 0
}
# version - Display version info and exit successfully.
version ()
{
cat <
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
EOF
exit 0
}
#