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
25 % As a special exception, when this file is read by TeX when processing
29 % Please try the latest version of texinfo.tex before submitting bug
32 % ftp://tug.org/tex/texinfo.tex
34 % The texinfo.tex in any given distribution could well be out
41 % To process a Texinfo manual with TeX, it's most reliable to use the
44 % tex foo.texi
46 % tex foo.texi
47 % tex foo.texi
49 % The extra TeX runs get the cross-reference information correct.
53 % It is possible to adapt texinfo.tex for other languages, to some
72 % For @tex, we can use \tabalign.
75 % Save some plain tex macros whose names we will redefine.
102 \global\let\ptexquoteright'}% Math-mode def from plain.tex.
109 % Use TeX 3.0's \inputlineno to get the line number, for better error
110 % messages, but if we're using an old version of TeX, don't do anything.
444 % macro which expects an ordinary undelimited TeX argument.
506 % favourite TeX trick. --kasal, 16nov03
537 % Define the framework for environments in texinfo.tex. It's used like this:
636 % Others are defined by plain TeX: @` @' @" @^ @~ @= @u @v @H.
645 % Plain TeX defines: @AA @AE @O @OE @L (plus lowercase versions) @ss.
662 % The \TeX{} logo, as in plain, but resetting the spacing so that a
665 \edef\TeX{\TeX \spacefactor=1000 }
678 \TeX
727 % beginning of a paragraph, when TeX is still in vertical mode, would
732 % it in a TeX vbox. We use \vtop instead of \vbox to construct the box
744 % percent of a page (\vfilllimit can be changed inside of @tex).
766 % The \vtop produces a box with normal height and large depth; thus, TeX puts
792 % TeX puts in an \escapechar (i.e., `@') at the beginning of the help
806 %% This method tries to make TeX break the page naturally
829 % TeX does not even consider page breaks if a penalty added to the
835 % There is an extremely small chance that TeX will actually break the
838 % almost-but-not-quite fill up a page, TeX will have a hard time doing
1116 % FYI, plain.tex uses \\ as a temporary control sequence (why?), but
1124 \tex
1140 \def\finishmath#1{#1$\endgroup} % Close the group opened by \tex.
1218 % Open the new aux file. TeX will close it automatically at exit.
1283 % (and related messages, the final outcome is that it is up to the TeX
1330 be supported due to the design of the PDF format; use regular TeX (DVI
1335 % Color manipulation macros based on pdfcolor.tex.
1650 % Texinfo sort of supports the sans serif font style, which plain TeX does not.
1701 %%BeginResource: CMap (TeX-OT1-0)
1702 %%Title: (TeX-OT1-0 TeX OT1 0)
1709 << /Registry (TeX)
1713 /CMapName /TeX-OT1-0 def
1787 %%BeginResource: CMap (TeX-OT1IT-0)
1788 %%Title: (TeX-OT1IT-0 TeX OT1IT 0)
1795 << /Registry (TeX)
1799 /CMapName /TeX-OT1IT-0 def
1875 %%BeginResource: CMap (TeX-OT1TT-0)
1876 %%Title: (TeX-OT1TT-0 TeX OT1TT 0)
1883 << /Registry (TeX)
1887 /CMapName /TeX-OT1TT-0 def
1961 % before you read in texinfo.tex.
2256 % Set \globaldefs so that documents can use this inside @tex, since
2413 \newif\ifmarkuptex % @tex (and part of @math, for now).
2506 %% serif) and @ii for TeX italic
2628 % Unfortunately, TeX uses one parameter (\hyphenchar) to control
2865 % It is available from http://www.ctan.org/tex-archive/fonts/eurosym.
2975 % Adapted from the plain.tex definition of \copyright.
3122 % Now make TeX use those variables
3259 % Only define if not already defined, in case a txi-??.tex file has set
3260 % up a different format (e.g., txi-cs.tex does this).
3495 % We need the \relax at the end of the \ifnum lines to stop TeX from
3780 % blank line, when TeX decides to break the line at the space before the
4032 % which this file should belong to. Ignore this in TeX.
4042 % Define \newwrite to be identical to plain tex's \newwrite
4134 % Need these in case \tex is in effect and \{ is a \delimiter again.
4150 % Sample source (mac-idx3.tex, reported by Graham Percival to
4243 \definedummyword\TeX
4362 % Likewise with the other plain tex font commands.
4392 \def\TeX{TeX}%
4430 % to take a single TeX argument. The case of a macro invocation that
4622 % as its first line, TeX doesn't complain about mismatched braces
4635 % false. We have to make TeX try to read something from the file, so
4757 % The `\ ' here is removed by the implicit \unskip that TeX does as
4771 % Like plain.tex's \dotfill, except uses up at least 1 em.
4794 % the manmac.tex format used to print the TeXbook itself.
4810 % runs and this will be a no-op. See the indexspread.tex test case.
4898 % the output routine finishes, TeX starts reconsidering the page
4901 % goal. When TeX sees \eject from below which follows the final
5182 % This used to be simply \message{#1}, but TeX fully expands the
5183 % argument to \message. Therefore, if #1 contained @-commands, TeX
5184 % expanded them. For example, in `@unnumbered The @cite{Book}', TeX
5190 % \the<toks register> to achieve this: TeX expands \the<toks> only once,
5928 % @tex ... @end tex escapes into raw Tex temporarily.
5929 % One exception: @ is still an escape character, so that @end tex works.
5930 % But \@ or @@ will get a plain tex @ character.
5932 \envdef\tex{%
5933 \setupmarkupstyle{tex}%
6209 % justification. From plain.tex.
6649 % (plain.tex says that \dimen1 should be used only as global.)
6714 % so TeX would otherwise complain about undefined control sequence.
6791 % To do this right we need a feature of e-TeX, \scantokens,
6792 % which we arrange to emulate with a temporary file in ordinary TeX.
6817 % Append \endinput to make sure that TeX does not see the ending newline.
6818 % I've verified that it is necessary both for e-TeX and for ordinary TeX
7122 % @node's only job in TeX is to define \lastnode, which is used in
7227 % etc. don't get their TeX definitions.
7273 % If we use \unhbox0 and \unhbox1 to print the node names, TeX does not
7278 % is as if TeX is seeing it for the first time.
7360 \message{Cross reference values unknown; you must run TeX again.}%
7543 % Don't bother with the trickery in plain.tex to not require the
7581 % provide a place where TeX can split the footnote.
7648 % @image. We use the macros from epsf.tex to support this.
7649 % If epsf.tex is not installed and @image is used, we complain.
7651 % Check for and read epsf.tex up front. If we read it only at @image
7654 \openin 1 = epsf.tex
7656 % Do not bother showing banner with epsf.tex v2.7k (available in
7657 % doc/epsf.tex and on ctan).
7659 \input epsf.tex
7663 % We will only complain once about lack of epsf.tex.
7665 \newhelp\noepsfhelp{epsf.tex must be installed for images to
7667 it from ftp://tug.org/tex/epsf.tex.}
7673 \errmessage{epsf.tex not found, images will be ignored}%
7998 \tex % read txi-??.tex file in plain TeX.
8000 \openin 1 txi-#1.tex
8005 \input txi-#1.tex
8008 \endgroup % end raw TeX
8011 % If they passed de_DE, and txi-de_DE.tex doesn't exist,
8012 % try txi-de.tex.
8015 \openin 1 txi-#1.tex
8018 \errmessage{Cannot read language file txi-#1.tex}%
8021 \input txi-#1.tex
8031 % This macro is called from txi-??.tex files; the first argument is the
8039 % With TeX Live 2008, etex now includes hyphenation patterns for all
8046 % do not set the language if the name is undefined in the current TeX.
8129 % correctly categorized when TeX reads the replacement text of
8905 % Use TeX 3.0's \emergencystretch to help line breaking, but if we're
8906 % using an old version of TeX, don't do anything. We want the amount of
9018 % @tex
9021 % @end tex