From: <denis.maier@ub.unibe.ch>
To: <j.hagen@xs4all.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Questions regarding \startexceptions and ligature prevention
Date: Mon, 22 Mar 2021 11:11:32 +0000 [thread overview]
Message-ID: <ec68ed95a74f48a592b6df5ee8827111@ub.unibe.ch> (raw)
In-Reply-To: <5b4dafe0-5c3a-1e3c-7506-fd51bd32589d@xs4all.nl>
> -----Ursprüngliche Nachricht-----
> Von: Hans Hagen <j.hagen@xs4all.nl>
> Gesendet: Montag, 22. März 2021 11:28
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>; Maier, Denis
> Christian (UB) <denis.maier@ub.unibe.ch>
> Betreff: Re: [NTG-context] Questions regarding \startexceptions and ligature
> prevention
>
> On 3/22/2021 10:33 AM, denis.maier@ub.unibe.ch wrote:
> > Hi,
> >
> > there's this rather new mechanism for preventing ligatures:
> >
> > \startexceptions[de]
> >
> > au{f-}{f}{ff}(f\zwnj f)asse
> >
> > au{f-}{f}{ff}(f\zwnj f)asste
> >
> > \stopexceptions
> >
> > Two questions:
> >
> > 1. Can you have multiple \startexceptions[de] environments ? Will they
> > accumulate ? (I'm thinking about preparing a general list of
> > exceptions, but of course you will also want individual exceptions.)
>
> you can find out by trying ...
Ok, it does...
>
> > 2. What is the exact meaning of these four arguments ? {1}{2}{3} is
> > clear, but what about the parentheses ?
> the lookup is using the third argument, the replacement is the fourth
>
> auffasste => auf\zwnj fasste
>
> when not hyphenated (without the () the third one is the replacement)
So, what's the advantage of using
au{f-}{f}{ff}(f\zwnj f)as-ste
over
au{f-}{f}{ff}as-ste
if any?
Besides, is it intentional that this here will suppress the ff ligature?
---------------------------------------------------------------
\enabletrackers[hyphenation.applied.visualize]
\startexceptions[de]
au{f-}{f}{ff}as-sen
\stopexceptions
\mainlanguage[de]
\starttext
auffassen
\stoptext
---------------------------------------------------------------
I don't see why that should happen here.
Denis
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-03-22 11:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-22 9:33 denis.maier
2021-03-22 10:28 ` Hans Hagen
2021-03-22 11:11 ` denis.maier [this message]
2021-03-22 11:26 ` denis.maier
2021-03-22 11:47 ` Hans Hagen
2021-03-22 11:57 ` denis.maier
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=ec68ed95a74f48a592b6df5ee8827111@ub.unibe.ch \
--to=denis.maier@ub.unibe.ch \
--cc=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).