From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72871 Path: news.gmane.org!not-for-mail From: Pavneet Arora Newsgroups: gmane.comp.tex.context Subject: Re: Why does the oldstyle numerals switch, \os, also switch off m-dashes? Date: Thu, 01 Dec 2011 19:26:09 -0500 Organization: Waroc Message-ID: <4ED81B21.3000404@waroc.com> References: <4ED584AD.8010202@waroc.com> <175D0591-3366-4DAF-A1FD-271F347843DB@googlemail.com> <4ED681DD.8080506@waroc.com> <3CE3D006-A05F-4627-B53A-DFE9C9057929@googlemail.com> Reply-To: pavneet_arora@waroc.com, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1322785602 12877 80.91.229.12 (2 Dec 2011 00:26:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2011 00:26:42 +0000 (UTC) Cc: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 02 01:26:38 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 1RWGxY-0002D9-DD for gctc-ntg-context-518@m.gmane.org; Fri, 02 Dec 2011 01:26:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9B0F9CB11E; Fri, 2 Dec 2011 01:26:35 +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 f6Oj6WSDKcdj; Fri, 2 Dec 2011 01:26:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6B7EECB116; Fri, 2 Dec 2011 01:26:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1E8EBCB116 for ; Fri, 2 Dec 2011 01:26:31 +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 QoW3KXbUNaCV for ; Fri, 2 Dec 2011 01:26:19 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 65998CB111 for ; Fri, 2 Dec 2011 01:26:19 +0100 (CET) Original-Received: from mail-vx0-f169.google.com (mail-vx0-f169.google.com [209.85.220.169]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pB20QIgL000927 for ; Fri, 2 Dec 2011 01:26:18 +0100 Original-Received: by vcbfk26 with SMTP id fk26so2580257vcb.14 for ; Thu, 01 Dec 2011 16:26:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:reply-to:organization:user-agent :mime-version:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=FmJPMqIc+ROqyVZAHCznHolj95lWu4Tmzo9UAtwwZlE=; b=hAxbRbXpVGUBdUjNlUmnvHwYrsnr+rZ96xoYAz10Tqq+ocHPiUpgRuNorDAQ41XLTD N9aEdTwJ4Vpy+DzDeoifILeXv6jFfNGy5dj4uKRNh4DYHYHdvzxTo1uLQFpWmzZ7SS2a e2mwnJXztPAuCV5D6zUd7ISuK17Tl9Lxuq8v8= Original-Received: by 10.52.174.46 with SMTP id bp14mr1862464vdc.107.1322785575768; Thu, 01 Dec 2011 16:26:15 -0800 (PST) Original-Received: from [192.168.0.67] (bas2-toronto12-1088943340.dsl.bell.ca. [64.231.244.236]) by mx.google.com with ESMTPS id c10sm8422286vdj.20.2011.12.01.16.26.13 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Dec 2011 16:26:14 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15 In-Reply-To: <3CE3D006-A05F-4627-B53A-DFE9C9057929@googlemail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eG40qikm - e6d0457d41cf - 20111202 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:72871 Archived-At: Just for the sake of completeness, in case someone else stumbles upon this = thread, it should be noted that \definefontfeature needs to be set before = \setupbodyfont, i.e., \definefontfeature[default][default][onum=3Dyes] \definefontfeature[smallcaps][smallcaps][onum=3Dyes] \setupbodyfont[schola,11pt] rather than: \setupbodyfont[schola,11pt] \definefontfeature[default][default][onum=3Dyes] \definefontfeature[smallcaps][smallcaps][onum=3Dyes] I made the mistake of using the latter form in one of my tests and was left wondering why things weren't working. Regards. On 11-11-30 04:19 PM, Wolfgang Schuster wrote: > > Am 30.11.2011 um 20:19 schrieb Pavneet Arora: > >> 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_nu= mbers.E2.80.9D_.28text_figures.29_in_a_document.3F >> >> In a manuscript length project, I wouldn't want to get {\os } for each l= ocal instance. Now, what I have noticed was that the small caps switch, \s= c, 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 numera= ls? Is there a way of avoiding this assumption for a larger project? I so= metimes 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. > > No, the answer is that smallcaps are activated with the =93smcp=94 featur= e and this is applied to the regular style with the =93smallcaps=94 set. To= get now old style figures when you use smallcaps letters you need also thi= s setup: > > \definefontfeature[smallcaps][smallcaps][onum=3Dyes] > > 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 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 ___________________________________________________________________________= ________