[NTG-context] How to set oldstyle numbering globally?

Pontus Lurcock pont at talvi.net
Wed Apr 13 00:07:31 CEST 2011


On Mon 11 Apr 2011, Khaled Hosny wrote:

> > In my earlier MkIV minimal ConTeXt installation (dec.2010) I used
> > the following in my preamble to activate oldstyle numbering:
> > 
> > \usetypescript[schola]
> > \setupbodyfont[schola,8pt]
> > 
> > \definefontfeature [oldstyle] [default] [onum=yes]
> > \addff{oldstyle}
> 
> A more correct way is:
> 
> \definefontfeature[default][default][onum=yes] % redefines default feature set
> 
> \usetypescript[schola]
> \setupbodyfont[schola,8pt]
... 
> (\addff is meant for temporally applying font features not the other way
> around, but I think it should work this way too, so may be something
> is broken)

\addff{oldstyle} works with my 2011.02.25 ConTeXt, so evidently it's
quite a recent change.

Pont


More information about the ntg-context mailing list