Hi,
I implemented this:
\setupbodyfont[pagella]
\starttext
\dorecurse{10}{
\dorecurse{20}{
\start
What \recursedepth\recurselevel\space
\feature{smallcaps}
What \recursedepth\recurselevel\space
\feature{oldstyle}
What \recursedepth\recurselevel\space
\stop
}
\par
}
\stoptext
A reasonable fast cummulative feature switcher (so its different from
addff cum suis). I'm not aure about the name yet. Also, such features
have a semi-global nature in the sense that redefining 'oldstyle' has no
effect, but that's sort of natural. Of course it's somewhat slower than
defining a font with specific features enabled.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context