On 8/18/2023 4:36 PM, denis.ma...@unibe.ch wrote:
Dear list,

typesetting the example below results in lines printed above each other? 
Without the penalties, this doesn't happen. What am I missing here? How I can 
use the penalties without the not wanted overprinting?

Best,
Denis


\startsetups[mypenalties]
     \setdefaultpenalties
     \setpenalties\clubpenalties{1}{150}
     \setpenalties\widowpenalties{1}{10000}
     \setpenalties\displaywidowpenalties{1}{10000}
\stopsetups

\setuplayout[setups=mypenalties]

\starttext
\starttabulate[|p(.15\textwidth)|p|]
                                \NC asdf \NC a asdf asdf asdf asdf asdf asdf 
sdf asdf asdf asdf asdf asdf asdf asdf ashjkdf askldf askdlfjöaslkdfjaösdlf
         \NC \NR
         \NC asdf \NC a asdf asdf asdf asdf asdf asdf sdf asdf asdf asdf asdf 
asdf asdf asdf ashjkdf askldf askdlfjöaslkdfjaösdlf
         \NC \NR
         \NC asdf \NC a asdf asdf asdf asdf asdf asdf sdf asdf asdf asdf asdf 
asdf asdf asdf ashjkdf askldf askdlfjöaslkdfjaösdlf
         \NC \NR
         \NC asdf \NC a asdf asdf asdf asdf asdf asdf sdf asdf asdf asdf asdf 
asdf asdf asdf ashjkdf askldf askdlfjöaslkdfjaösdlf
         \NC \NR
         \NC asdf \NC a asdf asdf asdf asdf asdf asdf sdf asdf asdf asdf asdf 
asdf asdf asdf ashjkdf askldf askdlfjöaslkdfjaösdlf
         \NC \NR
\stoptabulate

\stoptext
\startsetups[nopenalties]
    \setdefaultpenalties
\stopsetups


% \setuptabulate[setups=nopenalties] % in next version

\setuptabulate[inner=\setups{nopenalties}]

or

\starttabulate[|p(.15\textwidth)s{nopenalties}|ps{nopenalties}|]

but i admit it needs some thought ... outer level only but that is also pretty much an engine thing then (no big deal but ... needs pondering)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to