aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2014-01-20 12:48:14 -0800
committerPaul Eggert2014-01-20 12:48:14 -0800
commitcec62009bb94b74bb46dd911a22dc1ec97097970 (patch)
tree7e8e3569612303588ff164fa070e8210c7c00ec4 /doc
parent2d3c36db70ea118d3168a43e92b750c8999d60a6 (diff)
downloademacs-cec62009bb94b74bb46dd911a22dc1ec97097970.tar.gz
emacs-cec62009bb94b74bb46dd911a22dc1ec97097970.zip
Merge from gnulib.
This incorporates: 2014-01-20 stdalign: port to HP-UX compilers 2014-01-16 strtoimax: port to platforms lacking 'long long' 2014-01-16 update from texinfo * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/strtoimax.c: Update from gnulib.
Diffstat (limited to 'doc')
-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 d92fb8a55e0..704d66453f5 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{2014-01-06.16} 6\def\texinfoversion{2014-01-16.10}
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,
@@ -8334,8 +8334,9 @@ end
8334% 8334%
8335% Auto-number footnotes. Otherwise like plain. 8335% Auto-number footnotes. Otherwise like plain.
8336\gdef\footnote{% 8336\gdef\footnote{%
8337 %\let\indent=\ptexindent 8337 \let\indent=\ptexindent
8338 %\let\noindent=\ptexnoindent 8338 \let\noindent=\ptexnoindent
8339 %
8339 \global\advance\footnoteno by \@ne 8340 \global\advance\footnoteno by \@ne
8340 \edef\thisfootno{$^{\the\footnoteno}$}% 8341 \edef\thisfootno{$^{\the\footnoteno}$}%
8341 % 8342 %
@@ -8359,6 +8360,11 @@ end
8359% 8360%
8360\gdef\dofootnote{% 8361\gdef\dofootnote{%
8361 \insert\footins\bgroup 8362 \insert\footins\bgroup
8363 %
8364 % Nested footnotes are not supported in TeX, that would take a lot
8365 % more work. (\startsavinginserts does not suffice.)
8366 \let\footnote=\errfootnote
8367 %
8362 % We want to typeset this text as a normal paragraph, even if the 8368 % We want to typeset this text as a normal paragraph, even if the
8363 % footnote reference occurs in (for example) a display environment. 8369 % footnote reference occurs in (for example) a display environment.
8364 % So reset some parameters. 8370 % So reset some parameters.
@@ -8396,13 +8402,19 @@ end
8396} 8402}
8397}%end \catcode `\@=11 8403}%end \catcode `\@=11
8398 8404
8405\def\errfootnote{%
8406 \errhelp=\EMsimple
8407 \errmessage{Nested footnotes not supported in texinfo.tex,
8408 even though they work in makeinfo; sorry}
8409}
8410
8399% In case a @footnote appears in a vbox, save the footnote text and create 8411% In case a @footnote appears in a vbox, save the footnote text and create
8400% the real \insert just after the vbox finished. Otherwise, the insertion 8412% the real \insert just after the vbox finished. Otherwise, the insertion
8401% would be lost. 8413% would be lost.
8402% Similarly, if a @footnote appears inside an alignment, save the footnote 8414% Similarly, if a @footnote appears inside an alignment, save the footnote
8403% text to a box and make the \insert when a row of the table is finished. 8415% text to a box and make the \insert when a row of the table is finished.
8404% And the same can be done for other insert classes. --kasal, 16nov03. 8416% And the same can be done for other insert classes. --kasal, 16nov03.
8405 8417%
8406% Replace the \insert primitive by a cheating macro. 8418% Replace the \insert primitive by a cheating macro.
8407% Deeper inside, just make sure that the saved insertions are not spilled 8419% Deeper inside, just make sure that the saved insertions are not spilled
8408% out prematurely. 8420% out prematurely.