111 |
</td></tr> |
</td></tr> |
112 |
<tr><td align="left" valign="top"><a href="#SEC253">19.9 Preparing for TeX</a></td><td> </td><td align="left" valign="top"> What to do before you use TeX. |
<tr><td align="left" valign="top"><a href="#SEC253">19.9 Preparing for TeX</a></td><td> </td><td align="left" valign="top"> What to do before you use TeX. |
113 |
</td></tr> |
</td></tr> |
114 |
<tr><td align="left" valign="top"><a href="#SEC254">19.10 Overfull "hboxes"</a></td><td> </td><td align="left" valign="top"> What are and what to do with overfull hboxes. |
<tr><td align="left" valign="top"><a href="#SEC254">19.10 Overfull “hboxes”</a></td><td> </td><td align="left" valign="top"> What are and what to do with overfull hboxes. |
115 |
</td></tr> |
</td></tr> |
116 |
<tr><td align="left" valign="top"><a href="#SEC255">19.11 Printing "Small" Books</a></td><td> </td><td align="left" valign="top"> How to print small format books and manuals. |
<tr><td align="left" valign="top"><a href="#SEC255">19.11 Printing “Small” Books</a></td><td> </td><td align="left" valign="top"> How to print small format books and manuals. |
117 |
</td></tr> |
</td></tr> |
118 |
<tr><td align="left" valign="top"><a href="#SEC256">19.12 Printing on A4 Paper</a></td><td> </td><td align="left" valign="top"> How to print on A4 or A5 paper. |
<tr><td align="left" valign="top"><a href="#SEC256">19.12 Printing on A4 Paper</a></td><td> </td><td align="left" valign="top"> How to print on A4 or A5 paper. |
119 |
</td></tr> |
</td></tr> |
317 |
<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 |
318 |
<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 |
319 |
sorted indices and all cross-references resolved. It simplifies the |
sorted indices and all cross-references resolved. It simplifies the |
320 |
<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 |
321 |
described in the previous section. |
described in the previous section. |
322 |
</p> |
</p> |
323 |
<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 |
335 |
<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 |
336 |
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 |
337 |
before running TeX. With this, you can specify different printing |
before running TeX. With this, you can specify different printing |
338 |
formats, such as <code>@smallbook</code> (see section <a href="#SEC255">Printing "Small" Books</a>), |
formats, such as <code>@smallbook</code> (see section <a href="#SEC255">Printing “Small” Books</a>), |
339 |
<code>@afourpaper</code> (see section <a href="#SEC256">Printing on A4 Paper</a>), or <code>@pagesizes</code> |
<code>@afourpaper</code> (see section <a href="#SEC256">Printing on A4 Paper</a>), or <code>@pagesizes</code> |
340 |
(see section <a href="#SEC257"><code>@pagesizes</code> [<var>width</var>][, <var>height</var>]: Custom page sizes</a>), without actually changing the document source. |
(see section <a href="#SEC257"><code>@pagesizes</code> [<var>width</var>][, <var>height</var>]: Custom page sizes</a>), without actually changing the document source. |
341 |
(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>; |
811 |
<td valign="middle" align="left">[<a href="texinfo_32.html#SEC325" title="Index">Index</a>]</td> |
<td valign="middle" align="left">[<a href="texinfo_32.html#SEC325" title="Index">Index</a>]</td> |
812 |
<td valign="middle" align="left">[<a href="texinfo_abt.html#SEC_About" title="About (help)"> ? </a>]</td> |
<td valign="middle" align="left">[<a href="texinfo_abt.html#SEC_About" title="About (help)"> ? </a>]</td> |
813 |
</tr></table> |
</tr></table> |
814 |
<h2 class="section"> 19.10 Overfull "hboxes" </h2> |
<h2 class="section"> 19.10 Overfull “hboxes” </h2> |
815 |
|
|
816 |
<p>TeX is sometimes unable to typeset a line without extending it into |
<p>TeX is sometimes unable to typeset a line without extending it into |
817 |
the right margin. This can occur when TeX comes upon what it |
the right margin. This can occur when TeX comes upon what it |
823 |
</pre></td></tr></table> |
</pre></td></tr></table> |
824 |
<a name="IDX343"></a> |
<a name="IDX343"></a> |
825 |
|
|
826 |
<p>(In TeX, lines are in "horizontal boxes", hence the term, "hbox". |
<p>(In TeX, lines are in “horizontal boxes”, hence the term, “hbox”. |
827 |
<samp>`@hbox'</samp> is a TeX primitive not needed in the Texinfo language.) |
<samp>`@hbox'</samp> is a TeX primitive not needed in the Texinfo language.) |
828 |
</p> |
</p> |
829 |
<p>TeX also provides the line number in the Texinfo source file and |
<p>TeX also provides the line number in the Texinfo source file and |
890 |
<td valign="middle" align="left">[<a href="texinfo_32.html#SEC325" title="Index">Index</a>]</td> |
<td valign="middle" align="left">[<a href="texinfo_32.html#SEC325" title="Index">Index</a>]</td> |
891 |
<td valign="middle" align="left">[<a href="texinfo_abt.html#SEC_About" title="About (help)"> ? </a>]</td> |
<td valign="middle" align="left">[<a href="texinfo_abt.html#SEC_About" title="About (help)"> ? </a>]</td> |
892 |
</tr></table> |
</tr></table> |
893 |
<h2 class="section"> 19.11 Printing "Small" Books </h2> |
<h2 class="section"> 19.11 Printing “Small” Books </h2> |
894 |
|
|
895 |
<p>By default, TeX typesets pages for printing in an 8.5 by 11 inch |
<p>By default, TeX typesets pages for printing in an 8.5 by 11 inch |
896 |
format. However, you can direct TeX to typeset a document in a 7 by |
format. However, you can direct TeX to typeset a document in a 7 by |
908 |
<p>If you write the <code>@smallbook</code> command between the |
<p>If you write the <code>@smallbook</code> command between the |
909 |
start-of-header and end-of-header lines, the Texinfo mode TeX |
start-of-header and end-of-header lines, the Texinfo mode TeX |
910 |
region formatting command, <code>texinfo-tex-region</code>, will format the |
region formatting command, <code>texinfo-tex-region</code>, will format the |
911 |
region in "small" book size (see section <a href="texinfo_4.html#SEC45">Start of Header</a>). |
region in “small” book size (see section <a href="texinfo_4.html#SEC45">Start of Header</a>). |
912 |
</p> |
</p> |
913 |
<p>See section <a href="texinfo_11.html#SEC148"><code>@small…</code> Block Commands</a>, for information about |
<p>See section <a href="texinfo_11.html#SEC148"><code>@small…</code> Block Commands</a>, for information about |
914 |
commands that make it easier to produce examples for a smaller manual. |
commands that make it easier to produce examples for a smaller manual. |
1052 |
<p>You can attempt to direct TeX to typeset pages larger or smaller than |
<p>You can attempt to direct TeX to typeset pages larger or smaller than |
1053 |
usual with the <code>\mag</code> TeX command. Everything that is typeset |
usual with the <code>\mag</code> TeX command. Everything that is typeset |
1054 |
is scaled proportionally larger or smaller. (<code>\mag</code> stands for |
is scaled proportionally larger or smaller. (<code>\mag</code> stands for |
1055 |
"magnification".) This is <em>not</em> a Texinfo @-command, but is a |
“magnification”.) This is <em>not</em> a Texinfo @-command, but is a |
1056 |
plain TeX command that is prefixed with a backslash. You have to |
plain TeX command that is prefixed with a backslash. You have to |
1057 |
write this command between <code>@tex</code> and <code>@end tex</code> |
write this command between <code>@tex</code> and <code>@end tex</code> |
1058 |
(see section <a href="texinfo_17.html#SEC230">Raw Formatter Commands</a>). |
(see section <a href="texinfo_17.html#SEC230">Raw Formatter Commands</a>). |