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

Wolfgang Schuster schuster.wolfgang at googlemail.com
Mon Apr 11 11:09:39 CEST 2011


Am 11.04.2011 um 11:00 schrieb Verhaag, G.C.H.M.:

> Hi,
> 
> 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}
> 
> but this doesn't seem to work anymore in my recently installed minimal ConTeXt installation (ConTeXt  ver: 2011.03.30 11:21 MkIV  fmt: 2011.3.30  int: english/english).
> 
> I use this installation with Debian 6.0 (Squeeze).
> 
> Any idea what's wrong?

The following two methods do work for me.


1. Global change

\definefontfeature[default][default][onum=yes]

\setupbodyfont[schola,8pt]

\starttext
1234567890
\stoptext


2. Local change

\setupbodyfont[schola,8pt]

\definefontfeature[oldstyle][onum=yes]

\starttext
1234567890 {\addff{oldstyle}1234567890}
\stoptext


Wolfgang



More information about the ntg-context mailing list