From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19967 Path: news.gmane.org!not-for-mail From: Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= Newsgroups: gmane.comp.tex.context Subject: Re: oldstyle figures Date: Tue, 19 Apr 2005 09:56:57 +0200 Message-ID: <20050419075657.GA9109@cebitec.uni-bielefeld.de> References: <426D5810@webmail.colostate.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113897345 1640 80.91.229.2 (19 Apr 2005 07:55:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Apr 2005 07:55:45 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 19 09:55:42 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DNnZk-0004oH-Ew for gctc-ntg-context-518@m.gmane.org; Tue, 19 Apr 2005 09:55:17 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 69B431283E; Tue, 19 Apr 2005 09:59:24 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27054-01-5; Tue, 19 Apr 2005 09:59:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 68E341283B; Tue, 19 Apr 2005 09:59:21 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 48C7C1283B for ; Tue, 19 Apr 2005 09:59:20 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27054-01-4 for ; Tue, 19 Apr 2005 09:59:19 +0200 (CEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE (sauron.cebitec.uni-bielefeld.de [129.70.160.28]) by ronja.ntg.nl (Postfix) with ESMTP id 665BE1283A for ; Tue, 19 Apr 2005 09:59:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 14C6C3A9 for ; Tue, 19 Apr 2005 09:59:19 +0200 (MEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (sauron [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06488-02-7 for ; Tue, 19 Apr 2005 09:59:18 +0200 (MEST) Original-Received: from baloo.Genetik.Uni-Bielefeld.DE (baloo.CeBiTec.Uni-Bielefeld.DE [129.70.160.60]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id EF2DD3A4 for ; Tue, 19 Apr 2005 09:59:18 +0200 (MEST) Original-Received: by baloo.Genetik.Uni-Bielefeld.DE (Postfix, from userid 13119) id E11DE1420; Tue, 19 Apr 2005 09:59:18 +0200 (MEST) Original-To: Idris Samawi Hamid Content-Disposition: inline In-Reply-To: <426D5810@webmail.colostate.edu> User-Agent: Mutt/1.4.1i Resent-From: eckhart.guthoehrlein@uni-bielefeld.de Resent-Date: Tue, 19 Apr 2005 09:59:18 +0200 Resent-To: ntg-context@ntg.nl Resent-Message-Id: <20050419075918.E11DE1420@baloo.Genetik.Uni-Bielefeld.DE> X-Virus-Scanned: by amavisd-new at cebitec.uni-bielefeld.de X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:19967 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19967 On Mon, 18 Apr 2005 at 16:30:04-0600, Idris Samawi Hamid wrote: > >So, how to tell \digits to use oldstyle > >figures, and/or how to make them the math mode default? > > Since it switches to math mode, one has to reencode the math fonts, i guess. > In the meantime: > > \def\OSdigits#1{\digits{\os#1}} > > \OSdigits{1234} Unfortunately not. It works in text mode, but produces a bunch of errors in math mode. \digits doesn't seem to like \os in its argument. This definition works here for now: \def\OSdigits#1{\ifmmode{\os\digits{#1}}\else\digits{\os#1}\fi} > should do everything you need: since u're not mixing text in \digits do you > really need a global math font reencoding? In principle yes. For example, $f(x)=3x+7$ should come out with oldstyle figures, if these are used by default, shouldn't it? Btw, striving for good typography, in which cases should oldstyle figures *not* be used? Best regards, -- Eckhart