Home | History | Annotate | Download | only in config

Lines Matching refs:TeX

1 % texinfo.tex -- TeX macros to handle Texinfo files.
12 % This texinfo.tex file is free software; you can redistribute it and/or
17 % This texinfo.tex file is distributed in the hope that it will be
23 % along with this texinfo.tex file; see the file COPYING. If not, write
27 % As a special exception, when this file is read by TeX when processing
31 % Please try the latest version of texinfo.tex before submitting bug
34 % ftp://tug.org/tex/texinfo.tex
36 % The texinfo.tex in any given distribution could well be out
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 TeX runs get the cross-reference information correct.
55 % It is possible to adapt texinfo.tex for other languages, to some
74 % For @tex, we can use \tabalign.
77 % Save some plain tex macros whose names we will redefine.
107 % Use TeX 3.0's \inputlineno to get the line number, for better error
108 % messages, but if we're using an old version of TeX, don't do anything.
384 % macro which expects an ordinary undelimited TeX argument.
446 % favourite TeX trick. --kasal, 16nov03
477 % Define the framework for environments in texinfo.tex. It's used like this:
576 % Others are defined by plain TeX: @` @' @" @^ @~ @= @u @v @H.
585 % Plain TeX defines: @AA @AE @O @OE @L (plus lowercase versions) @ss.
602 % The \TeX{} logo, as in plain, but resetting the spacing so that a
605 \edef\TeX{\TeX \spacefactor=1000 }
618 \TeX
667 % beginning of a paragraph, when TeX is still in vertical mode, would
672 % it in a TeX vbox. We use \vtop instead of \vbox to construct the box
684 % percent of a page (\vfilllimit can be changed inside of @tex).
706 % The \vtop produces a box with normal height and large depth; thus, TeX puts
732 % TeX puts in an \escapechar (i.e., `@') at the beginning of the help
746 %% This method tries to make TeX break the page naturally
769 % TeX does not even consider page breaks if a penalty added to the
775 % There is an extremely small chance that TeX will actually break the
778 % almost-but-not-quite fill up a page, TeX will have a hard time doing
1049 % FYI, plain.tex uses \\ as a temporary control sequence (why?), but
1057 \tex
1063 \def\finishmath#1{#1$\endgroup} % Close the group opened by \tex.
1128 % Open the new aux file. TeX will close it automatically at exit.
1193 % (and related messages, the final outcome is that it is up to the TeX
1465 % Texinfo sort of supports the sans serif font style, which plain TeX does not.
1502 % before you read in texinfo.tex.
1762 %% serif) and @ii for TeX italic
1872 % Unfortunately, TeX uses one parameter (\hyphenchar) to control
2074 % It is available from http://www.ctan.org/tex-archive/fonts/eurosym.
2120 % Adapted from the plain.tex definition of \copyright.
2260 % Now make TeX use those variables
2370 % Only define if not already defined, in case a txi-??.tex file has set
2371 % up a different format (e.g., txi-cs.tex does this).
2596 % We need the \relax at the end of the \ifnum lines to stop TeX from
2874 % blank line, when TeX decides to break the line at the space before the
3126 % which this file should belong to. Ignore this in TeX.
3136 % Define \newwrite to be identical to plain tex's \newwrite
3227 % Need these in case \tex is in effect and \{ is a \delimiter again.
3306 \definedummyword\TeX
3412 % Likewise with the other plain tex font commands.
3438 \def\TeX{TeX}%
3465 % to take a single TeX argument. The case of a macro invocation that
3653 % as its first line, TeX doesn't complain about mismatched braces
3666 % false. We have to make TeX try to read something from the file, so
3791 % The `\ ' here is removed by the implicit \unskip that TeX does as
3828 % the manmac.tex format used to print the TeXbook itself.
3844 % runs and this will be a no-op. See the indexspread.tex test case.
4180 % This used to be simply \message{#1}, but TeX fully expands the
4181 % argument to \message. Therefore, if #1 contained @-commands, TeX
4182 % expanded them. For example, in `@unnumbered The @cite{Book}', TeX
4188 % \the<toks register> to achieve this: TeX expands \the<toks> only once,
4853 % @tex ... @end tex escapes into raw Tex temporarily.
4854 % One exception: @ is still an escape character, so that @end tex works.
4855 % But \@ or @@ will get a plain tex @ character.
4857 \envdef\tex{%
5496 % (plain.tex says that \dimen1 should be used only as global.)
5561 % so TeX would otherwise complain about undefined control sequence.
5636 % To do this right we need a feature of e-TeX, \scantokens,
5637 % which we arrange to emulate with a temporary file in ordinary TeX.
5662 % Append \endinput to make sure that TeX does not see the ending newline.
5664 % I've verified that it is necessary both for e-TeX and for ordinary TeX
5964 % @node's only job in TeX is to define \lastnode, which is used in
6112 % If we use \unhbox0 and \unhbox1 to print the node names, TeX does not
6117 % is as if TeX is seeing it for the first time.
6199 \message{Cross reference values unknown; you must run TeX again.}%
6372 % Don't bother with the trickery in plain.tex to not require the
6410 % provide a place where TeX can split the footnote.
6477 % @image. We use the macros from epsf.tex to support this.
6478 % If epsf.tex is not installed and @image is used, we complain.
6480 % Check for and read epsf.tex up front. If we read it only at @image
6483 \openin 1 = epsf.tex
6485 % Do not bother showing banner with epsf.tex v2.7k (available in
6486 % doc/epsf.tex and on ctan).
6488 \input epsf.tex
6492 % We will only complain once about lack of epsf.tex.
6494 \newhelp\noepsfhelp{epsf.tex must be installed for images to
6496 it from ftp://tug.org/tex/epsf.tex.}
6502 \errmessage{epsf.tex not found, images will be ignored}%
6820 \tex % read txi-??.tex file in plain TeX.
6822 \openin 1 txi-#1.tex
6825 \errmessage{Cannot read language file txi-#1.tex}%
6827 \input txi-#1.tex
6837 % @documentencoding should change something in TeX eventually, most
6860 % Use TeX 3.0's \emergencystretch to help line breaking, but if we're
6861 % using an old version of TeX, don't do anything. We want the amount of
6969 % @tex
6972 % @end tex