From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72851 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Why does the oldstyle numerals switch, \os, also switch off m-dashes? Date: Wed, 30 Nov 2011 20:45:40 +0100 Message-ID: <99D6A37A-51F8-4B37-B33C-4C684138AA2E@boede.nl> References: <4ED584AD.8010202@waroc.com> <175D0591-3366-4DAF-A1FD-271F347843DB@googlemail.com> <4ED681DD.8080506@waroc.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1322682364 23053 80.91.229.12 (30 Nov 2011 19:46:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2011 19:46:04 +0000 (UTC) To: pavneet_arora@waroc.com, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 30 20:45:59 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RVq6R-0002gE-DE for gctc-ntg-context-518@m.gmane.org; Wed, 30 Nov 2011 20:45:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 81E01CB113; Wed, 30 Nov 2011 20:45:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Znei0KosEWbe; Wed, 30 Nov 2011 20:45:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6A72CB0FF; Wed, 30 Nov 2011 20:45:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EA301CB0FF for ; Wed, 30 Nov 2011 20:45:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ydj21AAgCP38 for ; Wed, 30 Nov 2011 20:45:42 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 593F7CB04D for ; Wed, 30 Nov 2011 20:45:42 +0100 (CET) Original-Received: from mars.digitpaint.nl (mars.digitpaint.nl [83.98.197.63]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAUJjfIe014258 for ; Wed, 30 Nov 2011 20:45:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mars.digitpaint.nl (Postfix) with ESMTP id D2154F38A4; Wed, 30 Nov 2011 20:45:40 +0100 (CET) Original-Received: from mars.digitpaint.nl ([127.0.0.1]) by localhost (mail.digitpaint.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZvPZKfkk1Hdi; Wed, 30 Nov 2011 20:45:40 +0100 (CET) Original-Received: from willis-computer.fritz.box (a83-161-249-79.adsl.xs4all.nl [83.161.249.79]) by mars.digitpaint.nl (Postfix) with ESMTPA id 96692F3895; Wed, 30 Nov 2011 20:45:40 +0100 (CET) In-Reply-To: <4ED681DD.8080506@waroc.com> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.98.197.63; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07G3vJFbv - 7fbf266a8426 - 20111130 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:72851 Archived-At: Hi Pavneet, I do not know which font/kind of font you intend to use. So provided the fo= nt is a otf-type the following works: \setupbodyfont[times,rm,12pt] \definefontfeature[oldstyle][sript=3Dlatin,onum=3Dyes] \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 f= eature across the entire document, which is really what I want. > = > http://wiki.contextgarden.net/FAQ#How_can_I_get_the_.E2.80.9Coldstyle_num= bers.E2.80.9D_.28text_figures.29_in_a_document.3F > = > In a manuscript length project, I wouldn't want to get {\os } for each lo= cal 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 numeral= s? Is there a way of avoiding this assumption for a larger project? I som= etimes 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 b= e 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 expect= ed behavior? >> = >> Write {\os 123=85}, context use a special fontfeature set (with the name= =93just-os=94) for old style figure where where kerning, text ligatures et= c. are disabled. >> = >> Wolfgang > = > -- = > ----- > - Pavneet Arora > = > Waroc Fine Audio + Custom Home Cinema > www.waroc.com 416.937.WAROC (9276) > = > _____________________________________________________= ______________________________ > 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-co= ntext > 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________