ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Arno Trautmann <Arno.Trautmann@gmx.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: oldstyle numbers
Date: Wed, 16 Sep 2009 12:25:12 +0200	[thread overview]
Message-ID: <4AB0BD08.1010707@gmx.de> (raw)
In-Reply-To: <84C03953-B07B-42FC-B5DF-2A2269C7B8E6@googlemail.com>


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

  reply	other threads:[~2009-09-16 10:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-16 10:07 Arno Trautmann
2009-09-16 10:21 ` Wolfgang Schuster
2009-09-16 10:25   ` Arno Trautmann [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AB0BD08.1010707@gmx.de \
    --to=arno.trautmann@gmx.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).