Hello,

my case may be a bit more complicated;
it uses an environment file which uses \os in it.

So let's have:

----
\definefontfeature[default][default][onum=no,lnum=yes]

% In fact, in a separate environment file >>
\setupbodyfont[palatino,11pt]
\os
% In fact, in a separate environment file <<

\definefontfeature[default][default][onum=no,lnum=yes]

\starttext
  A:123

  \os
  B:123

  \definefontfeature[default][default][onum=no,lnum=yes]
  C:123
\stoptext
----

So I'd expect (or I'd like to achieve) lining numbers at least in "C:123" (but also in 
"A:123"; and in page numbers),
but I'm getting old-style numbers at all three cases ("A:123", "B:123" and 
"C:123").

IOW, I need to suppress the \os feature of the environment file, no matter 
whether just before or just after it has been included.

Ho to do it?

Lukas


Below is a example with one of my own fonts which use old style numbers by 
default.

\definefontfeature[default][default][lnum=yes]

\setupbodyfont[calluna]

\starttext
0123456789
\stoptext


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.      [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

Attachment: t.mkiv
Description: Binary data

Attachment: t.pdf
Description: Adobe PDF document

___________________________________________________________________________________
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