Keeping section heading with following text?
The other minor problem I had is that in one place i got a subsection heading at the bottom of one page and the text that follows it on the top of the next page. Is there some setting I can make which stops this happening?
Insert a \page[bigpreference] before the mentioned subsection command Willi cormullion@mac.com wrote:
The other minor problem I had is that in one place i got a subsection heading at the bottom of one page and the text that follows it on the top of the next page. Is there some setting I can make which stops this happening? _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
On 2007-01-13, at 16:29.0, Willi Egger wrote:
Insert a \page[bigpreference] before the mentioned subsection command
thanks Willi, that's useful to know. It would fix a single occurrence, but wouldn't be applicable to all section and subsection headings... Still, it's useful to have a 'layout hammer' for fixing the odd glitch.
Am 2007-01-14 um 15:00 schrieb cormullion@mac.com:
Insert a \page[bigpreference] before the mentioned subsection command
thanks Willi, that's useful to know. It would fix a single occurrence, but wouldn't be applicable to all section and subsection headings...
try \setuphead[subsection][before={\page[bigpreference]}] Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
On 2007-01-16, at 18:56.0, Henning Hraban Ramm wrote:
Am 2007-01-14 um 15:00 schrieb cormullion@mac.com:
Insert a \page[bigpreference] before the mentioned subsection command
thanks Willi, that's useful to know. It would fix a single occurrence, but wouldn't be applicable to all section and subsection headings...
try \setuphead[subsection][before={\page[bigpreference]}]
Thanks! This is presumably going to put a page break before every subsection...? I don't really want to do that, of course - it would increase the page count significantly. I just want each heading to be kept with the first few lines of the following paragraph. I use a 'keep with next' setting in DTP and WP, but that doesn't seem to be a feature of ConTeXt.
The bigpreference will not insert a pagebreak unless the added penalty makes tex to insert a pagebreak! Willi cormullion@mac.com wrote:
On 2007-01-16, at 18:56.0, Henning Hraban Ramm wrote:
Am 2007-01-14 um 15:00 schrieb cormullion@mac.com:
Insert a \page[bigpreference] before the mentioned subsection command
thanks Willi, that's useful to know. It would fix a single occurrence, but wouldn't be applicable to all section and subsection headings...
try \setuphead[subsection][before={\page[bigpreference]}]
Thanks! This is presumably going to put a page break before every subsection...?
I don't really want to do that, of course - it would increase the page count significantly. I just want each heading to be kept with the first few lines of the following paragraph. I use a 'keep with next' setting in DTP and WP, but that doesn't seem to be a feature of ConTeXt. _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
On 2007-01-17, at 16:34.0, Willi Egger wrote:
The bigpreference will not insert a pagebreak unless the added penalty makes tex to insert a pagebreak!
You're right - I've been misreading the manual: "when possible, force page break" I read that as being "force a page break if you can" - which would be all the time, probably... But it doesn't mean that... :-) thanks again
participants (3)
-
cormullion@mac.com
-
Henning Hraban Ramm
-
Willi Egger