Lines Matching refs:TeX
1 % texinfo.tex -- TeX macros to handle Texinfo files.
2 % Id: texinfo.tex,v 1.1.1.1 2000/06/16 07:49:23 drepper Exp
7 % This texinfo.tex file is free software; you can redistribute it and/or
12 % This texinfo.tex file is distributed in the hope that it will be
18 % along with this texinfo.tex file; see the file COPYING. If not, write
26 % Please try the latest version of texinfo.tex before submitting bug
28 % /home/gd/gnu/doc/texinfo.tex on the GNU machines.
29 % ftp://ftp.gnu.org/pub/gnu/texinfo.tex
31 % ftp://tug.org/tex/texinfo.tex
32 % ftp://ctan.org/macros/texinfo/texinfo.tex
39 % Texinfo macros (with @macro) are *not* supported by texinfo.tex. You
43 % To process a Texinfo manual with TeX, it's most reliable to use the
46 % tex foo.texi
48 % tex foo.texi
49 % tex foo.texi
51 % The extra runs of TeX get the cross-reference information correct.
72 % Save some parts of plain tex whose names we will redefine.
90 % For @tex, we can use \tabalign.
262 % macro which expects an ordinary undelimited TeX argument.
300 % Since all \c{,omment} does is throw away the argument, we can let TeX
430 % Others are defined by plain TeX: @` @' @" @^ @~ @= @v @H.
439 % Plain TeX defines: @AA @AE @O @OE @L (and lowercase versions) @ss.
482 TeX is still in vertical mode, would
487 % it in a TeX vbox. We use \vtop instead of \vbox to construct the box
501 % depth; thus, TeX puts \baselineskip glue before it, and (when the
519 % Since we have a strut on every line, we don't need any of TeX's
544 % TeX puts in an \escapechar (i.e., `@') at the beginning of the help
560 %% This method tries to make TeX break the page naturally
578 % TeX does not even consider page breaks if a penalty added to the
584 % There is an extremely small chance that TeX will actually break the
587 % almost-but-not-quite fill up a page, TeX will have a hard time doing
802 % which this file should belong to. Ignore this in TeX.
813 % this texinfo.tex file). We change the catcode of @ below to match.
850 % We need to warn folks that they may have trouble with TeX 3.0.
853 \immediate\write16{***WARNING*** for users of Unix TeX 3.0!}
854 \immediate\write16{This manual trips a bug in TeX version 3.0 (tex hangs).}
855 \immediate\write16{If you are running another version of TeX, relax.}
856 \immediate\write16{If you are running Unix TeX 3.0, kill this TeX process.}
857 \immediate\write16{ Then upgrade your TeX installation if you can.}
858 \immediate\write16{ (See ftp://ftp.gnu.ai.mit.edu/pub/gnu/TeX.README.)}
867 % **In TeX 3.0, setting text in \nullfont hangs tex. For a
900 % Set the current font to be \nullfont, a TeX primitive, and define
929 % Do not execute instructions in @tex
930 \def\tex{\doignore{tex}}%
1146 % Texinfo supports the sans serif font style, which plain TeX does not.
1166 % before you read in texinfo.tex.
1310 % cases, not the current font. Plain TeX does \def\bf{\fam=\bffam
1364 %% serif) and @ii for TeX italic
1434 % Unfortunately, TeX uses one parameter (\hyphenchar) to control
1629 % Now make Tex use those variables
1974 % We need the \relax at the end of the \ifnum lines to stop TeX from
2236 % blank line, when TeX decides to break the line at the space before the
2275 % Define \newwrite to be identical to plain tex's \newwrite
2355 % Take care of the plain tex accent commands.
2368 % Take care of the plain tex special European modified letters.
2396 \def\TeX{\realbackslash TeX}%
2440 \def\indexdummytex{TeX}
2459 % Take care of the plain tex special European modified letters.
2490 \let\TeX=\indexdummytex
2627 % as its first line, TeX doesn't complain about mismatched braces
2640 % false. We have to make TeX try to read something from the file, so
2710 % Insert the text of the index entry. TeX will do line-breaking on it.
2727 % The `\ ' here is removed by the implicit \unskip that TeX does as
2751 % the manmac.tex format used to print the TeXbook itself.
2885 \def\TeX{\realbackslash TeX}%
3042 % This used to be simply \message{#1}, but TeX fully expands the
3043 % argument to \message. Therefore, if #1 contained @-commands, TeX
3044 % expanded them. For example, in `@unnumbered The @cite{Book}', TeX
3050 % \the<toks register> to achieve this: TeX expands \the<toks> only once,
3612 % @tex ... @end tex escapes into raw Tex temporarily.
3613 % One exception: @ is still an escape character, so that @end tex works.
3614 % But \@ or @@ will get a plain tex @ character.
3616 \def\tex{\begingroup
3894 % so TeX would otherwise complain about undefined control sequence.
4069 % way, TeX won't find exactly `{...}' as an undelimited argument, and
4649 % If we use \unhbox0 and \unhbox1 to print the node names, TeX does not
4654 % is as if TeX is seeing it for the first time.
4717 % Use TeX 3.0's \inputlineno to get the line number, for better error
4718 % messages, but if we're using an old version of TeX, don't do anything.
4739 \message{Cross reference values unknown; you must run TeX again.}%
4843 % Open the new aux file. TeX will close it automatically at exit.
4882 % Don't bother with the trickery in plain.tex to not require the
4909 % provide a place where TeX can split the footnote.
4974 % @image. We use the macros from epsf.tex to support this.
4975 % If epsf.tex is not installed and @image is used, we complain.
4977 % Check for and read epsf.tex up front. If we read it only at @image
4980 \openin 1 = epsf.tex
4983 % Do not bother showing banner with post-v2.7 epsf.tex (available in
4984 % doc/epsf.tex until it shows up on ctan).
4986 \input epsf.tex
4990 \newhelp\noepsfhelp{epsf.tex must be installed for images to
4992 it from ftp://ftp.tug.org/tex/epsf.tex.}
4994 % Only complain once about lack of epsf.tex.
4999 \errmessage{epsf.tex not found, images will be ignored}%
5058 % Use TeX 3.0's \emergencystretch to help line breaking, but if we're
5059 % using an old version of TeX, don't do anything. We want the amount of