From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28720 Path: news.gmane.org!not-for-mail From: "Idris Samawi Hamid" Newsgroups: gmane.comp.tex.context Subject: sectionnumber conversion Date: Tue, 20 Jun 2006 19:20:58 -0600 Organization: Colorado State University Message-ID: 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 1150852895 904 80.91.229.2 (21 Jun 2006 01:21:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jun 2006 01:21:35 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 21 03:21:32 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FsrPQ-0003GJ-9y for gctc-ntg-context-518@m.gmane.org; Wed, 21 Jun 2006 03:21:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 20DF2127D6; Wed, 21 Jun 2006 03:21:32 +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 27745-05; Wed, 21 Jun 2006 03:21:26 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3BDF212792; Wed, 21 Jun 2006 03:21:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D69B312792 for ; Wed, 21 Jun 2006 03:21: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 25995-05 for ; Wed, 21 Jun 2006 03:21:18 +0200 (CEST) Original-Received: from trueband.net (trueband.net [216.163.120.10]) by ronja.ntg.nl (Postfix) with SMTP id 538861278D for ; Wed, 21 Jun 2006 03:21:15 +0200 (CEST) Original-Received: (qmail 15126 invoked by uid 1006); 21 Jun 2006 01:21:13 -0000 Original-Received: from ishamid@colostate.edu by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.0. Clear:SA:0(0.0/100.0):. Processed in 0.632828 secs); 21 Jun 2006 01:21:13 -0000 Original-Received: from unknown (HELO trueband.net) (172.16.0.2) by -v with SMTP; 21 Jun 2006 01:21:13 -0000 Original-Received: (qmail 5273 invoked from network); 21 Jun 2006 01:21:07 -0000 Original-Received: from unknown (HELO walayah-main) (70.41.6.58) by -v with SMTP; 21 Jun 2006 01:21:07 -0000 Original-To: "mailing list for ConTeXt users" User-Agent: Opera M2/8.54 (Win32, build 7730) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:28720 Archived-At: Dear fellow gangsters, Consider the following test file; partnumber=on. I would like partnumber to be converted to capital roman numerals while the page numeral remains as an Arabic numeral. Viz., instead of 1--1, 1--2 etc. in the TOC and pagenumbers I would like I--1, I--2 etc. in the TOC and pagenumbers. Is there a command like \setupsectionnumbering[conversion=Romannumerals]? Then I would say, \setuppartnumbering[conversion=Romannumerals] The test file is below. Best Idris =======================part-test.tex================== % output=pdf interface=en \def\PartTitle#1{\noheaderandfooterlines \vbox{\blank[force,7\bodyfontsize] \switchtobodyfont[14.4pt] \midaligned{\cgd #1} }} \setuphead[part][number=no, ownnumber=yes, style=\itd, textcommand=\PartTitle, placehead=yes] \setupsection [section2] [appendixconversion=Character, % Watch the capital previousnumber=no] %\setuppagenumbering[way=bytext,partnumber=no] %\setupcombinedlist[content][partnumber=no] \starttext \startbodymatter \placecontent \part{I}{Body} \chapter{The Body Stuff} \stopbodymatter \startappendices \setupheadnumber[part][+] \part{II}{Appendices} \chapter{Appendix} \stopappendices \stoptext ====================================================== -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/