From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77799 Path: news.gmane.org!not-for-mail From: john Culleton Newsgroups: gmane.comp.tex.context Subject: Re: Italic page number. Date: Tue, 7 Aug 2012 10:22:04 -0400 Organization: WexfordPress Message-ID: <20120807102204.630636a3@sda3.wexfordpress.net> References: <20120804203700.1795e2d6@sda3.wexfordpress.net> <399B1830-5142-4570-ABE4-D987FEC8881A@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344348980 10421 80.91.229.3 (7 Aug 2012 14:16:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 14:16:20 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 07 16:16:20 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Syka0-00053c-9Z for gctc-ntg-context-518@m.gmane.org; Tue, 07 Aug 2012 16:16:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2BF710207; Tue, 7 Aug 2012 16:16:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8MEMzEK+DsxK; Tue, 7 Aug 2012 16:16:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D6FE0101F8; Tue, 7 Aug 2012 16:16:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63D7A101F8 for ; Tue, 7 Aug 2012 16:16:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dCVg+9qu4TJn for ; Tue, 7 Aug 2012 16:16:09 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 792D7101F3 for ; Tue, 7 Aug 2012 16:16:09 +0200 (CEST) Original-Received: from qmta02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:24]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q77EG7ka003622 for ; Tue, 7 Aug 2012 16:16:08 +0200 Original-Received: from omta09.westchester.pa.mail.comcast.net ([76.96.62.20]) by qmta02.westchester.pa.mail.comcast.net with comcast id jn0o1j0050SCNGk51qG9wf; Tue, 07 Aug 2012 14:16:09 +0000 Original-Received: from sda3.wexfordpress.net ([68.50.233.152]) by omta09.westchester.pa.mail.comcast.net with comcast id jqGE1j00W3HwwZ83VqGET5; Tue, 07 Aug 2012 14:16:15 +0000 In-Reply-To: <399B1830-5142-4570-ABE4-D987FEC8881A@gmail.com> X-Mailer: Claws Mail 3.7.10cvs86 (GTK+ 2.24.4; i686-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2001:558:fe14:43:76:96:62:24; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VHHOg77D - 50e09d0c990d - 20120807 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77799 Archived-At: On Sun, 5 Aug 2012 09:39:24 +0200 Wolfgang Schuster wrote: > > Am 05.08.2012 um 02:37 schrieb john Culleton : > > > IMO the following code should result in an italic iii on the > > contents page. Instead I get a roman 1. > > ------------------- > > \startfrontmatter > > \setuppagenumbering[alternative=doublesided,conversion=romannumerals] > > \setuppagenumber[number=iii] > > \setuppagenumber[state=start] > > \completecontent > > ------------------------------ > > I have tried variations such as a single \setupagenumber with two > > parameters, using \page[iii] instead and so on. > > > > This ought to be a smple task: start page numbering on the > > contents page with iii. But I haven't mastered it yet. > > \setuppagenumbering[alternative=doublesided] > > % You can use this instead of > \setuppagenumbering[numberconversion=romannumerals] % to set the > conversion of the pagenumber outside of the sectionblock environment, > % the first argument takes the name of the conversion which is > applied to the % userpage counter with > \setupcounter[userpage][numberconversionset=pagenumber]. % % You can > set a conversion for a certain sectionblock when you write the name % > of the block before the name of the conversion set separated by a > ___:___. % > %\defineconversionset[frontpart:pagenumber][][romannumerals] > > \startsectionblockenvironment[frontpart] > > \setuppagenumbering[numberconversion=romannumerals] > > \setcounter[userpage][3] > > \stopsectionblockenvironment > > \startsectionblockenvironment[bodypart] > > \setcounter[userpage][1] > > \stopsectionblockenvironment > > \starttext > > \startfrontmatter > > \completecontent > > \stopfrontmatter > > \startbodymatter > > \dorecurse{100} > {\chapter{Chapter #1} > \dorecurse{5} > {\section{Section #1.##1}}} > > \stoptext > > BTW: Send next time a complete minimal example. > > Wolfgang > Thanks very much. Playing with your code I discovered that if I use: ------------------------------------------------------------ \defineconversionset[frontpart:pagenumber][][romannumerals] ------------------------------------------------------------- in your example then the following statement is not needed --------------------------------------------------------- \setuppagenumbering[numberconversion=romannumerals] ---------------------------------------------------- but not vice versa. So the last statement quoted is defective in some way or so it seems to me. In any case I now have code that works. Is the command \defineconversionset documented anywhere or do I have to dig into the macro code? -- John Culleton Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Police Procedural and Expose: "Death Wore Black" "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________