ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* oldstyle numbers
@ 2009-09-16 10:07 Arno Trautmann
  2009-09-16 10:21 ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Arno Trautmann @ 2009-09-16 10:07 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 625 bytes --]

Hi,

I’m new to ConTeXt and try to compile a document using XeTeX. Loading an
otf font works fine, but I don’t get it to use oldstyle numbers. google
and contextgarden did give me some hints, but I didn’t get it working. I
tried:

\starttext
\definetypeface[normalfont][rm][Xserif][Arno Pro]
\stoptext

and several versions of things like [features=oldstyle], [onum=true],
\definefontfeature[mine] with oldstyle etc. but nothing worked.

So what am I doing wrong? Is there a simple way for oldstyle numbers? (I
want them in the whole document, so I prefer a simple, global solution.)

cheers,
Arno


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: oldstyle numbers
  2009-09-16 10:07 oldstyle numbers Arno Trautmann
@ 2009-09-16 10:21 ` Wolfgang Schuster
  2009-09-16 10:25   ` Arno Trautmann
  2009-09-16 11:52   ` Matthijs Kooijman
  0 siblings, 2 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2009-09-16 10:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 16.09.2009 um 12:07 schrieb Arno Trautmann:

> Hi,
>
> I’m new to ConTeXt and try to compile a document using XeTeX.  
> Loading an
> otf font works fine, but I don’t get it to use oldstyle numbers.  
> google
> and contextgarden did give me some hints, but I didn’t get it  
> working. I
> tried:
>
> \starttext
> \definetypeface[normalfont][rm][Xserif][Arno Pro]
> \stoptext
>
> and several versions of things like [features=oldstyle], [onum=true],
> \definefontfeature[mine] with oldstyle etc. but nothing worked.
>
> So what am I doing wrong? Is there a simple way for oldstyle  
> numbers? (I
> want them in the whole document, so I prefer a simple, global  
> solution.)

\definefontfeature[default][default][onum=yes]

% when this did not work (because your context is too old) use:
% \definefontfeature[default] 
[liga=yes,kern=yes,tlig=yes,trep=yes,onum=yes]

\definetypeface[mainface][rm][Xserif][Arno Pro]

\setupodyfont[mainface]

\starttext
0123456789
\stoptext

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: oldstyle numbers
  2009-09-16 10:21 ` Wolfgang Schuster
@ 2009-09-16 10:25   ` Arno Trautmann
  2009-09-16 10:34     ` Wolfgang Schuster
  2009-09-16 11:52   ` Matthijs Kooijman
  1 sibling, 1 reply; 7+ messages in thread
From: Arno Trautmann @ 2009-09-16 10:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1104 bytes --]

Wolfgang Schuster wrote:
> 
> Am 16.09.2009 um 12:07 schrieb Arno Trautmann:
> 
>> Hi,
>>
>> I’m new to ConTeXt and try to compile a document using XeTeX. Loading an
>> otf font works fine, but I don’t get it to use oldstyle numbers. google
>> and contextgarden did give me some hints, but I didn’t get it working. I
>> tried:
>>
>> \starttext
>> \definetypeface[normalfont][rm][Xserif][Arno Pro]
>> \stoptext
>>
>> and several versions of things like [features=oldstyle], [onum=true],
>> \definefontfeature[mine] with oldstyle etc. but nothing worked.
>>
>> So what am I doing wrong? Is there a simple way for oldstyle numbers? (I
>> want them in the whole document, so I prefer a simple, global solution.)
> 
> \definefontfeature[default][default][onum=yes]
>
> \definetypeface[mainface][rm][Xserif][Arno Pro]
> 
> \setupodyfont[mainface]
> 
> \starttext
> 0123456789
> \stoptext

Thank you very much, that works fine!
Just for future questions: Where could I have found this? (I prefer
reading documentation than wasting people’s time by asking …)

cheers,
Arno


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: oldstyle numbers
  2009-09-16 10:25   ` Arno Trautmann
@ 2009-09-16 10:34     ` Wolfgang Schuster
  2009-09-16 10:35       ` Arno Trautmann
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2009-09-16 10:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 16.09.2009 um 12:25 schrieb Arno Trautmann:

> Just for future questions: Where could I have found this? (I prefer
> reading documentation than wasting people’s time by asking …)

- http://context.aanhet.net/svn/contextman/context-reference/en/co-typography.pdf
- http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: oldstyle numbers
  2009-09-16 10:34     ` Wolfgang Schuster
@ 2009-09-16 10:35       ` Arno Trautmann
  0 siblings, 0 replies; 7+ messages in thread
From: Arno Trautmann @ 2009-09-16 10:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 453 bytes --]

Wolfgang Schuster wrote:
> 
> Am 16.09.2009 um 12:25 schrieb Arno Trautmann:
> 
>> Just for future questions: Where could I have found this? (I prefer
>> reading documentation than wasting people’s time by asking …)
> 
> -
> http://context.aanhet.net/svn/contextman/context-reference/en/co-typography.pdf
> 
> -
> http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf

Thanks again, that will help me a lot!

Arno


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: oldstyle numbers
  2009-09-16 10:21 ` Wolfgang Schuster
  2009-09-16 10:25   ` Arno Trautmann
@ 2009-09-16 11:52   ` Matthijs Kooijman
  1 sibling, 0 replies; 7+ messages in thread
From: Matthijs Kooijman @ 2009-09-16 11:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 138 bytes --]

Hi,

> \definefontfeature[default][default][onum=yes]
Just for rerefence, this works for me as well using MkIV and luatex.

Gr.

Matthijs

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Oldstyle numbers
  2014-05-21  9:06   ` Hans Hagen
@ 2014-05-21  9:11     ` Werner Hintze
  0 siblings, 0 replies; 7+ messages in thread
From: Werner Hintze @ 2014-05-21  9:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1519 bytes --]

Wow! Thank you. Now I unterstand.


On 21 May 2014, at 11:06, Hans Hagen wrote:

> On 5/21/2014 10:58 AM, Werner Hintze wrote:
>> I’m new to ConText and so my question may be a stupid one. But I 
>> hope
>> somebody can help me:
>>
>> How can I activate »old style numbers« (Medievalziffern). I 
>> thought, it
>> should work like this:
>>
>> \setupbodyfont[palatino, 10pt]
>> \definefontfeature [default] [default] [onum=yes]
>>
>> But this doesn’t work. What do I have to do?
>
> first redefine the feature, then load the bodyfont, so swap these 
> commands
>
> Hans
>
> -----------------------------------------------------------------
>                                        Hans Hagen | PRAGMA ADE
>            Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>  tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 1871 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-05-21  9:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-16 10:07 oldstyle numbers Arno Trautmann
2009-09-16 10:21 ` Wolfgang Schuster
2009-09-16 10:25   ` Arno Trautmann
2009-09-16 10:34     ` Wolfgang Schuster
2009-09-16 10:35       ` Arno Trautmann
2009-09-16 11:52   ` Matthijs Kooijman
     [not found] <8B93369C-9390-4C49-BE99-7C66CD113ED0@posteo.de>
2014-05-21  8:58 ` Fwd: Oldstyle numbers Werner Hintze
2014-05-21  9:06   ` Hans Hagen
2014-05-21  9:11     ` Werner Hintze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).