bug-texinfo
[Top][All Lists]
Advanced

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

Re: bad page breaks and ugly formatting


From: Karl Berry
Subject: Re: bad page breaks and ugly formatting
Date: Wed, 29 Jan 2003 20:27:51 -0500

    If @unnumberedsubsubsec is immediately followed by @deffn, texinfo.tex
    allows a break right after the title.  

FYI, I've been looking at this, and I'm not hopeful about being able to
absolutely prohibit page breaks here.  I think I can make it less
likely, though.

    For example,
    address@hidden@end deffn' immediately followed by @unnumberedsubsubsec
    provides more vertical space after the header line than before it.  It
    should be exactly the other way round.

I don't have a test case to know for sure, but here's a potential
patch for this part of it, which will hopefully cause less (effective)
glue before a @deffn than after a @subsubsection.

I didn't check this in yet, pending your confirmation or denial :).


*** texinfo.tex.~1.54.~ Mon Jan 27 08:38:02 2003
--- texinfo.tex Wed Jan 29 17:23:56 2003
***************
*** 3254,3265 ****
          \iflinks
            \ifvmode
              \skip0 = \lastskip
!             \ifdim\lastskip = 0pt \else \nobreak\vskip-\lastskip \fi
            \fi
            %
            \temp % do the write
            %
-           %
            \ifvmode \ifdim\skip0 = 0pt \else \nobreak\vskip\skip0 \fi \fi
          \fi
        }%
--- 3254,3264 ----
          \iflinks
            \ifvmode
              \skip0 = \lastskip
!             \ifdim\lastskip = 0pt \else \nobreak\vskip-\skip0 \fi
            \fi
            %
            \temp % do the write
            %
            \ifvmode \ifdim\skip0 = 0pt \else \nobreak\vskip\skip0 \fi \fi
          \fi
        }%




reply via email to

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