2007/7/4, Patrick Gundlach
Hi,
I use oldstyle digits with a typescript using variants such as "\Var[osf]" to get oldstyle digits. How do I get _all_ digits, including the page number in oldstyle?
\setuppagenumbering[style={\Var[osf]}] would be a solution, but it looks more like a hack - I'd like to have a complete setup.
[...] change this: \starttypescript [map] [termes,termes-os] [texnansi] \loadmapfile [termes.map] \stoptypescript add this: \starttypescript [serif] [termes-os] [name] \definefontsynonym [Serif] [TeXGyreTermes-RegularOsF] \definefontsynonym [SerifBold] [TeXGyreTermes-BoldOsF] \definefontsynonym [SerifItalic] [TeXGyreTermes-ItalicOsF] \definefontsynonym [SerifBoldItalic] [TeXGyreTermes-BoldItalicOsF] \stoptypescript change this: \starttypescript [serif] [termes,termes-os] [texnansi] ... \stoptypescript change this: \starttypescript [termes] \definetypeface [termes] [rm][serif][termes] [default][encoding=texnansi] \definetypeface [termes-os][rm][serif][termes-os][default][encoding=texnansi] \stoptypescript or add this: \starttypescript [termes-os] \definetypeface [termes][rm][serif][termes-os][default][encoding=texnansi] \stoptypescript
--------------------------------------------------
and this is my example file:
-------------------------------------------------- \preloadtypescripts \setupencoding[default=texnansi]
[...] \usetypescript[termes] \setupbodyfont[termes] % normal figures \setupbodyfont[termes-os] % oldstyle figures or \usetypescript[termes-os] \setupbodyfont[termes]
\enableregime[utf-8] \setuptolerance [tolerant] \starttext \input tufte 0123456789 \Var[osf] \input tufte 0123456789 \stoptext --------------------------------------------------
Patrick
Wolfgang