> On 8. Jul 2021, at 23:33, Hans Hagen <j.ha...@xs4all.nl> wrote:
> 
> you forgot the 'default' so you basically force basemode which is does 
> permanent features .. add/subtract works only in node mode
> 
> \definefontfeature
>  [f:onum]
>  [onum=yes,pnum=yes]
> 
> \definefontfamily [test] [serif] [AntykwaTorunska] [features={default,f:onum}]
> \definefontfamily [test] [sans]  [Myriad Pro]
> \definefontfamily [test] [mono]  [DejaVu Sans Mono]
> \definefontfamily [test] [math]  [Xits Math]
> 
> \setupbodyfont[test,12pt]
> 
> \starttext
>    test 1 2 3 test 1/2 \subtractfeature[f:onum] test 1 2 3 test 1/2
> \stoptext

Thank you, Hans, this works! I’m looking for a place to add this information to 
the “featuresets” page on the wiki, will do this soon!

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
___________________________________________________________________________________

Reply via email to