![](https://secure.gravatar.com/avatar/28a83f2cb5e782852eaa6bb2c89dff1b.jpg?s=120&d=mm&r=g)
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. Please enlighten me.
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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] ----------------------------------------------------------------- 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
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
participants (3)
-
Christian
-
Hans Hagen
-
Wolfgang Schuster