At 15:17 09/04/2003 -0700, you wrote:
my question: how do i make sure that section heads will not be alone at the bottom of the page, with the following paragraphs at the start of the next page? i want the section head to stay with the first paragraph (or at least the first two lines) of the paragraph immediately following the section head.
(1) use the sectioning commands, so \definehead[myhead][subsubsection] \setuphead[myhead][style=bold] instead of \def\myhead#1{{\bf#1}} since the sectioning commands will keep successive heads together as well discourage a pagebreak after a head; only lower level heads are kept together, while sam elevel heads may break (makes sense) (2) this game is spoiled when the head is followed by a command like \blank; a way out can be: \setuphead[myhead][after={\blank[big]\blank[inhibit]}] another option is: \setuphead[myhead][before={\testpage[4]}] which will break if there are less than 4 lines left Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------