From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4668 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: fix pages Date: Sun, 13 May 2001 15:29:34 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010513152934.009b7570@server-1> References: <3.0.6.32.20010511175426.00b79100@server-1> <3AFC2A47.9C409D8F@elektron.its.tudelft.nl> <87g0ebt4jd.fsf@dellius.nederware.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035395314 27629 80.91.224.250 (23 Oct 2002 17:48:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:48:34 +0000 (UTC) Cc: Context Mailinglist Original-To: "P. van Kranenburg" In-Reply-To: <3AFCF916.8E97DDBF@elektron.its.tudelft.nl> Xref: main.gmane.org gmane.comp.tex.context:4668 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4668 At 10:49 AM 5/12/01 +0200, P. van Kranenburg wrote: >Berend de Boer wrote: >> >> "P. van Kranenburg" writes: >> >> > But now, when I insert pages before the group, the first page of the >> > group will get another "realpagenumber". In my case the first page of >> > the group must be "realpage" 33, because at that page a new gathering >> > starts. >> > Just wondering if there is a elegant way to handle this. >> > If this isn't possible, I'll insert this group of pages when the >> > preceding text will not change anymore. >> >> I think you can set the page number with >> >> \setuppagenumber >> [number=10] >> >> I'm not sure what you mean with real page? >> >pagenumber -1 -2 -3 -4 -5 1 2 3 4 5 6 7 8 I II III 9 10 >real page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 > >I call it realpage because in ConTeX you can get it with \the\realpage >To say it in another way: I want a certain page to be the 33th page >in my output. given that you know how to handle the numbering [see earlier mails]: \def\MyInsert% {\ifnum\realpageno=10 \dorecurse{5}{whow \page} \fi} \appendtoks \MyInsert \to \everyaftershipout \starttext \dorecurse{20}{test \page} \stoptext don't tell anyone about this hack, should be proper functionality. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------