From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20116 Path: news.gmane.org!not-for-mail From: varheit@gmx.de Newsgroups: gmane.comp.tex.context Subject: Old-style figures throughout the document Date: Wed, 27 Apr 2005 13:52:40 +0200 (MEST) Message-ID: <15446.1114602760@www73.gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114602571 11394 80.91.229.2 (27 Apr 2005 11:49:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2005 11:49:31 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 27 13:49:28 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 1DQl2L-0001yZ-Bh for gctc-ntg-context-518@m.gmane.org; Wed, 27 Apr 2005 13:49:01 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E1268127BD; Wed, 27 Apr 2005 13:54:25 +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 24698-05; Wed, 27 Apr 2005 13:54:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 833F0127B8; Wed, 27 Apr 2005 13:52:41 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B2A67127B8 for ; Wed, 27 Apr 2005 13:52:40 +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 24698-04 for ; Wed, 27 Apr 2005 13:52:40 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 20D6D1277C for ; Wed, 27 Apr 2005 13:52:40 +0200 (CEST) Original-Received: (qmail 18098 invoked by uid 0); 27 Apr 2005 11:52:40 -0000 Original-Received: from 62.245.183.130 by www73.gmx.net with HTTP; Wed, 27 Apr 2005 13:52:40 +0200 (MEST) Original-To: ntg-context@ntg.nl X-Priority: 3 (Normal) X-Authenticated: #913228 X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 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:20116 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20116 Hello, I am experimenting with old-style figures (or text figures, as they are also called). Basically, I would like every number in my source document to be typeset in old-style figures (OSF) by default unless stated otherwise. This means: I want to reverse the mechanism so that I can explicitly say where NOT to use OSF. As a work-around I found the following on the list: \defineconversion[number][\os] \defineconversion[numbers][\os] This does not work for plain digits in the text, but it works for generated numbers like page numbers, and, to some degree, for the generated numbers of floats. \starttext \chapter[sample]{Sample} \placefigure[here][a]{cap}{test} Reference: \in{figure}[a] \section[test]{Test} \stoptext In this setup, chapter numbers do not use OSF, and the numbers of figures (as well as references to them) use a mixed form, which looks rather odd. I can add \setuphead[chapter,section][numberstyle=\os] which makes heading numbers use OSF, but then again, references like \in[sample] do not work. Also, the numbering of the section changes from 1.1 to 1>1 (where > is a right pointing triangle). To see the results, you can process this: ------------------------ cut here --------------------- \defineconversion[number][\os] \defineconversion[numbers][\os] \setuphead[chapter,section][numberstyle=\os] \starttext \chapter[sample]{Sample} This is chapter \in[sample]. Below is \in{section}[test]. Here is \in{figure}[a] on \at{page}[a] \placefigure[here][a]{Caption}{FIGURE} \section[test]{Test} \stoptext ------------------------ cut here --------------------- Is there any way, to change the numbering style globally? Thanks, Viktor -- +++ GMX - die erste Adresse für Mail, Message, More +++ 10 GB Mailbox, 100 FreeSMS http://www.gmx.net/de/go/topmail