Scroll to navigation

TEXI2DVI4A2PS(1) User Commands TEXI2DVI4A2PS(1)


texi2dvi4a2ps - Compile Texinfo and LaTeX files to DVI or PDF


texi2dvi4a2ps [OPTION]... FILE...


Run each Texinfo or LaTeX FILE through TeX in turn until all cross-references are resolved, building all indices. The directory containing each FILE is searched for included files. The suffix of FILE is used to determine its language (LaTeX or Texinfo).

Makeinfo is used to perform Texinfo macro expansion before running TeX when needed.

Operation modes:

no interaction
remove all auxiliary files
turn on shell debugging (set -x)
display this help and exit successfully
leave output in OFILE (implies --clean); Only one input FILE may be specified in this case
no output unless errors (implies --batch)
same as --quiet
display version information and exit successfully
report on what is done

TeX tuning:

use @input instead of \input; for preloaded Texinfo
force macro expansion using makeinfo
search DIR for Texinfo files
specify the LANG of FILE (LaTeX or Texinfo)
use pdftex or pdflatex for processing
insert CMD after @setfilename in copy of input file multiple values accumulate

The values of the BIBTEX, LATEX (or PDFLATEX), MAKEINDEX, MAKEINFO, TEX (or PDFTEX), and TEXINDEX environment variables are used to run those commands, if they are set.


Email bug reports to <>, general questions and discussion to <>.
Texinfo home page:


Copyright © 2002 Free Software Foundation, Inc. There is NO warranty. You may redistribute this software under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING.


texi2dvi4a2ps is exactly the same script as texi2dvi, part of the package GNU Texinfo. It is used by a2ps when delegating LaTeX and Texinfo files. Instead of checking whether the version of texi2dvi which is installed is recent enough, it is more convenient for the users that a2ps is shipped with the version of texi2dvi it requires. a2ps(1), card(1), fixps(1), pdiff(1), psset(1), texi2dvi4a2ps(1).

The full documentation for texi2dvi4a2ps is maintained as a Texinfo manual. If the info and texi2dvi4a2ps programs are properly installed at your site, the command

info texi2dvi4a2ps

should give you access to the complete manual.

February 2021 GNU Texinfo 4.1