3 |
% Load plain if necessary, i.e., if running under initex. |
% Load plain if necessary, i.e., if running under initex. |
4 |
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi |
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi |
5 |
% |
% |
6 |
\def\texinfoversion{2001-07-25.07} |
\def\texinfoversion{2002-01-04.07} |
7 |
% |
% |
8 |
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, |
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, |
9 |
% 2000, 01 Free Software Foundation, Inc. |
% 2000, 01 Free Software Foundation, Inc. |
30 |
% Please try the latest version of texinfo.tex before submitting bug |
% Please try the latest version of texinfo.tex before submitting bug |
31 |
% reports; you can get the latest version from: |
% reports; you can get the latest version from: |
32 |
% ftp://ftp.gnu.org/gnu/texinfo.tex |
% ftp://ftp.gnu.org/gnu/texinfo.tex |
33 |
% (and all GNU mirrors, see http://www.gnu.org/order/ftp.html) |
% (and all GNU mirrors, see http://www.gnu.org/order/ftp.html) |
34 |
% ftp://texinfo.org/tex/texinfo.tex |
% ftp://texinfo.org/texinfo/texinfo.tex |
35 |
% ftp://us.ctan.org/macros/texinfo/texinfo.tex |
% ftp://tug.org/tex/texinfo.tex |
36 |
% (and all CTAN mirrors, finger ctan@us.ctan.org for a list). |
% (and all CTAN mirrors, see http://www.ctan.org), |
37 |
% /home/gd/gnu/doc/texinfo.tex on the GNU machines. |
% and /home/gd/gnu/doc/texinfo.tex on the GNU machines. |
38 |
|
% |
39 |
% The texinfo.tex in any given Texinfo distribution could well be out |
% The texinfo.tex in any given Texinfo distribution could well be out |
40 |
% of date, so if that's what you're using, please check. |
% of date, so if that's what you're using, please check. |
41 |
% Texinfo has a small home page at http://texinfo.org/. |
% |
42 |
|
% Texinfo has a small home page at http://texinfo.org/ and also |
43 |
|
% http://www.gnu.org/software/texinfo. |
44 |
% |
% |
45 |
% Send bug reports to bug-texinfo@gnu.org. Please include including a |
% Send bug reports to bug-texinfo@gnu.org. Please include including a |
46 |
% complete document in each bug report with which we can reproduce the |
% complete document in each bug report with which we can reproduce the |
930 |
\def\dopdfimage#1#2#3{% |
\def\dopdfimage#1#2#3{% |
931 |
\def\imagewidth{#2}% |
\def\imagewidth{#2}% |
932 |
\def\imageheight{#3}% |
\def\imageheight{#3}% |
933 |
|
% without \immediate, pdftex seg faults when the same image is |
934 |
|
% included twice. (Version 3.14159-pre-1.0-unofficial-20010704.) |
935 |
\ifnum\pdftexversion < 14 |
\ifnum\pdftexversion < 14 |
936 |
\pdfimage |
\immediate\pdfimage |
937 |
\else |
\else |
938 |
\pdfximage |
\immediate\pdfximage |
939 |
\fi |
\fi |
940 |
\ifx\empty\imagewidth\else width \imagewidth \fi |
\ifx\empty\imagewidth\else width \imagewidth \fi |
941 |
\ifx\empty\imageheight\else height \imageheight \fi |
\ifx\empty\imageheight\else height \imageheight \fi |
948 |
\pdfrefximage \pdflastximage |
\pdfrefximage \pdflastximage |
949 |
\fi} |
\fi} |
950 |
\def\pdfmkdest#1{{\normalturnoffactive \pdfdest name{#1} xyz}} |
\def\pdfmkdest#1{{\normalturnoffactive \pdfdest name{#1} xyz}} |
951 |
\def\pdfmkpgn#1{#1@} |
\def\pdfmkpgn#1{#1} |
952 |
\let\linkcolor = \Blue % was Cyan, but that seems light? |
\let\linkcolor = \Blue % was Cyan, but that seems light? |
953 |
\def\endlink{\Black\pdfendlink} |
\def\endlink{\Black\pdfendlink} |
954 |
% Adding outlines to PDF; macros for calculating structure of outlines |
% Adding outlines to PDF; macros for calculating structure of outlines |
5804 |
% |
% |
5805 |
\smallfonts \rm |
\smallfonts \rm |
5806 |
% |
% |
5807 |
% Hang the footnote text off the number. |
% Because we use hanging indentation in footnotes, a @noindent appears |
5808 |
\hang |
% to exdent this text, so make it be a no-op. makeinfo does not use |
5809 |
|
% hanging indentation so @noindent can still be needed within footnote |
5810 |
|
% text after an @example or the like (not that this is good style). |
5811 |
|
\let\noindent = \relax |
5812 |
|
% |
5813 |
|
% Hang the footnote text off the number. Use \everypar in case the |
5814 |
|
% footnote extends for more than one paragraph. |
5815 |
|
\everypar = {\hang}% |
5816 |
\textindent{\thisfootno}% |
\textindent{\thisfootno}% |
5817 |
% |
% |
5818 |
% Don't crash into the line above the footnote text. Since this |
% Don't crash into the line above the footnote text. Since this |
5893 |
\global\warnednoepsftrue |
\global\warnednoepsftrue |
5894 |
\fi |
\fi |
5895 |
\else |
\else |
5896 |
\imagexxx #1,,,\finish |
\imagexxx #1,,,,,\finish |
5897 |
\fi |
\fi |
5898 |
} |
} |
5899 |
% |
% |
5903 |
% #4 is (ignored optional) html alt text. |
% #4 is (ignored optional) html alt text. |
5904 |
% #5 is (ignored optional) extension. |
% #5 is (ignored optional) extension. |
5905 |
% #6 is just the usual extra ignored arg for parsing this stuff. |
% #6 is just the usual extra ignored arg for parsing this stuff. |
5906 |
\def\imagexxx#1,#2,#3,#4,#5,#6\finish{% |
\newif\ifimagevmode |
5907 |
|
\def\imagexxx#1,#2,#3,#4,#5,#6\finish{\begingroup \loggingall |
5908 |
|
\catcode`\^^M = 5 % in case we're inside an example |
5909 |
|
\normalturnoffactive % allow _ et al. in names |
5910 |
|
% If the image is by itself, center it. |
5911 |
|
\ifvmode |
5912 |
|
\imagevmodetrue |
5913 |
|
\nobreak\bigskip |
5914 |
|
% Usually we'll have text after the image which will insert |
5915 |
|
% \parskip glue, so insert it here too to equalize the space |
5916 |
|
% above and below. |
5917 |
|
\nobreak\vskip\parskip |
5918 |
|
\nobreak |
5919 |
|
\line\bgroup\hss |
5920 |
|
\fi |
5921 |
|
% |
5922 |
|
% Output the image. |
5923 |
\ifpdf |
\ifpdf |
5924 |
\centerline{\dopdfimage{#1}{#2}{#3}}% |
\dopdfimage{#1}{#2}{#3}% |
5925 |
\else |
\else |
5926 |
% \epsfbox itself resets \epsf?size at each figure. |
% \epsfbox itself resets \epsf?size at each figure. |
5927 |
\setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi |
\setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi |
5928 |
\setbox0 = \hbox{\ignorespaces #3}\ifdim\wd0 > 0pt \epsfysize=#3\relax \fi |
\setbox0 = \hbox{\ignorespaces #3}\ifdim\wd0 > 0pt \epsfysize=#3\relax \fi |
5929 |
\begingroup |
\epsfbox{#1.eps}% |
|
\catcode`\^^M = 5 % in case we're inside an example |
|
|
\normalturnoffactive % allow _ et al. in names |
|
|
% If the image is by itself, center it. |
|
|
\ifvmode |
|
|
\nobreak\bigskip |
|
|
% Usually we'll have text after the image which will insert |
|
|
% \parskip glue, so insert it here too to equalize the space |
|
|
% above and below. |
|
|
\nobreak\vskip\parskip |
|
|
\nobreak |
|
|
\centerline{\epsfbox{#1.eps}}% |
|
|
\bigbreak |
|
|
\else |
|
|
% In the middle of a paragraph, no extra space. |
|
|
\epsfbox{#1.eps}% |
|
|
\fi |
|
|
\endgroup |
|
5930 |
\fi |
\fi |
5931 |
} |
% |
5932 |
|
\ifimagevmode \hss \egroup \bigbreak \fi % space after the image |
5933 |
|
\endgroup} |
5934 |
|
|
5935 |
|
|
5936 |
\message{localization,} |
\message{localization,} |
6100 |
% |
% |
6101 |
\afourpaper |
\afourpaper |
6102 |
\internalpagesizes{237mm}{150mm}{3.6mm}{3.6mm}{3mm}{7mm}% |
\internalpagesizes{237mm}{150mm}{3.6mm}{3.6mm}{3mm}{7mm}% |
6103 |
|
% |
6104 |
|
% Must explicitly reset to 0 because we call \afourpaper, apparently, |
6105 |
|
% although this does not entirely make sense. |
6106 |
|
\globaldefs = 0 |
6107 |
}} |
}} |
6108 |
|
|
6109 |
% Use @afourwide to print on European A4 paper in wide format. |
% Use @afourwide to print on European A4 paper in wide format. |