aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/misc/texinfo.tex56
1 files changed, 34 insertions, 22 deletions
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex
index 37e2de896ec..314063cafe1 100644
--- a/doc/misc/texinfo.tex
+++ b/doc/misc/texinfo.tex
@@ -3,7 +3,7 @@
3% Load plain if necessary, i.e., if running under initex. 3% Load plain if necessary, i.e., if running under initex.
4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi 4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
5% 5%
6\def\texinfoversion{2016-04-14.07} 6\def\texinfoversion{2016-05-07.20}
7% 7%
8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -67,6 +67,10 @@
67\everyjob{\message{[Texinfo version \texinfoversion]}% 67\everyjob{\message{[Texinfo version \texinfoversion]}%
68 \catcode`+=\active \catcode`\_=\active} 68 \catcode`+=\active \catcode`\_=\active}
69 69
70% LaTeX's \typeout. This ensures that the messages it is used for
71% are identical in format to the corresponding ones from latex/pdflatex.
72\def\typeout{\immediate\write17}%
73
70\chardef\other=12 74\chardef\other=12
71 75
72% We never want plain's \outer definition of \+ in Texinfo. 76% We never want plain's \outer definition of \+ in Texinfo.
@@ -1534,7 +1538,6 @@ output) for that.)}
1534 % 1538 %
1535 % PDF outline support 1539 % PDF outline support
1536 % 1540 %
1537 \pdfmakepagedesttrue \relax
1538 % Emulate the primitive of pdfTeX 1541 % Emulate the primitive of pdfTeX
1539 \def\pdfdest name#1 xyz{% 1542 \def\pdfdest name#1 xyz{%
1540 \special{pdf:dest (name#1) [@thispage /XYZ @xpos @ypos]}% 1543 \special{pdf:dest (name#1) [@thispage /XYZ @xpos @ypos]}%
@@ -3270,8 +3273,8 @@ end
3270% @{ @} @lbracechar{} @rbracechar{} all generate brace characters. 3273% @{ @} @lbracechar{} @rbracechar{} all generate brace characters.
3271% Unless we're in typewriter, use \ecfont because the CM text fonts do 3274% Unless we're in typewriter, use \ecfont because the CM text fonts do
3272% not have braces, and we don't want to switch into math. 3275% not have braces, and we don't want to switch into math.
3273\def\mylbrace{{\ifmonospace\else\ecfont\fi \char123}} 3276\def\mylbrace{{\ifmonospace\char123\else\ensuremath\lbrace\fi}}
3274\def\myrbrace{{\ifmonospace\else\ecfont\fi \char125}} 3277\def\myrbrace{{\ifmonospace\char125\else\ensuremath\rbrace\fi}}
3275\let\{=\mylbrace \let\lbracechar=\{ 3278\let\{=\mylbrace \let\lbracechar=\{
3276\let\}=\myrbrace \let\rbracechar=\} 3279\let\}=\myrbrace \let\rbracechar=\}
3277\begingroup 3280\begingroup
@@ -4753,7 +4756,7 @@ end
4753\def\docodeindex#1{\edef\indexname{#1}\parsearg\docodeindexxxx} 4756\def\docodeindex#1{\edef\indexname{#1}\parsearg\docodeindexxxx}
4754\def\docodeindexxxx #1{\doind{\indexname}{\code{#1}}} 4757\def\docodeindexxxx #1{\doind{\indexname}{\code{#1}}}
4755 4758
4756% Used when writing an index entry out to an index file, to prevent 4759% Used when writing an index entry out to an index file to prevent
4757% expansion of Texinfo commands that can appear in an index entry. 4760% expansion of Texinfo commands that can appear in an index entry.
4758% 4761%
4759\def\indexdummies{% 4762\def\indexdummies{%
@@ -4889,12 +4892,9 @@ end
4889 % 4892 %
4890 % We want to disable all macros so that they are not expanded by \write. 4893 % We want to disable all macros so that they are not expanded by \write.
4891 \macrolist 4894 \macrolist
4895 \definedummyword\value
4892 % 4896 %
4893 \normalturnoffactive 4897 \normalturnoffactive
4894 %
4895 % Handle some cases of @value -- where it does not contain any
4896 % (non-fully-expandable) commands.
4897 \makevalueexpandable
4898} 4898}
4899 4899
4900% \commondummiesnofonts: common to \commondummies and \indexnofonts. 4900% \commondummiesnofonts: common to \commondummies and \indexnofonts.
@@ -5159,9 +5159,10 @@ end
5159 \ifx\suffix\indexisfl\def\suffix{f1}\fi 5159 \ifx\suffix\indexisfl\def\suffix{f1}\fi
5160 % Open the file 5160 % Open the file
5161 \immediate\openout\csname#1indfile\endcsname \jobname.\suffix 5161 \immediate\openout\csname#1indfile\endcsname \jobname.\suffix
5162 % Using \immediate here prevents an object entering into the current box, 5162 % Using \immediate above here prevents an object entering into the current
5163 % which could confound checks such as those in \safewhatsit for preceding 5163 % box, which could confound checks such as those in \safewhatsit for
5164 % skips. 5164 % preceding skips.
5165 \typeout{Writing index file \jobname.\suffix}%
5165\fi} 5166\fi}
5166\def\indexisfl{fl} 5167\def\indexisfl{fl}
5167 5168
@@ -5369,6 +5370,7 @@ end
5369 % index. The easiest way to prevent this problem is to make sure 5370 % index. The easiest way to prevent this problem is to make sure
5370 % there is some text. 5371 % there is some text.
5371 \putwordIndexNonexistent 5372 \putwordIndexNonexistent
5373 \typeout{No file \jobname.\indexname s.}%
5372 \else 5374 \else
5373 \catcode`\\ = 0 5375 \catcode`\\ = 0
5374 % 5376 %
@@ -6682,7 +6684,14 @@ end
6682 % 1 and 2 (the page numbers aren't printed), and so are the first 6684 % 1 and 2 (the page numbers aren't printed), and so are the first
6683 % two pages of the document. Thus, we'd have two destinations named 6685 % two pages of the document. Thus, we'd have two destinations named
6684 % `1', and two named `2'. 6686 % `1', and two named `2'.
6685 \ifpdf \global\pdfmakepagedesttrue \fi 6687 \ifpdf
6688 \global\pdfmakepagedesttrue
6689 \else
6690 \ifx\XeTeXrevision\thisisundefined
6691 \else
6692 \global\pdfmakepagedesttrue
6693 \fi
6694 \fi
6686} 6695}
6687 6696
6688 6697
@@ -8862,6 +8871,7 @@ end
8862 % include an _ in the xref name, etc. 8871 % include an _ in the xref name, etc.
8863 \indexnofonts 8872 \indexnofonts
8864 \turnoffactive 8873 \turnoffactive
8874 \def\value##1{##1}%
8865 \expandafter\global\expandafter\let\expandafter\Xthisreftitle 8875 \expandafter\global\expandafter\let\expandafter\Xthisreftitle
8866 \csname XR#1-title\endcsname 8876 \csname XR#1-title\endcsname
8867 }% 8877 }%
@@ -9002,14 +9012,14 @@ end
9002 \fi\fi\fi 9012 \fi\fi\fi
9003} 9013}
9004 9014
9005% Define \refx{NAME}{SUFFIX} to reference a cross-reference string named NAME. 9015% \refx{NAME}{SUFFIX} - reference a cross-reference string named NAME. SUFFIX
9006% If its value is nonempty, SUFFIX is output afterward. 9016% is output afterwards if non-empty.
9007%
9008\def\refx#1#2{% 9017\def\refx#1#2{%
9009 \requireauxfile 9018 \requireauxfile
9010 {% 9019 {%
9011 \indexnofonts 9020 \indexnofonts
9012 \otherbackslash 9021 \otherbackslash
9022 \def\value##1{##1}%
9013 \expandafter\global\expandafter\let\expandafter\thisrefX 9023 \expandafter\global\expandafter\let\expandafter\thisrefX
9014 \csname XR#1\endcsname 9024 \csname XR#1\endcsname
9015 }% 9025 }%
@@ -9034,16 +9044,18 @@ end
9034 #2% Output the suffix in any case. 9044 #2% Output the suffix in any case.
9035} 9045}
9036 9046
9037% This is the macro invoked by entries in the aux file. Usually it's 9047% This is the macro invoked by entries in the aux file. Define a control
9038% just a \def (we prepend XR to the control sequence name to avoid 9048% sequence for a cross-reference target (we prepend XR to the control sequence
9039% collisions). But if this is a float type, we have more work to do. 9049% name to avoid collisions). The value is the page number. If this is a float
9050% type, we have more work to do.
9040% 9051%
9041\def\xrdef#1#2{% 9052\def\xrdef#1#2{%
9042 {% The node name might contain 8-bit characters, which in our current 9053 {% Expand the node or anchor name to remove control sequences.
9043 % implementation are changed to commands like @'e. Don't let these 9054 % \turnoffactive stops 8-bit characters being changed to commands
9044 % mess up the control sequence name. 9055 % like @'e. \refx does the same to retrieve the value in the definition.
9045 \indexnofonts 9056 \indexnofonts
9046 \turnoffactive 9057 \turnoffactive
9058 \def\value##1{##1}%
9047 \xdef\safexrefname{#1}% 9059 \xdef\safexrefname{#1}%
9048 }% 9060 }%
9049 % 9061 %