From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79843 Path: news.gmane.org!not-for-mail From: Troy Henderson Newsgroups: gmane.comp.tex.context Subject: Resetting Page Numbers Date: Mon, 10 Dec 2012 10:11:21 -0600 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1850014837==" X-Trace: ger.gmane.org 1355155896 15240 80.91.229.3 (10 Dec 2012 16:11:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2012 16:11:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 10 17:11:50 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 1Ti5xH-0000Fn-MI for gctc-ntg-context-518@m.gmane.org; Mon, 10 Dec 2012 17:11:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C971D10225; Mon, 10 Dec 2012 17:11:30 +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 f32C46RfFMZw; Mon, 10 Dec 2012 17:11:28 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0B70410218; Mon, 10 Dec 2012 17:11:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 27F4010218 for ; Mon, 10 Dec 2012 17:11:26 +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 RX1MTW-kFJPQ for ; Mon, 10 Dec 2012 17:11:25 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 5416010205 for ; Mon, 10 Dec 2012 17:11:25 +0100 (CET) Original-Received: from mail-oa0-f41.google.com (mail-oa0-f41.google.com [209.85.219.41]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qBAGBLbT025847 for ; Mon, 10 Dec 2012 17:11:22 +0100 Original-Received: by mail-oa0-f41.google.com with SMTP id k14so3385217oag.14 for ; Mon, 10 Dec 2012 08:11:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=2k0eEdAZJvFwnXgXtMHDSytCUsIaW8lI6GwYdi+1TG8=; b=xh3lXdm8NUi6xoHah+Fus+3iLBdhORyvrX9qKu1j5uiue5M4ER7h1Llvb/z3lDjrhP feT2ARzCJ/fjopKpZdUjHvhjHCOtpML2qfeDGdqPoOssrhjuc7AAdLosFQVASif7S3Oa msOcFrbwueiigEv1DJa6sjOOwZSYDP9xEx5gF4BO9m4SxgnmLBNdtCPY7XS0bGtR6spu SEop8pHFn1wf6s9GQRBQRExq6aO5Pfkz///zfJpJHvGYSXiXCYrsqKa8sLxQb5+0RjQn L1pc/MbKrMzco10OBsoP2ELgkPLmbVCC55dA094xZ/1HSTr1FMl2WRbl6NOX0kxjAyEn LL/g== Original-Received: by 10.60.28.74 with SMTP id z10mr7694291oeg.29.1355155881407; Mon, 10 Dec 2012 08:11:21 -0800 (PST) Original-Received: by 10.76.167.134 with HTTP; Mon, 10 Dec 2012 08:11:21 -0800 (PST) X-Bayes-Prob: 0.0007 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.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: 07IxQbmjz - 7ef408d1349f - 20121210 (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:79843 Archived-At: --===============1850014837== Content-Type: multipart/alternative; boundary=e89a8ff1c170ed36a704d081d056 --e89a8ff1c170ed36a704d081d056 Content-Type: text/plain; charset=ISO-8859-1 I would like to reset the page number counter after the first (title) page. Currently, I have \setupfooter[state=empty] \setuppagenumbering[location={footer,middle}] \setupfootertexts[Page \currentpage\ of \lastpage] \starttext This is my title page \page \resetnumber[page] This is page 1. \page This is page 2. \stoptext but the second page footer renders as "Page 2 of 3" and the third page footer renders as "Page 3 of 3". I would like the second page footer to render "Page 1 of 2" and the third page footer to render "Page 2 of 2". That is, I would like the first (title) page to not be used in the computation of \currentpage or \lastpage. Troy Henderson --e89a8ff1c170ed36a704d081d056 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I would like to reset the page number counter after the first (title) page.= =A0 Currently, I have

\setupfooter[state=3Dempty]
\setuppagenumbe= ring[location=3D{footer,middle}]
\setupfootertexts[Page \currentpage\ of= \lastpage]
\starttext
=A0=A0=A0 This is my title page
=A0=A0=A0 \page
=A0=A0= =A0 \resetnumber[page]
=A0=A0=A0 This is page 1.
=A0=A0=A0 \page
= =A0=A0=A0 This is page 2.
\stoptext

but the second page footer re= nders as "Page 2 of 3" and the third page footer renders as "= ;Page 3 of 3".=A0 I would like the second page footer to render "= Page 1 of 2" and the third page footer to render "Page 2 of 2&quo= t;.=A0 That is, I would like the first (title) page to not be used in the c= omputation of \currentpage or \lastpage.

Troy Henderson
--e89a8ff1c170ed36a704d081d056-- --===============1850014837== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1850014837==--