20 Mar
2011
20 Mar
'11
8:11 a.m.
Am 19.03.2011 um 23:41 schrieb Pontus Lurcock:
Thanks, Mojca and Khaled!
Taking trep out of the default features works nicely, but since in this case I want quote-replacement as the default and straight quotes only occasionally, I ended up with the following solution:
\definefontfeature[default][liga=yes,kern=yes,tlig=yes,trep=yes,mode=node]
You can add a feature with this: \definefontfeature[default][default][mode=node]
\definefontfeature[notrep][liga=yes,kern=yes,tlig=yes,trep=no,mode=node] \def\realquotesingle{{\setfontfeature{notrep}'}}
Another option is to disable only a single feature: \definefontfeature[notrep][trep=no] \def\realquotesingle{{\addfs{notrep}'}} Wolfgang