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 Wolfgang
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 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
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
participants (2)
-
Hans Hagen
-
Wolfgang Schuster