From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86205 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Appendix Page Numbering Date: Thu, 6 Feb 2014 11:53:36 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391684023 23147 80.91.229.3 (6 Feb 2014 10:53:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2014 10:53:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 06 11:53:53 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WBMae-0003RW-Ut for gctc-ntg-context-518@m.gmane.org; Thu, 06 Feb 2014 11:53:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 28608101EF; Thu, 6 Feb 2014 11:53:52 +0100 (CET) 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 r--PCVSPVBFW; Thu, 6 Feb 2014 11:53:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CDE00101E9; Thu, 6 Feb 2014 11:53:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 25260101E9 for ; Thu, 6 Feb 2014 11:53:50 +0100 (CET) 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 UQF67Uxbzxfo for ; Thu, 6 Feb 2014 11:53:49 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 622C3101E1 for ; Thu, 6 Feb 2014 11:53:49 +0100 (CET) Original-Received: from mail-ea0-x231.google.com (mail-ea0-x231.google.com [IPv6:2a00:1450:4013:c01::231]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s16ArcuX006153 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Thu, 6 Feb 2014 11:53:48 +0100 Original-Received: by mail-ea0-f177.google.com with SMTP id n15so815682ead.8 for ; Thu, 06 Feb 2014 02:53:38 -0800 (PST) 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; bh=rSEI7sP2XgGpjiNyXaXoYTsKKGbn07G3xOZ25nvaL4M=; b=K7+B45pi7U+ofSLhR1gQ5ZBBy06ngzmTT6VyLnDZT67Epwx8AVRZEgP9tZyuKygH/w kktDv81ZOAzdTehEbvvE7QTew2Ay2XX4AI5Tfs4aM5CEZVi69PrEm/bQQUH8mlx8rHQP UugTR/SPPvuK3jZqtqX2/ZKqi4/to/5K794cTrPAvPnB5I1xoO7zW8OnfaFLdij3oI/4 Px8dpQi93UWLNfVohLeUemYGqmiBGEqUQjn/PLf6+AZNJpm+8yv4rpWteyTGTDjLNwqY 735bXgf1egYioApl4NAXKgNGIrpop3jKFiw1zq0hJORgNEn/L9Zhc1OspCfrBYaIKAlU AhlA== X-Received: by 10.14.110.68 with SMTP id t44mr438407eeg.74.1391684018365; Thu, 06 Feb 2014 02:53:38 -0800 (PST) Original-Received: from keima.localdomain (x2f2560f.dyn.telefonica.de. [2.242.86.15]) by mx.google.com with ESMTPSA id 8sm2136266eeq.15.2014.02.06.02.53.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Feb 2014 02:53:36 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1827) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::231; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03LmWRC3U - 16cab8b1bcd3 - 20140206 (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:86205 Archived-At: Am 06.02.2014 um 04:17 schrieb Troy Henderson : > To give an idea of what I am wanting, the attached screenshot is from Evince for a particular PDF that was created with some other program other than ConTeXt. Notice the custom page number names such as "Statement", "P-1", "P-5", ..., "P-25", "APP-1", "APP-3", ... > > How can I get this with ConTeXt? \defineconversionset[frontpart:pagenumber][][romannumerals] \definesectionblock[project][projectmatter] \startsectionblockenvironment[project] \setcounter[userpage][1] \setuppagenumber[numberstarter=P-] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setcounter[userpage][1] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setcounter[userpage][1] \setuppagenumber[numberstarter=APP-] \stopsectionblockenvironment \starttext \startfrontmatter \dorecurse{10}{\dontleavehmode\page} \stopfrontmatter \startprojectmatter \dorecurse{10}{\dontleavehmode\page} \stopprojectmatter \startbodymatter \dorecurse{10}{\dontleavehmode\page} \stopbodymatter \startappendices \dorecurse{10}{\dontleavehmode\page} \stopappendices \stoptext 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 ___________________________________________________________________________________