From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28918 Path: news.gmane.org!not-for-mail From: "Idris Samawi Hamid" Newsgroups: gmane.comp.tex.context Subject: sectionnumber conversion redux Date: Tue, 27 Jun 2006 21:29:21 -0600 Organization: Colorado State University Message-ID: References: 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 1151465364 11270 80.91.229.2 (28 Jun 2006 03:29:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jun 2006 03:29:24 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 28 05:29:21 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 1FvQjq-0004a4-U8 for gctc-ntg-context-518@m.gmane.org; Wed, 28 Jun 2006 05:29:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 933F212825; Wed, 28 Jun 2006 05:29:14 +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 29656-08; Wed, 28 Jun 2006 05:29:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DAEE612802; Wed, 28 Jun 2006 05:29:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F00FB12802 for ; Wed, 28 Jun 2006 05:29:03 +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 30717-06 for ; Wed, 28 Jun 2006 05:28:59 +0200 (CEST) Original-Received: from trueband.net (trueband.net [216.163.120.10]) by ronja.ntg.nl (Postfix) with SMTP id 5C4EE127FD for ; Wed, 28 Jun 2006 05:28:58 +0200 (CEST) Original-Received: (qmail 30906 invoked by uid 1006); 28 Jun 2006 03:28:57 -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.689344 secs); 28 Jun 2006 03:28:57 -0000 Original-Received: from unknown (HELO trueband.net) (172.16.0.4) by -v with SMTP; 28 Jun 2006 03:28:56 -0000 Original-Received: (qmail 29748 invoked from network); 28 Jun 2006 03:28:53 -0000 Original-Received: from unknown (HELO walayah-main) (70.41.6.58) by -v with SMTP; 28 Jun 2006 03:28:53 -0000 Original-To: "mailing list for ConTeXt users" In-Reply-To: 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:28918 Archived-At: I sent this a week ago, still awaiting help :-) Idris On Tue, 20 Jun 2006 19:20:58 -0600, Idris Samawi Hamid wrote: 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/