Open main menu

Changes

675 bytes added ,  21:49, 5 June 2022
m
While general blocking ({{cmd|blockligatures}}[fi,fl]) works, the exception handling ({{cmd|blockligatures}}[au:fl:age]) might depend on a version unpublished as of this writing (i.e. after 2017-09-28).
= Word suppression =
 
In English, one principle suggests not using specific ligatures in certain words because <em>ligatures should not cross morpheme boundaries</em>. For instance, the <em>fi</em> ligature in wolfish is to be suppressed because the <em>f</em> and <em>i</em> belong to distinct morphemes (<em>wolf</em> and <em>ish</em>, in contrast to <em>fish</em>, where <em>fi</em> is a single morpheme). The following code shows how to apply this rule to prevent unwanted ligatures:
 
<texcode>
\setuplanguage[en][goodies={lang-en.llg}]
 
\starttext
wolfish huffily puffily
\stoptext
</texcode>
 
Other languages will need a corresponding ligature suppression word list.
[[Category:Fonts]]
419

edits