So ... can someone provide a sample file of a document that uses old style by default? Clearly the following doesn't work; \definetypeface[myface][rm][Xserif][Minion Pro] % i've also tried %\definetypeface[myface][rm][Xserif][Warnock Pro] \definetypeface[myface][ss][Xsans][Myriad Pro] \definetypeface[myface][tt][Xmono][Consolas] \setupbodyfont[myface, 11pt] Thanks Hans Hagen wrote:
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