![](https://secure.gravatar.com/avatar/413d18d786a923120159c1e3f02ad778.jpg?s=120&d=mm&r=g)
-----Ursprüngliche Nachricht----- Von: Hans Hagen
Gesendet: Montag, 22. März 2021 11:28 An: mailing list for ConTeXt users ; Maier, Denis Christian (UB) 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