From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39328 Path: news.gmane.org!not-for-mail From: Jesse Alama Newsgroups: gmane.comp.tex.context Subject: Re: old-style numerals and . Date: Wed, 27 Feb 2008 16:29:42 -0800 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204158697 24704 80.91.229.12 (28 Feb 2008 00:31:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2008 00:31:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 28 01:32:01 2008 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 1JUWgo-0003kZ-PS for gctc-ntg-context-518@m.gmane.org; Thu, 28 Feb 2008 01:31:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9CA181FBCB; Thu, 28 Feb 2008 01:31:26 +0100 (CET) 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 23291-02-2; Thu, 28 Feb 2008 01:30:27 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 38B6E1FB82; Thu, 28 Feb 2008 01:30:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D9B961FB82 for ; Thu, 28 Feb 2008 01:30:24 +0100 (CET) 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 23663-01-3 for ; Thu, 28 Feb 2008 01:29:47 +0100 (CET) Original-Received: from smtp-roam.Stanford.EDU (smtp-roam.Stanford.EDU [171.64.10.152]) by ronja.ntg.nl (Postfix) with ESMTP id DAF381FB7E for ; Thu, 28 Feb 2008 01:29:45 +0100 (CET) Original-Received: from localhost (calaveras.Stanford.EDU [128.12.173.46]) (authenticated bits=0) by smtp-roam.Stanford.EDU (8.12.11/8.12.11) with ESMTP id m1S0Tg03017449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 27 Feb 2008 16:29:43 -0800 In-Reply-To: (Idris Samawi Hamid's message of "Fri, 22 Feb 2008 22:06:47 -0700") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (darwin) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:39328 Archived-At: "Idris Samawi Hamid" writes: > On Fri, 22 Feb 2008 20:03:12 -0700, Jesse Alama wrote: > >> I tried switching to nice old-style numerals for a table of contents, >> and found to my chagrin that the periods in the numbers, such as the "." >> in "2.3", get typeset as triangles. You can see the result (verified on >> the live context in the garden) with >> >> \starttext >> {\os 2.3} >> \stoptext >> >> What's going on? How can I get periods rather than triangles? > > If you are using pdfTeX, you have to switch to an encoding that uses > oldstyle numerals. This is because the knuthian font with oldstyle is a > special, not general purpose, font, and has triangles where the period > would be etc. You have to activate oldstyle globally for any but the most > narrow purposes. > > Something like the following > > \usetypescript[modern-base][texnansi] % a simplified latin-modern > typescript > \usetypescript [map] [latin-modern-os] [texnansi] > \setupbodyfont[reset] > \setupbodyfont[modern,11pt] > > used to work in mkii (pdftex + context) but I don't know if it still does > -- mkii support for oldstyle has not been a stable feature (due to the > changes from cm to lm): I had to recalibrate every couple of years or so. > So try and see. It looks like this is more complicated than I thought. What would I do if I wanted old-style numerals just for a table of contents? Currently, my table of contents is set up like so: \setupcombinedlist[content][alternative=c,numberstyle={\os},pagestyle={\os}] This produces the triangles for periods, and I think I understand why that is so. What value should go in for the numberstyle key to enable old-style numerals just for the table of contents? Thanks, Jesse -- Jesse Alama (alama@stanford.edu) ___________________________________________________________________________________ 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 ___________________________________________________________________________________