Home | History | Annotate | Download | only in config

Lines Matching refs:TeX

1 % texinfo.tex -- TeX macros to handle Texinfo files.
11 % This texinfo.tex file is free software; you can redistribute it and/or
16 % This texinfo.tex file is distributed in the hope that it will be
22 % along with this texinfo.tex file; see the file COPYING. If not, write
30 % Please try the latest version of texinfo.tex before submitting bug
32 % ftp://ftp.gnu.org/gnu/texinfo.tex
34 % ftp://texinfo.org/texinfo/texinfo.tex
35 % ftp://tug.org/tex/texinfo.tex
37 % and /home/gd/gnu/doc/texinfo.tex on the GNU machines.
39 % The texinfo.tex in any given Texinfo distribution could well be out
49 % To process a Texinfo manual with TeX, it's most reliable to use the
52 % tex foo.texi
54 % tex foo.texi
55 % tex foo.texi
57 % The extra TeX runs get the cross-reference information correct.
61 % It is possible to adapt texinfo.tex for other languages. You can get
72 % Save some parts of plain tex whose names we will redefine.
89 % For @tex, we can use \tabalign.
310 % macro which expects an ordinary undelimited TeX argument.
348 % Since all \c{,omment} does is throw away the argument, we can let TeX
478 % Others are defined by plain TeX: @` @' @" @^ @~ @= @v @H.
487 % Plain TeX defines: @AA @AE @O @OE @L (and lowercase versions) @ss.
530 % beginning of a paragraph, when TeX is still in vertical mode, would
535 % it in a TeX vbox. We use \vtop instead of \vbox to construct the box
549 % depth; thus, TeX puts \baselineskip glue before it, and (when the
567 % Since we have a strut on every line, we don't need any of TeX's
592 % TeX puts in an \escapechar (i.e., `@') at the beginning of the help
608 %% This method tries to make TeX break the page naturally
631 % TeX does not even consider page breaks if a penalty added to the
637 % There is an extremely small chance that TeX will actually break the
640 % almost-but-not-quite fill up a page, TeX will have a hard time doing
841 % to set catcodes according to plain TeX first, to allow for subscripts,
863 % FYI, plain.tex uses \\ as a temporary control sequence (why?), but
871 \tex
1112 % Texinfo sort of supports the sans serif font style, which plain TeX does not.
1149 % before you read in texinfo.tex.
1288 % cases, not the current font. Plain TeX does \def\bf{\fam=\bffam
1350 %% serif) and @ii for TeX italic
1423 % Unfortunately, TeX uses one parameter (\hyphenchar) to control
1676 % Now make Tex use those variables
1792 % Only define if not already defined, in case a txi-??.tex file has set
1793 % up a different format (e.g., txi-cs.tex does this).
2021 % We need the \relax at the end of the \ifnum lines to stop TeX from
2297 % blank line, when TeX decides to break the line at the space before the
2431 % which this file should belong to. Ignore this in TeX.
2442 % this texinfo.tex file). We change the catcode of @ below to match.
2480 % We need to warn folks that they may have trouble with TeX 3.0.
2483 \immediate\write16{WARNING: for users of Unix TeX 3.0!}
2484 \immediate\write16{This manual trips a bug in TeX version 3.0 (tex hangs).}
2485 \immediate\write16{If you are running another version of TeX, relax.}
2486 \immediate\write16{If you are running Unix TeX 3.0, kill this TeX process.}
2487 \immediate\write16{ Then upgrade your TeX installation if you can.}
2488 \immediate\write16{ (See ftp://ftp.gnu.org/pub/gnu/TeX.README.)}
2497 % **In TeX 3.0, setting text in \nullfont hangs tex. For a
2530 % Set the current font to be \nullfont, a TeX primitive, and define
2562 % Do not execute instructions in @tex
2563 \def\tex{\doignore{tex}}%
2703 % Define \newwrite to be identical to plain tex's \newwrite
2794 % Need these in case \tex is in effect and \{ is a \delimiter again.
2802 % Take care of the plain tex accent commands.
2817 % Take care of the plain tex special European modified letters.
2847 \def\TeX{\realbackslash TeX}%
2896 \def\indexdummytex{TeX}
2918 % Take care of the plain tex special European modified letters.
2933 % Likewise with the other plain tex font commands.
2942 \let\TeX=\indexdummytex
3113 % as its first line, TeX doesn't complain about mismatched braces
3126 % false. We have to make TeX try to read something from the file, so
3213 % Insert the text of the index entry. TeX will do line-breaking on it.
3230 % The `\ ' here is removed by the implicit \unskip that TeX does as
3265 % the manmac.tex format used to print the TeXbook itself.
3281 % runs and this will be a no-op. See the indexspread.tex test case.
3584 % This used to be simply \message{#1}, but TeX fully expands the
3585 % argument to \message. Therefore, if #1 contained @-commands, TeX
3586 % expanded them. For example, in `@unnumbered The @cite{Book}', TeX
3592 % \the<toks register> to achieve this: TeX expands \the<toks> only once,
4185 % @tex ... @end tex escapes into raw Tex temporarily.
4186 % One exception: @ is still an escape character, so that @end tex works.
4187 % But \@ or @@ will get a plain tex @ character.
4189 \def\tex{\begingroup
4663 % so TeX would otherwise complain about undefined control sequence.
4858 % way, TeX won't find exactly `{...}' as an undelimited argument, and
5199 % To do this right we need a feature of e-TeX, \scantokens,
5200 % which we arrange to emulate with a temporary file in ordinary TeX.
5207 % Append \endinput to make sure that TeX does not see the ending newline.
5587 % If we use \unhbox0 and \unhbox1 to print the node names, TeX does not
5592 % is as if TeX is seeing it for the first time.
5678 % Use TeX 3.0's \inputlineno to get the line number, for better error
5679 % messages, but if we're using an old version of TeX, don't do anything.
5700 \message{Cross reference values unknown; you must run TeX again.}%
5804 % Open the new aux file. TeX will close it automatically at exit.
5843 % Don't bother with the trickery in plain.tex to not require the
5879 % provide a place where TeX can split the footnote.
5926 % @image. We use the macros from epsf.tex to support this.
5927 % If epsf.tex is not installed and @image is used, we complain.
5929 % Check for and read epsf.tex up front. If we read it only at @image
5932 \openin 1 = epsf.tex
5935 % Do not bother showing banner with post-v2.7 epsf.tex (available in
5936 % doc/epsf.tex until it shows up on ctan).
5938 \input epsf.tex
5941 % We will only complain once about lack of epsf.tex.
5943 \newhelp\noepsfhelp{epsf.tex must be installed for images to
5945 it from ftp://tug.org/tex/epsf.tex.}
5951 \errmessage{epsf.tex not found, images will be ignored}%
6005 \tex % read txi-??.tex file in plain TeX.
6007 \openin 1 txi-#1.tex
6010 \errmessage{Cannot read language file txi-#1.tex}%
6013 \def\temp{\input txi-#1.tex }%
6023 % @documentencoding should change something in TeX eventually, most
6046 % Use TeX 3.0's \emergencystretch to help line breaking, but if we're
6047 % using an old version of TeX, don't do anything. We want the amount of