Next: , Previous: , Up: Hardcopy   [Contents][Index]


19.2 Format with texi2dvi

The texi2dvi program takes care of all the steps for producing a TeX DVI file from a Texinfo document. Similarly, texi2pdf produces a PDF file.

To run texi2dvi or texi2pdf on an input file foo.texi, do this (where ‘prompt$ ’ is your shell prompt):

prompt$ texi2dvi foo.texi
prompt$ texi2pdf foo.texi

As shown in this example, the input filenames to texi2dvi and texi2pdf must include any extension, such as ‘.texi’. (Under MS-DOS and perhaps in other circumstances, you may need to run ‘sh texi2dvi foo.texi’ instead of relying on the operating system to invoke the shell on the ‘texi2dvi’ script.)

For a list of all the options, run