ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Thangalin <thangalin@gmail.com>
Subject: Re: Hyphen collapsing
Date: Fri, 7 May 2021 17:12:02 +0200	[thread overview]
Message-ID: <d1ecb2d4-a643-9801-db0c-52beaea901c8@xs4all.nl> (raw)
In-Reply-To: <CAANrE7qs+FPdWbTU8Z8PhV4DHAgV8UXG92s-5+yjbQ7mapVp-w@mail.gmail.com>

On 5/7/2021 6:47 AM, Thangalin wrote:
> Not sure if this is a regression:
> 
> % SOF
> \nohyphencollapsing
> 
> \setuphead[chapter][align={nothyphenated}]
> 
> \starttext
>    \chapter{Such --- Emdashery}
> \stoptext
> % EOF
> 
> Expected: No collapsed hyphens.
> 
> Actual: Hyphens are collapsed.
> 
> Workaround: Remove the nothyphenated option or insert 
> \nohyphencollapsing into the \chapter command.
> 
> Is there another way to prevent collapsing hyphens with a single setting 
> that applies to the entire document?
> 
> The hyphens did not collapse in the previous version.


they did when a font had the tlig feature enabled

i'll add a key:

\setuphead[chapter][align={nothyphenated,notcollapsed}]

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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2021-05-07 15:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-07  4:47 Thangalin
2021-05-07 15:12 ` Hans Hagen [this message]
2021-05-07 17:15   ` Thangalin
2021-05-07 17: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=d1ecb2d4-a643-9801-db0c-52beaea901c8@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    --cc=thangalin@gmail.com \
    /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).