[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6723] fix part page entries in TOC
From: |
Gavin D. Smith |
Subject: |
[6723] fix part page entries in TOC |
Date: |
Sun, 25 Oct 2015 20:00:16 +0000 |
Revision: 6723
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6723
Author: gavin
Date: 2015-10-25 20:00:15 +0000 (Sun, 25 Oct 2015)
Log Message:
-----------
fix part page entries in TOC
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/texinfo.tex
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-10-24 17:23:42 UTC (rev 6722)
+++ trunk/ChangeLog 2015-10-25 20:00:15 UTC (rev 6723)
@@ -1,3 +1,9 @@
+2015-10-25 Gavin Smith <address@hidden>
+
+ * doc/texinfo.tex (\entry): Fix display of TOC entries for part
+ pages, which don't have line numbers, so that they are not
+ stretched across the whole width of the page.
+
2015-10-24 Gavin Smith <address@hidden>
* doc/texinfo.texi (Not Ending a Sentence): Remove example of
@@ -8,8 +14,12 @@
period" when we mentioned earlier in the sentence other
punctuation marks than the period. Use a numbered list of
situations where @: should be used. Move mention of HTML and
- DocBook output to end of node. Mention a trick to remember
+ DocBook output to end of node. Mention a mnenomic to remember
whether we are forcing an end of sentence or suppressing one.
+ Remove statement about not using braces after the command, as
+ this should be obvious.
+ (Ending a Sentence): Mention a trick along the same lines for
+ remembering what @. does.
2015-10-23 Gavin Smith <address@hidden>
Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex 2015-10-24 17:23:42 UTC (rev 6722)
+++ trunk/doc/texinfo.tex 2015-10-25 20:00:15 UTC (rev 6723)
@@ -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{2015-10-21.19}
+\def\texinfoversion{2015-10-25.20}
%
% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -5247,7 +5247,7 @@
% The following is kludged to not output a line of dots in the index if
% there are no page numbers. The next person who breaks this will be
% cursed by a Unix daemon.
- \setbox\boxB = \hbox{#1}%
+ \global\setbox\boxB = \hbox{#1}%
\ifdim\wd\boxB = 0pt
\null\nobreak\hfill\ %
\else
@@ -5262,6 +5262,9 @@
\fi
\fi
\egroup % end \boxA
+ \ifdim\wd\boxB = 0pt
+ \global\setbox\entryindexbox=\box\boxA
+ \else
\global\setbox\entryindexbox=\vtop\bgroup\noindent
% We want the text of the entries to be aligned to the left, and the
% page numbers to be aligned to the right.
@@ -5312,6 +5315,7 @@
%
\par % format the paragraph
\egroup % The \vtop
+ \fi
\endgroup
% delay text of entry until after penalty
\bgroup\aftergroup\insertindexentrybox
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6723] fix part page entries in TOC,
Gavin D. Smith <=