Thank you! It works exactly as I need.
Pavel

2012/6/14 Philipp Gesang <ges...@stud.uni-heidelberg.de>:
> Hi Pavel!
>
> ···<date: 2012-06-14, Thursday>···<from: Pavel Dohnal>···
>> Hello,
>> I am trying to avoid widow and orphans in multicolumn document. My settings:
>> \clubpenalty=10000
>> \widowpenalty=10000
>> does not any effect, and last row of the paragraph is on the only row
>> of the second column. Column is is started by this command:
>> \startcolumns[n=2,distance=1cm,balance=no,tolerance=stretch,ntop=2]
>> Can you help me with this problem?
>
> 1. You could help too by supplying a MWE.
>
> 2. Did you try setting the penalties inside the columns
>   environment? (They are zeroed with \startcolumns.)
> ·······································································
>  \setuplayout[height=7cm]
>  \starttext
>  \startcolumns[n=2,distance=1cm,balance=no,tolerance=stretch,ntop=2]
>    \clubpenalty10000
>    \widowpenalty10000
>    \dorecurse{10}{\input knuth \par}
>  \stopcolumns
>  \stoptext
> ·······································································
>
> Regards
> Philipp
>
>
>> Thank you
>>   Pavel Dohnal
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>
> --
> ()  ascii ribbon campaign - against html e-mail
> /\  www.asciiribbon.org   - against proprietary attachments
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to