Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Thomas A. Schmitz
On May 11, 2009, at 4:05 AM, Corsair wrote: Ok. Sorry for the vagueness. I use Adobe Caslon Pro as my body font, with XeTeX. And I enable the `onum' feature so that all numbers in my document appear as old-style numbers, which is good. But I also prefer some of them use the normal capital

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Wolfgang Schuster
Am 10.05.2009 um 18:25 schrieb Corsair: Hi all, I have `onum=yes' in my font features and it works great. But how can I type a capital number in this case? I want to use capital numbers in pagenumbers. Something like (untested): \definefontfeature[header][default][lnum=yes]

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Henning Hraban Ramm
Am 2009-05-11 um 08:13 schrieb Thomas A. Schmitz: Ok. Sorry for the vagueness. I use Adobe Caslon Pro as my body font, with XeTeX. And I enable the `onum' feature so that all numbers in my document appear as old-style numbers, which is good. But I also prefer some of them use the normal

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Corsair
On Mon, May 11, 2009 at 08:13:59AM +0200, Thomas A. Schmitz wrote: Not sure if this is the canonical way, but here's how I do it: If I have onum=yes enabled for my normal Roman font, I disable it for my smallcaps variant and set page numbers etc as \sc. Or am I misunderstanding

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Thomas A. Schmitz
On May 11, 2009, at 8:39 AM, Corsair wrote: Thanks you for the reply! But it doesn't work for me, because small cap numbers in Adobe Caslon Pro are themselves old-style... I don't use XeTeX, but this works in mkiv: \definefontfeature [mydefault] [mode = node

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Corsair
On Mon, May 11, 2009 at 08:35:12AM +0200, Wolfgang Schuster wrote: Am 10.05.2009 um 18:25 schrieb Corsair: Hi all, I have `onum=yes' in my font features and it works great. But how can I type a capital number in this case? I want to use capital numbers in pagenumbers. Something

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Corsair
On Mon, May 11, 2009 at 08:37:46AM +0200, Henning Hraban Ramm wrote: Am 2009-05-11 um 08:13 schrieb Thomas A. Schmitz: Ok. Sorry for the vagueness. I use Adobe Caslon Pro as my body font, with XeTeX. And I enable the `onum' feature so that all numbers in my document appear as

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Hans Hagen
Corsair wrote: On Sun, May 10, 2009 at 09:44:58PM +0200, Hans Hagen wrote: Corsair wrote: Hi all, I have `onum=yes' in my font features and it works great. But how can I type a capital number in this case? I want to use capital numbers in pagenumbers. can you be a bit more explicit? to

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Corsair
On Mon, May 11, 2009 at 08:37:46AM +0200, Henning Hraban Ramm wrote: Similarly you could define an additional variant, like noos. http://wiki.contextgarden.net/Font_Variants (Didn't check if font variants work ok in MkIV; I used them only for light and medium weights before.) I tried this

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Corsair
On Mon, May 11, 2009 at 09:28:27AM +0200, Hans Hagen wrote: you can try {\subff{oldstyle} 123} (this is kind of experimental and in testing by idris) Oops... Doesn't work. It just produces the word oldstyle followed by 123. Maybe my ConTeXt is too old? ConTeXt ver: 2008.05.21 15:21

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Hans Hagen
Corsair wrote: On Mon, May 11, 2009 at 09:28:27AM +0200, Hans Hagen wrote: you can try {\subff{oldstyle} 123} (this is kind of experimental and in testing by idris) Oops... Doesn't work. It just produces the word oldstyle followed by 123. Maybe my ConTeXt is too old? ConTeXt ver:

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Wolfgang Schuster
Am 11.05.2009 um 09:40 schrieb Corsair: On Mon, May 11, 2009 at 09:28:27AM +0200, Hans Hagen wrote: you can try {\subff{oldstyle} 123} (this is kind of experimental and in testing by idris) Oops... Doesn't work. It just produces the word oldstyle followed by 123. Maybe my ConTeXt is

Re: [NTG-context] Capital number when onum=yes?

2009-05-10 Thread Hans Hagen
Corsair wrote: Hi all, I have `onum=yes' in my font features and it works great. But how can I type a capital number in this case? I want to use capital numbers in pagenumbers. can you be a bit more explicit? to what extend smallcaps are implemented is font dependent

Re: [NTG-context] Capital number when onum=yes?

2009-05-10 Thread Corsair
On Sun, May 10, 2009 at 09:44:58PM +0200, Hans Hagen wrote: Corsair wrote: Hi all, I have `onum=yes' in my font features and it works great. But how can I type a capital number in this case? I want to use capital numbers in pagenumbers. can you be a bit more explicit? to what