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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to