[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7021] fix @setchapternewpage at very start of file
From: |
Gavin D. Smith |
Subject: |
[7021] fix @setchapternewpage at very start of file |
Date: |
Tue, 16 Feb 2016 17:38:51 +0000 |
Revision: 7021
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7021
Author: gavin
Date: 2016-02-16 17:37:00 +0000 (Tue, 16 Feb 2016)
Log Message:
-----------
fix @setchapternewpage at very start of file
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/texinfo.tex
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2016-02-15 16:59:15 UTC (rev 7020)
+++ trunk/ChangeLog 2016-02-16 17:37:00 UTC (rev 7021)
@@ -1,3 +1,16 @@
+2016-02-15 Gavin Smith <address@hidden>
+
+ * doc/texinfo.tex (\setchapterstyle, \headings, \setchapternewpage)
+ (\everyheadingmarks, \everyfootingmarks): Define with
+ \parseargdef to read argument on the line instead of delimiting
+ the argument with a space. This is necessary in case newlines
+ are active, which is the case at the very start of the file due
+ to the definitions in \enablebackslashhack. Broken
+ @setchapternewpage reported by Norbert Preining.
+ (\enablebackslashhack): Turn off special meanings after two
+ active newlines instead of after three, and add comments to
+ explain what is going on.
+
2016-02-15 Masamichi Hosoda <address@hidden>
* doc/texinfo.tex: Add LuaTeX PDF outline Unicode strings
Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex 2016-02-15 16:59:15 UTC (rev 7020)
+++ trunk/doc/texinfo.tex 2016-02-16 17:37:00 UTC (rev 7021)
@@ -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{2016-02-15.17}
+\def\texinfoversion{2016-02-16.15}
%
% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -3667,9 +3667,9 @@
\def\oddheadingmarks{\headingmarks{odd}{heading}}
\def\evenfootingmarks{\headingmarks{even}{footing}}
\def\oddfootingmarks{\headingmarks{odd}{footing}}
-\def\everyheadingmarks#1 {\headingmarks{even}{heading}{#1}
+\parseargdef\everyheadingmarks{\headingmarks{even}{heading}{#1}
\headingmarks{odd}{heading}{#1} }
-\def\everyfootingmarks#1 {\headingmarks{even}{footing}{#1}
+\parseargdef\everyfootingmarks{\headingmarks{even}{footing}{#1}
\headingmarks{odd}{footing}{#1} }
% #1 = even/odd, #2 = heading/footing, #3 = top/bottom.
\def\headingmarks#1#2#3 {%
@@ -3690,7 +3690,7 @@
% By default, they are off at the start of a document,
% and turned `on' after @end titlepage.
-\def\headings #1 {\csname HEADINGS#1\endcsname}
+\parseargdef\headings{\csname HEADINGS#1\endcsname}
\def\headingsoff{% non-global headings elimination
\evenheadline={\hfil}\evenfootline={\hfil}%
@@ -6225,7 +6225,7 @@
\fi
}
-\def\setchapternewpage #1 {\csname CHAPPAG#1\endcsname}
+\parseargdef\setchapternewpage{\csname CHAPPAG#1\endcsname}
\def\CHAPPAGoff{%
\global\let\contentsalignmacro = \chappager
@@ -6374,7 +6374,7 @@
% I don't think this chapter style is supported any more, so I'm not
% updating it with the new noderef stuff. We'll see. --karl, 11aug03.
%
-\def\setchapterstyle #1 {\csname CHAPF#1\endcsname}
+\parseargdef\setchapterstyle{\csname CHAPF#1\endcsname}
%
\def\unnchfopen #1{%
\chapoddpage
@@ -11408,9 +11408,10 @@
@address@hidden = @eatinput%
@address@hidden
@address@hidden@address@hidden
+ % Definition for the newline at the end of this file.
@def address@hidden@secondlinenl}%
- @gdef @address@hidden@thirdlinenl}%
- @gdef @address@hidden
+ % Definition for a newline in the main Texinfo file.
+ @gdef @address@hidden
}}
address@hidden@^=7 @address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7021] fix @setchapternewpage at very start of file,
Gavin D. Smith <=