Lines Matching +refs:texinfo +refs:tex +refs:print

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
29 % Please try the latest version of texinfo.tex before submitting bug
31 % http://www.gnu.org/software/texinfo/ (the Texinfo home page), or
32 % ftp://tug.org/tex/texinfo.tex
34 % The texinfo.tex in any given distribution could well be out
37 % Send bug reports to bug-texinfo@gnu.org. Please include including a
44 % tex foo.texi
46 % tex foo.texi
47 % tex foo.texi
53 % It is possible to adapt texinfo.tex for other languages, to some
57 % The GNU Texinfo home page is http://www.gnu.org/software/texinfo.
60 \message{Loading texinfo [version \texinfoversion]:}
62 % If in a .fmt file, print the version number
71 % For @tex, we can use \tabalign.
74 % Save some plain tex macros whose names we will redefine.
516 % Define the framework for environments in texinfo.tex. It's used like this:
644 % percent of a page (\vfilllimit can be changed inside of @tex).
854 \wlog{texinfo.tex: doing @include of #1^^J}%
1040 % @setfilename is done at the beginning of every texinfo file.
1042 % This makes it possible to make a .fmt file for texinfo.
1044 \fixbackslash % Turn off hack to swallow `\input texinfo'.
1053 % If texinfo.cnf is present on the system, read it.
1055 \openin 1 texinfo.cnf
1056 \ifeof 1 \else \input texinfo.cnf \fi
1137 % Color manipulation macros based on pdfcolor.tex,
1139 % very dark gray on-screen and a very dark halftone in print, instead
1250 % by default, use a color that is dark enough to print on paper as
1779 % before you read in texinfo.tex.
2073 % Set \globaldefs so that documents can use this inside @tex, since
2089 % texinfo doesn't allow for producing subscripts and superscripts except
2230 \newif\ifmarkuptex % @tex (and part of @math, for now).
2767 % We print this one point size smaller, since it's intended for
2811 % FYI, plain.tex uses \\ as a temporary control sequence (for no
2818 \tex
2822 % make the texinfo accent commands work in math mode
2834 \def\finishmath#1{#1$\endgroup} % Close the group opened by \tex.
2856 % Ignore unless FMTNAME == tex; then it is like @iftex and @tex,
2859 \def\outfmtnametex{tex}
2866 % For raw, must switch into @tex before parsing the argument, to avoid
2874 \long\def\inlineraw{\tex \doinlineraw}
2879 \endgroup % close group opened by \tex.
3004 % @point{}, @result{}, @expansion{}, @print{}, @equiv{}.
3013 \def\print{\leavevmode\lower.1ex\hbox to 1em{\hfil$\dashv$\hfil}}
3047 % It is available from http://www.ctan.org/tex-archive/fonts/eurosym.
3157 % Adapted from the plain.tex definition of \copyright.
3211 % No rule at page bottom unless we print one at the top with @title.
3271 % print a rule at the page bottom also.
3446 % Only define if not already defined, in case a txi-??.tex file has set
3447 % up a different format (e.g., txi-cs.tex does this).
3990 % See bug-texinfo report from Werner Lemberg, 31 Oct 2004 12:52:20 +0100.
4067 { \catcode`_=11 % We want to use \_STOP_ which cannot appear in texinfo source.
4229 % Define \newwrite to be identical to plain tex's \newwrite
4323 % complicated, when \tex is in effect and \{ is a \delimiter again.
4340 % Sample source (mac-idx3.tex, reported by Graham Percival to
4341 % help-texinfo, 22may06):
4459 \definedummyword\print
4563 % Likewise with the other plain tex font commands.
4622 \def\print{-|}%
4695 % so it will be output as is; and it will print as backslash.
4824 % It does not print any chapter heading (usually an @unnumbered).
4992 % Like plain.tex's \dotfill, except uses up at least 1 em.
5015 % the manmac.tex format used to print the TeXbook itself.
5031 % runs and this will be a no-op. See the indexspread.tex test case.
5326 % Now print the heading:
5684 % number, and don't print the unnumbered ``number''.
5953 % These characters do not print properly in the Computer Modern roman
6190 % @tex ... @end tex escapes into raw TeX temporarily.
6191 % One exception: @ is still an escape character, so that @end tex works.
6194 \envdef\tex{%
6195 \setupmarkupstyle{tex}%
6482 % justification. From plain.tex.
6587 % print special symbols as themselves, and
6632 % print special symbols as themselves, and
6660 % because texinfo's \verbatim doesn't stop at '\end{verbatim}':
6691 \wlog{texinfo.tex: doing @verbatiminclude of #1^^J}%
7032 % We want ()&[] to print specially on the defun line.
7064 % At the first level, print parens in roman,
7212 % (as in normal texinfo). It is necessary to change the definition of \
7893 % If the user specified the print name (third arg) to the ref,
7894 % print it instead of our usual "Figure 1.2".
7909 % If we use \unhbox to print the node names, TeX does not insert
8205 % Don't bother with the trickery in plain.tex to not require the
8312 % @image. We use the macros from epsf.tex to support this.
8313 % If epsf.tex is not installed and @image is used, we complain.
8315 % Check for and read epsf.tex up front. If we read it only at @image
8318 \openin 1 = epsf.tex
8320 % Do not bother showing banner with epsf.tex v2.7k (available in
8321 % doc/epsf.tex and on ctan).
8323 \input epsf.tex
8327 % We will only complain once about lack of epsf.tex.
8329 \newhelp\noepsfhelp{epsf.tex must be installed for images to
8331 it from ftp://tug.org/tex/epsf.tex.}
8337 \errmessage{epsf.tex not found, images will be ignored}%
8518 % If we have anything to print, print it, with space before.
8616 % @listoffloats FLOATTYPE - print a list of floats like a table of contents.
8676 \tex % read txi-??.tex file in plain TeX.
8678 \openin 1 txi-#1.tex
8683 \input txi-#1.tex
8689 % If they passed de_DE, and txi-de_DE.tex doesn't exist,
8690 % try txi-de.tex.
8693 \openin 1 txi-#1.tex
8696 \errmessage{Cannot read language file txi-#1.tex}%
8699 \input txi-#1.tex
8709 % This macro is called from txi-??.tex files; the first argument is the
9685 % Use @afourpaper to print on European A4 paper.
9695 % your texinfo source file like this:
9696 % @tex
9699 % @end tex
9711 % Use @afivepaper to print on European A5 paper.
9743 % Use @afourwide to print on A4 paper in landscape format.
9782 \message{and turning on texinfo input format.}
9800 % This macro is used to make a character print one way in \tt
9804 % #1 is what to print if we are indeed using \tt; #2 is what to print
9819 % Most of these we simply print from the \tt font, but for some, we can
9874 % In texinfo, backslash is an active character; it prints the backslash
9880 % in math mode uses the \mathcode, and plain.tex sets
9882 % print a typewriter backslash, hence we use an explicit \mathchar,
9920 % If a .fmt file is being used, we don't want the `\input texinfo' to show up.
9924 @gdef@eatinput input texinfo{@fixbackslash}
9927 % On the other hand, perhaps the file did not have a `\input texinfo'. Then