diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-08-24 10:05:33 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-08-24 10:05:33 +0300 |
commit | 4e0b60cfbf05ab647ed053aded33d2611cd162b7 (patch) | |
tree | e3edaa70da8c34f699040fab849fee1b909a38f3 | |
parent | f164e918a5c68cc04b56ef490ebaf69540d82118 (diff) | |
download | egawk-4e0b60cfbf05ab647ed053aded33d2611cd162b7.tar.gz egawk-4e0b60cfbf05ab647ed053aded33d2611cd162b7.tar.bz2 egawk-4e0b60cfbf05ab647ed053aded33d2611cd162b7.zip |
Update texinfo.tex, fixes another TOC problem.
-rw-r--r-- | doc/ChangeLog | 5 | ||||
-rw-r--r-- | doc/texinfo.tex | 14 |
2 files changed, 14 insertions, 5 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index 516e0667..316b485e 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2017-08-24 Arnold D. Robbins <arnold@skeeve.com> + + * texinfo.tex: Updated. Fixes table of contents issue + with very long title. + 2017-08-21 Arnold D. Robbins <arnold@skeeve.com> * texinfo.tex: Updated. Fixes table of contents issue diff --git a/doc/texinfo.tex b/doc/texinfo.tex index 587f7a39..a774790c 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-08-20.20} +\def\texinfoversion{2017-08-23.19} % % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, @@ -5696,10 +5696,13 @@ end \advance\dimen@ii by 1\dimen@i \ifdim\wd\boxA > \dimen@ii % If the entry doesn't fit in one line \ifdim\dimen@ > 0.8\dimen@ii % due to long index text - \dimen@ = 0.7\dimen@ % Try to split the text roughly evenly + % Try to split the text roughly evenly. \dimen@ will be the length of + % the first line. + \dimen@ = 0.7\dimen@ \dimen@ii = \hsize \ifnum\dimen@>\dimen@ii - % If the entry is too long, use the whole line + % If the entry is too long (for example, if it needs more than + % two lines), use all the space in the first line. \dimen@ = \dimen@ii \fi \advance\leftskip by 0pt plus 1fill % ragged right @@ -5709,8 +5712,9 @@ end % instead of using \parshape with explicit line lengths, but TeX % doesn't seem to provide a way to do such a thing. % - \leftskip = 1em - \parindent = -1em + % Indent all lines but the first one. + \advance\leftskip by 1em + \advance\parindent by -1em \fi\fi \indent % start paragraph \unhbox\boxA |