[NTG-context] question about unwanted locations of pagebreaks

Hans Hagen pragma at wxs.nl
Fri Jul 18 14:28:19 CEST 2014


On 7/18/2014 1:27 PM, Rob Heusdens wrote:
> The very last thing to do when finalizing a multi-page document is
> checking where the page breaks occur, and make corrections accordingly, if
> the pagebreak occurs at a location you do not want.
>
> Of course, you can take all kind of measures on before hand to avoid 'bad'
> places, like avoiding pagebreaks directly after a new section and before
> any of the body text, etc. But the degrees of freedom for context to
> handle this and to avoid (typographically) 'bad' pagebreak locations are I
> suppose limited.
>
> Is there a way (already implemented) in Context in which one can add some
> degrees of freedom to avoid bad pagebreak locations. For instance with
> elements that can vertically stretch (between some minimum and maximum
> value) and can be placed optionally (and which could for instance include
> a fancy decoration, like fancybreak module provides)?
>
> (I guess this is also the way in which typesetters in the past dealt with
> this problem).

you can play with this (rather old) feature:

\adaptlayout[height=5mm]
\adaptlayout[lines=2]

\adaptlayout[123][height=5mm]
\adaptlayout[5,9,42][lines=2]

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list