?SPAM? - Re: [texhax] Orphan section heads

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Fri Oct 21 19:18:09 CEST 2005

Uwe Lück wrote:

> I bet I've got it, at least concerning Philip Taylor's sketch
> of an example. I see two bugs in LaTeX that might be
> responsible or raise the danger of orphan headings.

> 1. LaTeX's \@verbatim contains
>     \if at minipage\else\vskip\parskip\fi
> not preceded by any \penalty, so it's possible to break there.
> I bet this is responsible for Philip Taylor's example ...

Thanks, Uwe : of course, what really matters is what ends up
on TeX's main vertical list at this point rather than what
appears in the code, because it's not impossible that some
earlier code may have left a \penalty there and if nothing
in between contributes anything then the effect of the \vskip
as a potential breakpoint could be nullified.  I need to do
some further investigation here, but thank you for your input.

** Phil.

More information about the texhax mailing list