[NTG-context] Avoiding widows and orphans (again?)
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. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___
Re: [NTG-context] Avoiding widows and orphans (again?)
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 - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___
Re: [NTG-context] Avoiding widows and orphans (again?)
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}{1} \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 : ntg-context@ntg.nl / 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 ___