ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Eckhart Guthöhrlein" <eckhart.guthoehrlein@uni-bielefeld.de>
Subject: Re: oldstyle figures
Date: Mon, 18 Apr 2005 15:04:40 +0200	[thread overview]
Message-ID: <20050418130440.GB21230@cebitec.uni-bielefeld.de> (raw)
In-Reply-To: <opso6jnyk5u9mfh0@lamar.colostate.edu>

On Wed, 13 Apr 2005 at 10:49:00-0600, Idris Samawi Hamid wrote:
> On Wed, 13 Apr 2005 15:23:47 +0200, Eckhart Guthöhrlein 
> <eckhart.guthoehrlein@uni-bielefeld.de> wrote:
> 
> >Hi all,
> >
> >is there a way to set up oldstyle figures as the default? I have found
> >some stuff searching the archive, but it doesn't really help me to get
> >along.
> 
> =================================================================
> \starttext
> 
> \usetypescript [modern][\defaultencoding]
> \usetypescript [map]   [latin-modern-os] [\defaultencoding]
> 
> \setupbodyfont[modern] test 1234 test
> 
> \stoptext
> =================================================================
> 
> And I'm working on a ConTeXt magazine where I show how to do this.

Thanks Idris, it works (if you put the \usetypscript commands before
\starttext). Here comes the followup question: How to make it work with
the \digits command?
\digits{1234567890} gives ordinary figures. I guess this is because of
an implicit switch to math mode. So, how to tell \digits to use oldstyle
figures, and/or how to make them the math mode default?

-- 
Eckhart

  reply	other threads:[~2005-04-18 13:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-13 13:23 Eckhart Guthöhrlein
2005-04-13 16:49 ` Idris Samawi Hamid
2005-04-18 13:04   ` Eckhart Guthöhrlein [this message]
2005-04-18 20:59   ` Ciro Soto
     [not found] <426D5810@webmail.colostate.edu>
2005-04-19  7:56 ` Eckhart Guthöhrlein
2005-04-19 15:02 Idris Samawi Hamid

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=20050418130440.GB21230@cebitec.uni-bielefeld.de \
    --to=eckhart.guthoehrlein@uni-bielefeld.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).