From: Willi Egger <context@boede.nl>
To: pavneet_arora@waroc.com,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Why does the oldstyle numerals switch, \os, also switch off m-dashes?
Date: Wed, 30 Nov 2011 20:45:40 +0100 [thread overview]
Message-ID: <99D6A37A-51F8-4B37-B33C-4C684138AA2E@boede.nl> (raw)
In-Reply-To: <4ED681DD.8080506@waroc.com>
Hi Pavneet,
I do not know which font/kind of font you intend to use. So provided the font is a otf-type the following works:
\setupbodyfont[times,rm,12pt]
\definefontfeature[oldstyle][sript=latin,onum=yes]
\starttext
\addff{oldstyle}
1234567890 A Pause---between yes and no.
1234567890 A Pause---between yes and no.
\stoptext
Willi
On 30 Nov 2011, at 20:19, Pavneet Arora wrote:
> Okay another anomaly: I used the example in the FAQs to try to set the feature across the entire document, which is really what I want.
>
> http://wiki.contextgarden.net/FAQ#How_can_I_get_the_.E2.80.9Coldstyle_numbers.E2.80.9D_.28text_figures.29_in_a_document.3F
>
> In a manuscript length project, I wouldn't want to get {\os } for each local instance. Now, what I have noticed was that the small caps switch, \sc, seems to disable old-style numerals. Is this a typographic convention, i.e., that in a run of small caps one should not revert to old-style numerals? Is there a way of avoiding this assumption for a larger project? I sometimes have text set in small caps that as part of a project ID would have some numbers in it. In that case, I would like the old-style numerals to be used.
>
> I again enclose a small example with output.
>
> advTHANKSance.
>
> On 11-11-30 01:30 AM, Wolfgang Schuster wrote:
>>
>> Am 30.11.2011 um 02:19 schrieb Pavneet Arora:
>>
>>> I enclose a minimal example as well as the output. It would seem that the \os causes the m-dash to come out as three hyphens. Is this the expected behavior?
>>
>> Write {\os 123…}, context use a special fontfeature set (with the name “just-os”) for old style figure where where kerning, text ligatures etc. are disabled.
>>
>> Wolfgang
>
> --
> -----
> - Pavneet Arora
>
> Waroc Fine Audio + Custom Home Cinema
> www.waroc.com 416.937.WAROC (9276)
>
> <test.pdf><test.tex>___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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-11-30 19:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-30 1:19 Pavneet Arora
2011-11-30 6:30 ` Wolfgang Schuster
2011-11-30 12:28 ` Pavneet Arora
2011-11-30 19:19 ` Pavneet Arora
2011-11-30 19:45 ` Willi Egger [this message]
2011-11-30 21:19 ` Wolfgang Schuster
2011-11-30 22:01 ` Pavneet Arora
2011-11-30 22:02 ` Hans Hagen
2011-12-02 0:26 ` Pavneet Arora
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=99D6A37A-51F8-4B37-B33C-4C684138AA2E@boede.nl \
--to=context@boede.nl \
--cc=ntg-context@ntg.nl \
--cc=pavneet_arora@waroc.com \
/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).