From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39329 Path: news.gmane.org!not-for-mail From: "Idris Samawi Hamid" Newsgroups: gmane.comp.tex.context Subject: Re: old-style numerals and . Date: Wed, 27 Feb 2008 18:37:58 -0700 Organization: Colorado State University 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 1204162777 3026 80.91.229.12 (28 Feb 2008 01:39:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2008 01:39:37 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 28 02:40:03 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 1JUXkf-0004vO-RL for gctc-ntg-context-518@m.gmane.org; Thu, 28 Feb 2008 02:40:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ACA8D1FBCC; Thu, 28 Feb 2008 02:39:27 +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 27587-04-2; Thu, 28 Feb 2008 02:38:46 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 288A01FB77; Thu, 28 Feb 2008 02:38:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DC25B1FB77 for ; Thu, 28 Feb 2008 02:38:43 +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 31082-02-2 for ; Thu, 28 Feb 2008 02:38:11 +0100 (CET) Original-Received: from trueband.net (director.trueband.net [216.163.120.8]) by ronja.ntg.nl (Postfix) with SMTP id 9D3FD1FB5A for ; Thu, 28 Feb 2008 02:38:11 +0100 (CET) Original-Received: (qmail 20235 invoked by uid 1006); 28 Feb 2008 01:38:09 -0000 Original-Received: from ishamid@colostate.edu by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(0.1/100.0):. Processed in 0.210281 secs); 28 Feb 2008 01:38:09 -0000 Original-Received: from unknown (HELO trueband.net) (172.16.0.20) by -v with SMTP; 28 Feb 2008 01:38:09 -0000 Original-Received: (qmail 24744 invoked from network); 28 Feb 2008 01:38:05 -0000 Original-Received: from unknown (HELO your-b27fb1c401) (75.104.84.217) by -v with SMTP; 28 Feb 2008 01:38:05 -0000 In-Reply-To: User-Agent: Opera Mail/9.24 (Win32) 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:39329 Archived-At: On Wed, 27 Feb 2008 17:29:42 -0700, Jesse Alama wrote: >> 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? In that case you'll have to switch fonts for the TOC. So you still need to have a font setup that supports os, then switch to that font for the TOC. For example, if you can define a latin modern typeface that uses the oldstyle numerals, then \switchtotypeface[my-lm] in your TOC setup. As I mentioned before I'm not sure what the present protocol is for setting up an oldstyle LM typeface in mkii. Basically you want something like %% THIS IS ONLY AN ILLUSTRATION!!! \starttypescript [LModern-OS] \definebodyfontenvironment [lmodern-os] [default] [interlinespace=2.8ex] \definetypeface [lmodern-os] [rm] [serif] [lmodern-os] [latin-modern-os] [texnansi] \stoptypescript %% THIS IS ONLY AN ILLUSTRATION!!! but maybe someone on the list knows the exact protocol. Then you can do \usetypescript[LModern-OS] in your preamble and \switchtotypeface[lmodern-os] where you need it. Once the final move to mkiv is made this will all be much easier... Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________