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