Home | History | Annotate | Download | only in doc

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
30 % Please try the latest version of texinfo.tex before submitting bug
35 % The texinfo.tex in any given distribution could well be out
42 % To process a Texinfo manual with TeX, it's most reliable to use the
45 % tex foo.texi
47 % tex foo.texi
48 % tex foo.texi
50 % The extra TeX runs get the cross-reference information correct.
54 % 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.
108 % Use TeX 3.0's \inputlineno to get the line number, for better error
109 % messages, but if we're using an old version of TeX, don't do anything.
424 % macro which expects an ordinary undelimited TeX argument.
486 % favourite TeX trick. --kasal, 16nov03
517 % Define the framework for environments in texinfo.tex. It's used like this:
628 % beginning of a paragraph, when TeX is still in vertical mode, would
633 % it in a TeX vbox. We use \vtop instead of \vbox to construct the box
645 % percent of a page (\vfilllimit can be changed inside of @tex).
667 % The \vtop produces a box with normal height and large depth; thus, TeX puts
693 % TeX puts in an \escapechar (i.e., `@') at the beginning of the help
721 % TeX does not even consider page breaks if a penalty added to the
727 % There is an extremely small chance that TeX will actually break the
730 % almost-but-not-quite fill up a page, TeX will have a hard time doing
855 \wlog{texinfo.tex: doing @include of #1^^J}%
1048 % Open the new aux file. TeX will close it automatically at exit.
1113 % related messages. The final outcome is that it is up to the TeX user
1133 be supported due to the design of the PDF format; use regular TeX (DVI
1138 % Color manipulation macros based on pdfcolor.tex,
1468 % Texinfo sort of supports the sans serif font style, which plain TeX does not.
1517 %%BeginResource: CMap (TeX-OT1-0)
1518 %%Title: (TeX-OT1-0 TeX OT1 0)
1525 << /Registry (TeX)
1529 /CMapName /TeX-OT1-0 def
1603 %%BeginResource: CMap (TeX-OT1IT-0)
1604 %%Title: (TeX-OT1IT-0 TeX OT1IT 0)
1611 << /Registry (TeX)
1615 /CMapName /TeX-OT1IT-0 def
1691 %%BeginResource: CMap (TeX-OT1TT-0)
1692 %%Title: (TeX-OT1TT-0 TeX OT1TT 0)
1699 << /Registry (TeX)
1703 /CMapName /TeX-OT1TT-0 def
1783 % before you read in texinfo.tex.
2076 % Set \globaldefs so that documents can use this inside @tex, since
2233 \newif\ifmarkuptex % @tex (and part of @math, for now).
2481 % Unfortunately, TeX uses one parameter (\hyphenchar) to control
2813 % FYI, plain.tex uses \\ as a temporary control sequence (for no
2820 \tex
2836 \def\finishmath#1{#1$\endgroup} % Close the group opened by \tex.
2861 % Ignore unless FMTNAME == tex; then it is like @iftex and @tex,
2864 \def\outfmtnametex{tex}
2871 % For raw, must switch into @tex before parsing the argument, to avoid
2879 \long\def\inlineraw{\tex \doinlineraw}
2884 \endgroup % close group opened by \tex.
2918 % Others are defined by plain TeX: @` @' @" @^ @~ @= @u @v @H.
2927 % Plain TeX defines: @AA @AE @O @OE @L (plus lowercase versions) @ss.
2944 % The \TeX{} logo, as in plain, but resetting the spacing so that a
2947 \edef\TeX{\TeX \spacefactor=1000 }
2971 \TeX
3052 % It is available from http://www.ctan.org/tex-archive/fonts/eurosym.
3167 % Adapted from the plain.tex definition of \copyright.
3329 % Now make TeX use those variables
3470 % Only define if not already defined, in case a txi-??.tex file has set
3471 % up a different format (e.g., txi-cs.tex does this).
3706 % We need the \relax at the end of the \ifnum lines to stop TeX from
3991 % blank line, when TeX decides to break the line at the space before the
4244 % TeX level, so something like `mathcode' is going to considered
4272 % which this file should belong to. Ignore this in TeX.
4282 % Define \newwrite to be identical to plain tex's \newwrite
4376 % complicated, when \tex is in effect and \{ is a \delimiter again.
4393 % Sample source (mac-idx3.tex, reported by Graham Percival to
4487 \definedummyword\TeX
4621 % Likewise with the other plain tex font commands.
4660 \def\TeX{TeX}%
4704 % to take a single TeX argument. The case of a macro invocation that
4898 % as its first line, TeX doesn't complain about mismatched braces
4911 % false. We have to make TeX try to read something from the file, so
5039 % The `\ ' here is removed by the implicit \unskip that TeX does as
5053 % Like plain.tex's \dotfill, except uses up at least 1 em.
5076 % the manmac.tex format used to print the TeXbook itself.
5092 % runs and this will be a no-op. See the indexspread.tex test case.
5180 % the output routine finishes, TeX starts reconsidering the page
5183 % goal. When TeX sees \eject from below which follows the final
5480 % This used to be simply \message{#1}, but TeX fully expands the
5481 % argument to \message. Therefore, if #1 contained @-commands, TeX
5482 % expanded them. For example, in `@unnumbered The @cite{Book}', TeX
5488 % \the<toks register> to achieve this: TeX expands \the<toks> only once,
6240 % @tex ... @end tex escapes into raw TeX temporarily.
6241 % One exception: @ is still an escape character, so that @end tex works.
6244 \envdef\tex{%
6245 \setupmarkupstyle{tex}%
6532 % justification. From plain.tex.
6760 \wlog{texinfo.tex: doing @verbatiminclude of #1^^J}%
7117 % so TeX would otherwise complain about undefined control sequence.
7194 % To do this right we need a feature of e-TeX, \scantokens,
7195 % which we arrange to emulate with a temporary file in ordinary TeX.
7224 % cases (untried: maybe e-TeX's \everyeof could help, though plain TeX
7430 % defined `a la TeX in the macro body.
7450 % If you compile with TeX (not eTeX), and you have macros with 10 or more
7799 % @node's only job in TeX is to define \lastnode, which is used in
7942 % etc. don't get their TeX definitions. This ignores all spaces in
7994 % If we use \unhbox to print the node names, TeX does not insert
7999 % again, so it is as if TeX is seeing it for the first time.
8046 % But, this being TeX, we can't easily compare our node name against the
8121 \message{Cross reference values unknown; you must run TeX again.}%
8304 % Don't bother with the trickery in plain.tex to not require the
8342 % provide a place where TeX can split the footnote.
8345 % Invoke rest of plain TeX footnote routine.
8411 % @image. We use the macros from epsf.tex to support this.
8412 % If epsf.tex is not installed and @image is used, we complain.
8414 % Check for and read epsf.tex up front. If we read it only at @image
8417 \openin 1 = epsf.tex
8419 % Do not bother showing banner with epsf.tex v2.7k (available in
8420 % doc/epsf.tex and on ctan).
8422 \input epsf.tex
8426 % We will only complain once about lack of epsf.tex.
8428 \newhelp\noepsfhelp{epsf.tex must be installed for images to
8430 it from ftp://tug.org/tex/epsf.tex.}
8436 \errmessage{epsf.tex not found, images will be ignored}%
8775 \tex % read txi-??.tex file in plain TeX.
8777 \openin 1 txi-#1.tex
8782 \input txi-#1.tex
8785 \endgroup % end raw TeX
8788 % If they passed de_DE, and txi-de_DE.tex doesn't exist,
8789 % try txi-de.tex.
8792 \openin 1 txi-#1.tex
8795 \errmessage{Cannot read language file txi-#1.tex}%
8798 \input txi-#1.tex
8808 % This macro is called from txi-??.tex files; the first argument is the
8816 % With TeX Live 2008, etex now includes hyphenation patterns for all
8823 % do not set the language if the name is undefined in the current TeX.
8906 % correctly categorized when TeX reads the replacement text of
9682 % Use TeX 3.0's \emergencystretch to help line breaking, but if we're
9683 % using an old version of TeX, don't do anything. We want the amount of
9795 % @tex
9798 % @end tex
9979 % in math mode uses the \mathcode, and plain.tex sets