Mohamed Bana wrote:
> Mojca Miklavec wrote:
>> On Fri, Sep 19, 2008 at 8:07 PM, Mohamed Bana wrote:
>>   
>>> Hi guys,
>>>
>>> Why doesn't this definition use the old style numerals that come with the 
>>> font?
>>>  It seems to use the latin modern font when I try to use \os.  Small caps 
>>> are
>>> working fine.

\os is kind of special because it's related to the fact that good old 
tex and the cm fonts have oldstyles in some math font and therefore some 
  effort is needed to use it in text

we might consider mapping \os to something

\def\os{\groupedcommand{\setfontfeature{oldstyle}}{}}

which in mkiv will make

1234567890 {\os 1234567890} 1234567890

work


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to