Hi all,
is it possible to subtract a featureset that has been applied to a
fontfamily? MWE:
\definefontfeature
[f:frac]
[frac=yes,onum=no,pnum=no]
\definefontfeature
[f:onum]
[onum=yes,pnum=yes]
\definefontfamily [test] [serif] [AntykwaTorunska] [features=f:onum]
\definefontfamily [test] [sans] [Myriad Pro]
\definefontfamily [test] [mono] [DejaVu Sans Mono]
\definefontfamily [test] [math] [Xits Math]
\setupbodyfont[test,12pt]
\starttext
Mozarts erster Satz ist ein
{\subtractfeature[f:test]\addfeature[f:frac]4/4}-Takt, Beethoven wählt
einen Dreiertakt, Mozarts Romanze ist ein 3/8-Takt, Beethoven wählt
einen 2/4,
Mozarts Rondo ist eine Gavotte im 2/2-Takt, Beethoven schreibt ein
Jagdrondo im 6/8-Takt.
\stoptext
If I comment out the part [features=f:onum], I get the fractions that
I'm looking for, but it seems that I can't get the same effect with
\subtractfeature and \addfeature. I'm confused...
Thanks and all best
Thomas
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________