83 |
<p>The <code>texi2dvi</code> command automatically runs both <code>tex</code> and |
<p>The <code>texi2dvi</code> command automatically runs both <code>tex</code> and |
84 |
<code>texindex</code> as many times as necessary to produce a DVI file with |
<code>texindex</code> as many times as necessary to produce a DVI file with |
85 |
sorted indices and all cross-references resolved. It simplifies the |
sorted indices and all cross-references resolved. It simplifies the |
86 |
<code>tex</code>--<code>texindex</code>--<code>tex</code>--<code>tex</code> sequence |
<code>tex</code>—<code>texindex</code>—<code>tex</code>—<code>tex</code> sequence |
87 |
described in the previous section. |
described in the previous section. |
88 |
</p> |
</p> |
89 |
<p>To run <code>texi2dvi</code> on an input file <tt>`foo.texi'</tt>, do this (where |
<p>To run <code>texi2dvi</code> on an input file <tt>`foo.texi'</tt>, do this (where |
101 |
<samp>`--texinfo=<var>cmd</var>'</samp>. This inserts <var>cmd</var> on a line by itself |
<samp>`--texinfo=<var>cmd</var>'</samp>. This inserts <var>cmd</var> on a line by itself |
102 |
after the <code>@setfilename</code> in a temporary copy of the input file |
after the <code>@setfilename</code> in a temporary copy of the input file |
103 |
before running TeX. With this, you can specify different printing |
before running TeX. With this, you can specify different printing |
104 |
formats, such as <code>@smallbook</code> (see section <a href="smallbook.html#SEC255">Printing "Small" Books</a>), |
formats, such as <code>@smallbook</code> (see section <a href="smallbook.html#SEC255">Printing “Small” Books</a>), |
105 |
<code>@afourpaper</code> (see section <a href="A4-Paper.html#SEC256">Printing on A4 Paper</a>), or <code>@pagesizes</code> |
<code>@afourpaper</code> (see section <a href="A4-Paper.html#SEC256">Printing on A4 Paper</a>), or <code>@pagesizes</code> |
106 |
(see section <a href="pagesizes.html#SEC257"><code>@pagesizes</code> [<var>width</var>][, <var>height</var>]: Custom page sizes</a>), without actually changing the document source. |
(see section <a href="pagesizes.html#SEC257"><code>@pagesizes</code> [<var>width</var>][, <var>height</var>]: Custom page sizes</a>), without actually changing the document source. |
107 |
(You can also do this on a site-wide basis with <tt>`texinfo.cnf'</tt>; |
(You can also do this on a site-wide basis with <tt>`texinfo.cnf'</tt>; |