From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39110 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: How to not reset page numbers with a new part? Date: Wed, 13 Feb 2008 11:12:22 +0100 Message-ID: <115224fb0802130212s6a7f6f52i9c56c28c648862c8@mail.gmail.com> References: <200802121035.20594.bntgcontext@wiseguysweb.com> <90734714-26E3-4B85-9AD3-45ED43A4A70A@boede.nl> <200802121533.52953.bntgcontext@wiseguysweb.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202897578 8709 80.91.229.12 (13 Feb 2008 10:12:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Feb 2008 10:12:58 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 13 11:13:21 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1JPEc9-0007hi-JT for gctc-ntg-context-518@m.gmane.org; Wed, 13 Feb 2008 11:13:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E47201FC7B; Wed, 13 Feb 2008 11:12:47 +0100 (CET) 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 29617-03-10; Wed, 13 Feb 2008 11:12:40 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E06ED1FC6B; Wed, 13 Feb 2008 11:12:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 96CF71FC11 for ; Wed, 13 Feb 2008 11:12:37 +0100 (CET) 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 29617-03-9 for ; Wed, 13 Feb 2008 11:12:23 +0100 (CET) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by ronja.ntg.nl (Postfix) with ESMTP id 598401FC6F for ; Wed, 13 Feb 2008 11:12:23 +0100 (CET) Original-Received: by ug-out-1314.google.com with SMTP id q2so998934uge.50 for ; Wed, 13 Feb 2008 02:12:22 -0800 (PST) Original-Received: by 10.67.30.13 with SMTP id h13mr1708666ugj.45.1202897542382; Wed, 13 Feb 2008 02:12:22 -0800 (PST) Original-Received: by 10.66.252.15 with HTTP; Wed, 13 Feb 2008 02:12:22 -0800 (PST) In-Reply-To: <200802121533.52953.bntgcontext@wiseguysweb.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:39110 Archived-At: On Feb 12, 2008 11:33 PM, Bart Wise wrote: > Willi, > > I tried that and it did do what I wanted. My book has frontmatter and > bodymatter. The page numbering will start at 1 on the title page, displayed > in roman numerals. And then when the bodymatter is entered, the numbering > should get reset to 1. However, when I did a "way=bytext", I could not reset > the numbering to 1 when I was in the bodymatter section. > > Any more hints? > > Just for clarity sake, here's some sample code of what I'm trying to do: > > \enablemode[doublesided] > > \setuppagenumbering[ > location={footer,middle}, > alternative=doublesided, > partnumber=no, > style=\em\tfx, > way=bytext] > > \starttext > > \startfrontmatter > \setuppagenumbering[conversion=romannumerals] > > \startstandardmakeup[headerstate=none] > Half-Title Here > \stopstandardmakeup > > \startstandardmakeup[doublesided=no] > Title Here > \stopstandardmakeup > > \startstandardmakeup[page=no] > Copyright here > \stopstandardmakeup > > \chapter{Preface} \dorecurse{10}{\input tufte } > \stopfrontmatter > > \startbodymatter > \setuppagenumbering[conversion=] > \setuppagenumbering[number=1] \setuppagenumber[number=1] > \part{Part One} > \chapter{first} \dorecurse{10}{\input tufte } > \chapter{second} \dorecurse{10}{\input davis } > \part{Part Two} > \chapter{third} \dorecurse{10}{\input zapf } > \chapter{fourth} \dorecurse{10}{\input bryson } > \stopbodymatter > > \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________