texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[6615] call \chapmacro in \part


From: Gavin D. Smith
Subject: [6615] call \chapmacro in \part
Date: Fri, 11 Sep 2015 18:34:48 +0000

Revision: 6615
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6615
Author:   gavin
Date:     2015-09-11 18:34:46 +0000 (Fri, 11 Sep 2015)
Log Message:
-----------
call \chapmacro in \part

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/texinfo.tex

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-09-11 18:09:06 UTC (rev 6614)
+++ trunk/ChangeLog     2015-09-11 18:34:46 UTC (rev 6615)
@@ -1,5 +1,10 @@
 2015-09-11  Gavin Smith  <address@hidden>
 
+       * doc/texinfo.tex (\part): Call \chapmacro in order to output a 
+       mark on the page to clear \thischapter.
+
+2015-09-11  Gavin Smith  <address@hidden>
+
        * doc/texinfo.tex (\onepageout): Check if we've just changed 
        chapter, and if so, blank \thischapter so the name of the 
        chapter isn't doubled in the headline.

Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex       2015-09-11 18:09:06 UTC (rev 6614)
+++ trunk/doc/texinfo.tex       2015-09-11 18:34:46 UTC (rev 6615)
@@ -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-09-11.20}
+\def\texinfoversion{2015-09-11.21}
 %
 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -5475,6 +5475,9 @@
     \let\lastnode=\empty      % no node to associate with
     \writetocentry{part}{#1}{}% but put it in the toc
     \headingsoff              % no headline or footline on the part page
+    % This outputs a mark at the end of the page that clears \thischapter
+    % and \thissection, like is done in \startcontents.
+    \chapmacro{}{Yomitfromtoc}{}%
     \chapoddpage
   \endgroup
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]