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]
\definefontfeature[notrep][liga=yes,kern=yes,tlig=yes,trep=no,mode=node]
\def\realquotesingle{{\setfontfeature{notrep}'}}

\starttext

Straight quote: \realquotesingle

Standard quote: '

\stoptext

Will wikify later today in case anyone else ever needs this.

Pont
___________________________________________________________________________________
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