[Top][All Lists]

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

Re: bad page breaks and ugly formatting

From: Stepan Kasal
Subject: Re: bad page breaks and ugly formatting
Date: Thu, 30 Jan 2003 12:20:41 +0100
User-agent: Mutt/


>     For example, address@hidden@end deffn' immediately followed by
>     @unnumberedsubsubsec provides more vertical space after the header
>     line than before it.

I know, it's awful to debug various combinations of various levels of
headings...  We don't have this completely right in out math journal
(typeset by TeX) either, I'm afraid.

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

Looking at the code, I suspect this might be the reason:

  % If there are two @def commands in a row, we'll have a \nobreak,
  % which is there to keep the function description together with its
  % header.  But if there's nothing but headers, we want to allow a
  % break after all.
  \ifnum\lastpenalty=10000 \penalty0 \fi

Perhaps we need other method to trace two @def's in a row.

What about implementing it via an \if?

Or is it possible to use \penalty10001 to mark the special case?

I have no time to try to write a patch, not speaking about testing,
at least at the moment.
Sorry, Karl.


reply via email to

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