Wolfgang Schuster wrote:
2007/12/6, Steffen Wolfrum
: Am 06.12.2007 um 14:48 schrieb Hans Hagen:
something numbers=oldstyle could be supported but i see no real reason for it since then we end up in endless lists of possibilities (given all kind of combinations) I have not yet played with Lua, thus I can't follow your and Mojca's discussion at that point. But to have a handy way to switch on/off oldstyle figures would be very useful!
"numbers=oldstyle" shouldn't be considered as a theoretical possibility, it is needed quite often.
Steffen
The following should work, can't test it at the moment
\definefontfeature[enableoldstyle][onum=yes] \definefontfeature[disableoldstyle][onum=no]
\starttext
123 \setfontfeature{enableoldstyle} 456 \setfontfeature{disableoldstyle} 789
\stoptext
btw, these are attributes and therefore can be used grouped 123 {\setfontfeature{enableoldstyle} 456} 789 ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------