On 08.12.2011, at 10:56, Verhaag, G.C.H.M. wrote:

> Hi ConTeXt user's,
> 
> A few days ago I installed the latest ConTeXt version but now my oldstyle 
> settings don't seem to work any more!
> 
> I use the following settings in my preamble:
> 
> \usetypescript[schola]
> \setupbodyfont[schola,10pt]
> 
> \definefontfeature [oldstyle] [default] [onum=yes]
> \addff{oldstyle}

Hi,

you can play with my example. It seems "script=auto" (default) is not that 
robust. Setting it to "latn" or "dflt" should help.

\definefontfeature [default] [default] [script=latin]
\definefontfeature [osf]               [onum=yes]
\definefontfeature [oldstyle][default] [onum=yes]

\definealternativestyle [osf] [\addff{osf}] [\addff{osf}]

\setuphead[section][style=osf]

\setupbodyfont[schola]

\starttext
  \section{0123456789 -- ---}
  {\addff{osf}0123456789 -- ---} \par
  {\osf 0123456789 -- ---} \par
  {\setff{oldstyle}0123456789 -- ---} \par
  {\os 0123456789 -- ---}
\stoptext


Regards
        Andreas
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to