From: Andreas Harder <aharder@uni-koblenz.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Keep struggling with old style numerals!
Date: Thu, 8 Dec 2011 11:27:37 +0100 [thread overview]
Message-ID: <BF01522C-E77A-4DA1-82A9-871D8DC56DC2@uni-koblenz.de> (raw)
In-Reply-To: <4EE089D6.8010809@ziggo.nl>
On 08.12.2011, at 10:56, Verhaag, G.C.H.M. wrote:
> Hi ConTeXt user's,
>
> A few days ago I installed the latest ConTeXt version but now my oldstyle settings don't seem to work any more!
>
> I use the following settings in my preamble:
>
> \usetypescript[schola]
> \setupbodyfont[schola,10pt]
>
> \definefontfeature [oldstyle] [default] [onum=yes]
> \addff{oldstyle}
Hi,
you can play with my example. It seems "script=auto" (default) is not that robust. Setting it to "latn" or "dflt" should help.
\definefontfeature [default] [default] [script=latin]
\definefontfeature [osf] [onum=yes]
\definefontfeature [oldstyle][default] [onum=yes]
\definealternativestyle [osf] [\addff{osf}] [\addff{osf}]
\setuphead[section][style=osf]
\setupbodyfont[schola]
\starttext
\section{0123456789 -- ---}
{\addff{osf}0123456789 -- ---} \par
{\osf 0123456789 -- ---} \par
{\setff{oldstyle}0123456789 -- ---} \par
{\os 0123456789 -- ---}
\stoptext
Regards
Andreas
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-12-08 10:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-08 9:56 Verhaag, G.C.H.M.
2011-12-08 10:08 ` Paul Menzel
2011-12-08 10:27 ` Andreas Harder [this message]
2011-12-08 12:50 ` Keep struggling with old style numerals! SOLVED! Verhaag, G.C.H.M.
2011-12-09 19:08 ` Hans Hagen
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=BF01522C-E77A-4DA1-82A9-871D8DC56DC2@uni-koblenz.de \
--to=aharder@uni-koblenz.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).