texinfo-commits
[Top][All Lists]
Advanced

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

texinfo update (Fri Jan 27 17:52:01 EST 2006)


From: Karl Berry
Subject: texinfo update (Fri Jan 27 17:52:01 EST 2006)
Date: Fri, 27 Jan 2006 17:52:05 -0500

Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.562
retrieving revision 1.563
diff -c -r1.562 -r1.563
*** ChangeLog   26 Jan 2006 01:06:05 -0000      1.562
--- ChangeLog   27 Jan 2006 22:49:31 -0000      1.563
***************
*** 1,3 ****
--- 1,10 ----
+ 2006-01-27  Karl Berry  <address@hidden>
+ 
+       * doc/texinfo.tex (\sectionheading): \nobreak before the \vbox
+       with the heading.
+       Report from: Norbert Preining, 2 Nov 2005 10:07:57 +0100,
+       Debian bug 276000.
+ 
  2006-01-25  Karl Berry  <address@hidden>
  
        * makeinfo/lang.c (cm_accent_generic_no_headers): do nothing
Index: doc/texinfo.tex
===================================================================
RCS file: /sources/texinfo/texinfo/doc/texinfo.tex,v
retrieving revision 1.206
retrieving revision 1.207
diff -c -r1.206 -r1.207
*** doc/texinfo.tex     8 Jan 2006 22:14:37 -0000       1.206
--- doc/texinfo.tex     27 Jan 2006 22:49:32 -0000      1.207
***************
*** 3,9 ****
  % Load plain if necessary, i.e., if running under initex.
  \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
  %
! \def\texinfoversion{2006-01-08.14}
  %
  % Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
  % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
--- 3,9 ----
  % Load plain if necessary, i.e., if running under initex.
  \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
  %
! \def\texinfoversion{2006-01-27.14}
  %
  % Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
  % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
***************
*** 4504,4516 ****
        \gdef\thissection{#1}%
      \fi\fi\fi
      %
!     % Write the toc entry (before \donoderef).  See comments in \chfplain.
      \writetocentry{\toctype\sectionlevel}{#1}{#4}%
      %
      % Write the node reference (= pdf destination for pdftex).
!     % Again, see comments in \chfplain.
      \donoderef{#3}%
      %
      % Output the actual section heading.
      \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \raggedright
            \hangindent=\wd0  % zero if no section number
--- 4504,4524 ----
        \gdef\thissection{#1}%
      \fi\fi\fi
      %
!     % Write the toc entry (before \donoderef).  See comments in \chapmacro.
      \writetocentry{\toctype\sectionlevel}{#1}{#4}%
      %
      % Write the node reference (= pdf destination for pdftex).
!     % Again, see comments in \chapmacro.
      \donoderef{#3}%
      %
+     % Interline glue will be inserted when the vbox is completed.
+     % That glue will be a valid breakpoint for the page, since it'll be
+     % preceded by a whatsit (usually from the \donoderef, or from the
+     % \writetocentry if there was no node).  We don't want to allow that
+     % break, since then the whatsits could end up on page n while the
+     % section is on page n+1, thus toc/etc. are wrong.  Debian bug 276000.
+     \nobreak
+     %
      % Output the actual section heading.
      \vbox{\hyphenpenalty=10000 \tolerance=5000 \parindent=0pt \raggedright
            \hangindent=\wd0  % zero if no section number
***************
*** 4573,4579 ****
         \edef\temp{%
           address@hidden
         \temp
!       }
      \fi
    \fi
    %
--- 4581,4587 ----
         \edef\temp{%
           address@hidden
         \temp
!       }%
      \fi
    \fi
    %
P ChangeLog
P doc/texinfo.tex


reply via email to

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