diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-08-21 21:51:22 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-08-21 21:51:22 +0300 |
commit | b33eb7a4bf226ce8d9f568927f875afe290d9b06 (patch) | |
tree | 694b8a499ed9c3a13dffa38ec968673d49ac3389 /doc/texinfo.tex | |
parent | b723f14ac83c52de73771a97b0b84d97cc640fd0 (diff) | |
parent | 79bdf495760451af2b7f7ef209d5f4c82e9929fa (diff) | |
download | egawk-b33eb7a4bf226ce8d9f568927f875afe290d9b06.tar.gz egawk-b33eb7a4bf226ce8d9f568927f875afe290d9b06.tar.bz2 egawk-b33eb7a4bf226ce8d9f568927f875afe290d9b06.zip |
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'doc/texinfo.tex')
-rw-r--r-- | doc/texinfo.tex | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/texinfo.tex b/doc/texinfo.tex index 3844333f..587f7a39 100644 --- a/doc/texinfo.tex +++ b/doc/texinfo.tex @@ -3,7 +3,7 @@ % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % -\def\texinfoversion{2017-07-04.16} +\def\texinfoversion{2017-08-20.20} % % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, @@ -6943,7 +6943,15 @@ end % exist, with an empty box. Let's hope all the numbers have the same width. % Also ignore the page number, which is conventionally not printed. \def\numeralbox{\setbox0=\hbox{8}\hbox to \wd0{\hfil}} -\def\partentry#1#2#3#4{\dochapentry{\numeralbox\labelspace#1}{}} +\def\partentry#1#2#3#4{% + % Add stretch and a bonus for breaking the page before the part heading. + % This reduces the chance of the page being broken immediately after the + % part heading, before a following chapter heading. + \vskip 0pt plus 5\baselineskip + \penalty-300 + \vskip 0pt plus -5\baselineskip + \dochapentry{\numeralbox\labelspace#1}{}% +} % % Parts, in the short toc. \def\shortpartentry#1#2#3#4{% |