[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[5333] (\sectionheading): do not lose new \prevsectiondefs
From: |
karl |
Subject: |
[5333] (\sectionheading): do not lose new \prevsectiondefs |
Date: |
Tue, 20 Aug 2013 18:06:43 +0000 |
Revision: 5333
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5333
Author: karl
Date: 2013-08-20 18:06:38 +0000 (Tue, 20 Aug 2013)
Log Message:
-----------
(\sectionheading): do not lose new \prevsectiondefs
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/texinfo.tex
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2013-08-20 12:04:17 UTC (rev 5332)
+++ trunk/ChangeLog 2013-08-20 18:06:38 UTC (rev 5333)
@@ -1,3 +1,11 @@
+2013-08-20 Karl Berry <address@hidden>
+
+ * doc/texinfo.tex (\sectionheading): must do
+ \global\let\prevsectiondefs, since we're inside a group.
+ Otherwise, \thissection is lost in PDF output if an xref intervenes
+ due to the color \mark. Report from Thien-Thi Nguyen,
+ 16 Feb 2013 12:06:17.
+
2013-08-20 Sergey Poznyakoff <address@hidden>
Check for I/O errors when dumping nodes to file.
Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex 2013-08-20 12:04:17 UTC (rev 5332)
+++ trunk/doc/texinfo.tex 2013-08-20 18:06:38 UTC (rev 5333)
@@ -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{2013-08-09.09}
+\def\texinfoversion{2013-08-20.10}
%
% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -281,9 +281,9 @@
\toks6=\expandafter{\prevsectiondefs}%
\toks8=\expandafter{\lastcolordefs}%
\mark{%
- \the\toks0 \the\toks2
- \noexpand\or \the\toks4 \the\toks6
- \noexpand\else \the\toks8
+ \the\toks0 \the\toks2 % 0: top marks (\last...)
+ \noexpand\or \the\toks4 \the\toks6 % 1: bottom marks (default, \prev...)
+ \noexpand\else \the\toks8 % 2: color marks
}%
}
% \topmark doesn't work for the very first chapter (after the title
@@ -5909,7 +5909,7 @@
%
% Now the second mark, after the heading break. No break points
% between here and the heading.
- \let\prevsectiondefs=\lastsectiondefs
+ \global\let\prevsectiondefs=\lastsectiondefs
\domark
%
% Only insert the space after the number if we have a section number.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [5333] (\sectionheading): do not lose new \prevsectiondefs,
karl <=