aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2016-05-01 17:58:42 -0700
committerPaul Eggert2016-05-01 17:59:04 -0700
commit03750c003511239576967387ea10000ce413200e (patch)
tree7dec33d0e0b53a3ad4cc6986a00168008b14b9e9
parent42fed3b8b987975d0716e846f415805a4adc6304 (diff)
downloademacs-03750c003511239576967387ea10000ce413200e.tar.gz
emacs-03750c003511239576967387ea10000ce413200e.zip
* doc/misc/texinfo.tex: Sync from gnulib.
-rw-r--r--doc/misc/texinfo.tex20
1 files changed, 16 insertions, 4 deletions
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex
index d164d451b89..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-03-29.15} 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,
@@ -5371,7 +5371,6 @@ end
5371 \putwordIndexNonexistent 5371 \putwordIndexNonexistent
5372 \else 5372 \else
5373 \catcode`\\ = 0 5373 \catcode`\\ = 0
5374 \escapechar = `\\
5375 % 5374 %
5376 % If the index file exists but is empty, then \openin leaves \ifeof 5375 % If the index file exists but is empty, then \openin leaves \ifeof
5377 % false. We have to make TeX try to read something from the file, so 5376 % false. We have to make TeX try to read something from the file, so
@@ -6943,7 +6942,6 @@ end
6943 \catcode `\>=\other 6942 \catcode `\>=\other
6944 \catcode `\`=\other 6943 \catcode `\`=\other
6945 \catcode `\'=\other 6944 \catcode `\'=\other
6946 \escapechar=`\\
6947 % 6945 %
6948 % ' is active in math mode (mathcode"8000). So reset it, and all our 6946 % ' is active in math mode (mathcode"8000). So reset it, and all our
6949 % other math active characters (just in case), to plain's definitions. 6947 % other math active characters (just in case), to plain's definitions.
@@ -7921,14 +7919,28 @@ end
7921% alias because \c means cedilla in @tex or @math 7919% alias because \c means cedilla in @tex or @math
7922\let\texinfoc=\c 7920\let\texinfoc=\c
7923 7921
7922\newcount\savedcatcodeone
7923\newcount\savedcatcodetwo
7924
7924% Used at the time of macro expansion. 7925% Used at the time of macro expansion.
7925% Argument is macro body with arguments substituted 7926% Argument is macro body with arguments substituted
7926\def\scanmacro#1{% 7927\def\scanmacro#1{%
7927 \newlinechar`\^^M 7928 \newlinechar`\^^M
7928 \def\xeatspaces{\eatspaces}% 7929 \def\xeatspaces{\eatspaces}%
7929 % 7930 %
7931 % Temporarily undo catcode changes of \printindex. Set catcode of @ to
7932 % 0 so that @-commands in macro expansions aren't printed literally when
7933 % formatting an index file, where \ is used as the escape character.
7934 \savedcatcodeone=\catcode`\@
7935 \savedcatcodetwo=\catcode`\\
7936 \catcode`\@=0
7937 \catcode`\\=\active
7938 %
7930 % Process the macro body under the current catcode regime. 7939 % Process the macro body under the current catcode regime.
7931 \scantokens{#1\texinfoc}\aftermacro% 7940 \scantokens{#1@texinfoc}\aftermacro%
7941 %
7942 \catcode`\@=\savedcatcodeone
7943 \catcode`\\=\savedcatcodetwo
7932 % 7944 %
7933 % The \texinfoc is to remove the \newlinechar added by \scantokens, and 7945 % The \texinfoc is to remove the \newlinechar added by \scantokens, and
7934 % can be noticed by \parsearg. 7946 % can be noticed by \parsearg.