[NTG-context] \definetype and ligatures
Wolfgang Schuster
schuster.wolfgang at googlemail.com
Thu May 31 12:50:01 CEST 2012
Am 31.05.2012 um 12:38 schrieb Hans Hagen:
> On 31-5-2012 11:41, Wolfgang Schuster wrote:
>> Hi,
>>
>> are ligatures etc. supposed to be active in verbatim commands? In the default \type command they are only disabled because \tt has “features=none” in the typescripts but since this isn’t the case for serif and sans you get ligatures.
>>
>> \definetype[test][style=\rm]
>>
>> \starttext
>> \type{fi -- ---}
>> \test{fi -- ---}
>> \stoptext
>
> one could disable features with the style key (or maybe at some point we can have an extra key for that
How about a “features” key which is passed to \setfontfeature?
Wolfgang
More information about the ntg-context
mailing list