From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77803 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Italic page number. Date: Tue, 7 Aug 2012 17:44:25 +0200 Message-ID: References: <20120804203700.1795e2d6@sda3.wexfordpress.net> <399B1830-5142-4570-ABE4-D987FEC8881A@gmail.com> <20120807102204.630636a3@sda3.wexfordpress.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344354278 24476 80.91.229.3 (7 Aug 2012 15:44:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 15:44:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 07 17:44:39 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 1SylxV-0002ED-CR for gctc-ntg-context-518@m.gmane.org; Tue, 07 Aug 2012 17:44:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 72CC01024C; Tue, 7 Aug 2012 17:44:36 +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 p1drqEEB2n0L; Tue, 7 Aug 2012 17:44:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7F8B71020E; Tue, 7 Aug 2012 17:44:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 12F5D1020E for ; Tue, 7 Aug 2012 17:44:34 +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 oa5uRJ06hu3p for ; Tue, 7 Aug 2012 17:44:29 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 6EA40101F8 for ; Tue, 7 Aug 2012 17:44:29 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q77FiSa6021852 for ; Tue, 7 Aug 2012 17:44:28 +0200 Original-Received: by bkcjc3 with SMTP id jc3so2075929bkc.14 for ; Tue, 07 Aug 2012 08:44:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=af15hxGj1jY8o/Qf3MaIHvkyIqE8YGRSFDN96DQd/Ao=; b=rE/AnI8MIP6dzXaVHJnRMpZjjVBtqrgeCiHMZno0owMq0cROJqAov9tVa5KdhdfpXL KKNGcY8XyX9JurH1QhmYzRpeGNLEXbJOClfNFlLvVFPquov3EB00sPlAnsxvfAoWgfkE l6hCGZIQCQWrdBPIaNH0RI++m4tXYS/mdVcESIsp0SDRwgjZlPFyKniIos5mnBCicSc6 +l2iNvLkoOsNrLYR10khYEUT5/6aC3WfuAf+5A5HD0OWp7Q6+6J3ec8W1vq/x/QmIHg+ cLX/Rbbcs//xQnd+v9cn08yB6SvT7fky6igDkj7MXJSzXdd1PYR6JfPMQwNONYW0F8Qr s0Eg== Original-Received: by 10.204.132.77 with SMTP id a13mr5847318bkt.99.1344354268150; Tue, 07 Aug 2012 08:44:28 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFBDE5.dip.t-dialin.net. [87.175.189.229]) by mx.google.com with ESMTPS id c18sm9062313bkv.8.2012.08.07.08.44.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2012 08:44:27 -0700 (PDT) In-Reply-To: <20120807102204.630636a3@sda3.wexfordpress.net> X-Mailer: Apple Mail (2.1485) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0THHPIsio - 102bb9d6094d - 20120807 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:77803 Archived-At: Am 07.08.2012 um 16:22 schrieb john Culleton : > 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. See my other mail for the correct usage of numberconversion. > Is the command \defineconversionset documented anywhere or do I have to dig > into the macro code? You can find a explanation of the command in the mail archive but you have to look for old name \definestructureconverionset. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________