![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Peter Münster wrote:
On Wed, May 05 2010, Taco Hoekwater wrote:
Looks rather normal here, see attached (ver: 2010.05.02 16:43)
A better page break would be after the last line of section 7:
Oh, I see. Yes, it is odd that that last line is taken over to the second page in the original test file. But the same thing happens in mkii, so I suspect this is an unavoidable side-effect of page breaking. What happens is that TeX first attempts the break after two lines into section 7 and finds a badness value for that. Then it tries the third line, and finds another badness value for that. Normally, TeX considers the break after the second line better, but in your second example the \page adds a big negative penalty for the third line which skews the result in favor of that line. (TeX's page break algorithm is not all that smart really, because it does not know about sectioning at all: it only sees lines and penalties). Best wishes, Taco