From: Hans Hagen <j.hagen@xs4all.nl>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: Penalties and overprinting in tabulate
Date: Fri, 18 Aug 2023 17:10:24 +0200 [thread overview]
Message-ID: <bb513253-7f62-fae5-02b3-023df50d4c00@xs4all.nl> (raw)
In-Reply-To: <ZRAP278MB04951322A60543DE6A4083A6831BA@ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM>
On 8/18/2023 4:36 PM, denis.maier@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
___________________________________________________________________________________
next prev parent reply other threads:[~2023-08-18 15:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-18 14:36 [NTG-context] " denis.maier
2023-08-18 15:10 ` Hans Hagen [this message]
2023-08-21 8:24 ` [NTG-context] " denis.maier
2023-08-21 9:35 ` Hans Hagen
2023-08-18 15:27 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bb513253-7f62-fae5-02b3-023df50d4c00@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).