� wrote:
On Thu, 22 Mar 2007, Hans Hagen wrote:
well, it depends, if the next structure does a vskip of some testing then there can be a page break
there is no robust way to prevent this in current tex, at least nog when some spacing mechansism are used, ok, a penalty 10000 may sometimes help, but even then, successive skips and such may interfere
Thanks for your explanation! Do you know, how the LaTeX people solved this problem? I've never had such surprises with LaTeX.
i dunno, but i remember problems with splits between chapter, section and subsection heads and context prohibits that; *any* tex where some construct introduces whitespace has this problem but i can imagine some tricky stuff with the otr involved (and even then there may be interference with preceding material); i do (did) observe that latex has a different spacing model (and interfering penalties may be a reason why sometimes spacing gets messed up); i will implement a second spacing model once luatex is available in tex, when one has a controlled situation, solutions are possible but context is rather configurable \setuphead[section][after=\blank\pelanty10000\relax] may help but also mess up spacing (esp floats are hard to interface with such things because they also look at the available space and currently don't look back; keep in mind that when looking back the content is already put in the mlv and ther ei sno knowledg ewhat is preceding the current structure Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------