From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50200 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: Capital number when onum=yes? Date: Mon, 11 May 2009 08:52:52 +0200 Message-ID: References: <20090510162558.GA943@Fity> <4A072EBA.3040806@wxs.nl> <20090511020555.GA9574@Fity> <20090511063940.GA12927@Fity> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242024859 16259 80.91.229.12 (11 May 2009 06:54:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2009 06:54:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 11 08:54:11 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1M3POs-0003lf-9Y for gctc-ntg-context-518@m.gmane.org; Mon, 11 May 2009 08:54:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1584D1FDA2; Mon, 11 May 2009 08:54:09 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24759-01; Mon, 11 May 2009 08:53:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D865C1FC27; Mon, 11 May 2009 08:53:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B4A8C1FC27 for ; Mon, 11 May 2009 08:53:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24760-01 for ; Mon, 11 May 2009 08:53:09 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by ronja.ntg.nl (Postfix) with ESMTP id 378EF1FBE8 for ; Mon, 11 May 2009 08:53:09 +0200 (CEST) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.113]) by filter3-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4AIhxDh026823 for ; Sun, 10 May 2009 20:43:59 +0200 Original-Received: from [87.178.86.37] (account tschmit1@uni-bonn.de HELO [192.168.0.2]) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.2.12) with ESMTPA id 16602647 for ntg-context@ntg.nl; Mon, 11 May 2009 08:53:08 +0200 In-Reply-To: <20090511063940.GA12927@Fity> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.220.15.113; country=DE; region=07; city=Bonn; latitude=50.7333; longitude=7.1000; http://maps.google.com/maps?q=50.7333,7.1000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 222709373 - 295f38da298e - 20090511 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:50200 Archived-At: On May 11, 2009, at 8:39 AM, Corsair wrote: > Thanks you for the reply! But it doesn't work for me, because small > cap numbers in Adobe Caslon Pro are themselves old-style... I don't use XeTeX, but this works in mkiv: \definefontfeature [mydefault] [mode = node ,script=latn,language=dflt,liga=yes,onum=yes,kern=yes,tlig=yes,trep=yes] \definefontfeature [mycaps] [mode =node,script=latn,language=dflt,liga=yes,lnum=yes,kern=yes,smcp=yes] \starttypescript [serif] [caslon] \definefontsynonym [Caslon-Roman] [name:acaslonproregular] [features=mydefault] \definefontsynonym [Caslon-Bold] [name:acaslonprobold] [features=mydefault] \definefontsynonym [Caslon-Italic] [name:acaslonproitalic] [features=mydefault] \definefontsynonym [Caslon-Bold-Italic] [name:acaslonprobolditalic] [features=mydefault] \definefontsynonym [Caslon-SmallCaps] [name:acaslonproregular] [features=mycaps] \stoptypescript \starttypescript [serif] [caslon] \definefontsynonym [Serif] [Caslon-Roman] [features=mydefault] \definefontsynonym [SerifItalic] [Caslon-Italic] [features=mydefault] \definefontsynonym [SerifBold] [Caslon-Bold] [features=mydefault] \definefontsynonym [SerifBoldItalic] [Caslon-Bold-Italic] [features=mydefault] \definefontsynonym [SerifCaps] [Caslon-SmallCaps] [features=mycaps] \stoptypescript \starttypescript [Caslon] \definetypeface [Caslon] [rm] [serif] [caslon] [default] \stoptypescript \usetypescript[Caslon] \setupbodyfont[Caslon,12pt] \starttext These are oldstyle: 1 2 3 4 5 6 7 8 9 0 {\sc These are not: 1 2 3 4 5 6 7 8 9 0} \stoptext HTH Thomas ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________