aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/texinfo.tex27
1 files changed, 18 insertions, 9 deletions
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex
index 6312dadbce0..72c8cf4eed7 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-05-20.16} 6\def\texinfoversion{2014-10-29.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,
@@ -5739,13 +5739,16 @@ end
5739% 5739%
5740% #1 is the text, #2 is the section type (Ynumbered, Ynothing, 5740% #1 is the text, #2 is the section type (Ynumbered, Ynothing,
5741% Yappendix, Yomitfromtoc), #3 the chapter number. 5741% Yappendix, Yomitfromtoc), #3 the chapter number.
5742% Not used for @heading series.
5742% 5743%
5743% To test against our argument. 5744% To test against our argument.
5744\def\Ynothingkeyword{Ynothing} 5745\def\Ynothingkeyword{Ynothing}
5745\def\Yomitfromtockeyword{Yomitfromtoc}
5746\def\Yappendixkeyword{Yappendix} 5746\def\Yappendixkeyword{Yappendix}
5747\def\Yomitfromtockeyword{Yomitfromtoc}
5747% 5748%
5748\def\chapmacro#1#2#3{% 5749\def\chapmacro#1#2#3{%
5750 \checkenv{}% chapters, etc., should not start inside an environment.
5751 %
5749 % Insert the first mark before the heading break (see notes for \domark). 5752 % Insert the first mark before the heading break (see notes for \domark).
5750 \let\prevchapterdefs=\lastchapterdefs 5753 \let\prevchapterdefs=\lastchapterdefs
5751 \let\prevsectiondefs=\lastsectiondefs 5754 \let\prevsectiondefs=\lastsectiondefs
@@ -5891,22 +5894,28 @@ end
5891 5894
5892% Print any size, any type, section title. 5895% Print any size, any type, section title.
5893% 5896%
5894% #1 is the text, #2 is the section level (sec/subsec/subsubsec), #3 is 5897% #1 is the text of the title,
5895% the section type for xrefs (Ynumbered, Ynothing, Yappendix), #4 is the 5898% #2 is the section level (sec/subsec/subsubsec),
5896% section number. 5899% #3 is the section type (Ynumbered, Ynothing, Yappendix, Yomitfromtoc),
5900% #4 is the section number.
5897% 5901%
5898\def\seckeyword{sec} 5902\def\seckeyword{sec}
5899% 5903%
5900\def\sectionheading#1#2#3#4{% 5904\def\sectionheading#1#2#3#4{%
5901 {% 5905 {%
5902 \checkenv{}% should not be in an environment. 5906 \def\sectionlevel{#2}%
5907 \def\temptype{#3}%
5908 %
5909 % It is ok for the @heading series commands to appear inside an
5910 % environment (it's been historically allowed, though the logic is
5911 % dubious), but not the others.
5912 \ifx\temptype\Yomitfromtockeyword\else
5913 \checkenv{}% non-@*heading should not be in an environment.
5914 \fi
5903 % 5915 %
5904 % Switch to the right set of fonts. 5916 % Switch to the right set of fonts.
5905 \csname #2fonts\endcsname \rmisbold 5917 \csname #2fonts\endcsname \rmisbold
5906 % 5918 %
5907 \def\sectionlevel{#2}%
5908 \def\temptype{#3}%
5909 %
5910 % Insert first mark before the heading break (see notes for \domark). 5919 % Insert first mark before the heading break (see notes for \domark).
5911 \let\prevsectiondefs=\lastsectiondefs 5920 \let\prevsectiondefs=\lastsectiondefs
5912 \ifx\temptype\Ynothingkeyword 5921 \ifx\temptype\Ynothingkeyword