[NTG-context] No widows and orphans

Cecil Westerhof cldwesterhof at gmail.com
Tue Mar 1 18:05:41 CET 2011


2011/3/1 Wolfgang Schuster <schuster.wolfgang at googlemail.com>

>
> Am 01.03.2011 um 17:06 schrieb Philipp Stephani:
>
> > I don't know whether that still works in ConTeXt, but try
> > \interlinepenalty=10000
>
> It works but it’s to low level.
>
> There is also \interlinepenalties and ConTeXts \keeplinestogether (which
> use it) command but it doesn’t work
>
> \starttext
>
> \dorecurse{4}{\input tufte\par}
>
> \keeplinestogether{10}
> \input tufte\par
>
> \stoptext
>

If you add before starttext \interlinepenalty=10000 it works. But alas, not
in my case.

-- 
Cecil Westerhof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110301/cfd6ca4b/attachment-0001.html>


More information about the ntg-context mailing list