Am 23.11.2011 um 16:29 schrieb Hans Hagen:

> On 23-11-2011 15:45, Christian wrote:
>> Good day to you,
>> 
>> I saw the related messages in the archive, but I don't really get it.
>> 
>> I'm looking for a (global) setting, that prevents the last line of a 
>> paragraph to slip on the next page. If it really must, it shall also drag 
>> another one with it for company.
> 
> \setuplayout[preset=strict]

It’s also possible to set a certain number of lines with the following:

\starttext

\setpenalties\widowpenalties{3}{10000}

\dorecurse{740}{text }

\stoptext

The number of lines is always “n+1” (3+1) because the penalty is added before 
the last three lines.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to