Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.postscript Subject: Re: Show on several pages Date: Mon, 25 Jun 2012 09:33:54 +0200 Organization: Decebal Computing Lines: 28 Message-ID: <87395jlual.fsf@Compaq.site> References: <87bok8kx3e.fsf@Compaq.site> NNTP-Posting-Host: lYLrXPFpjyZ8237ODaoN+w.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:qe235b67hxVGPV5EJwhV7gSFaf8= X-Homepage: http://www.decebal.nl/ Xref: csiph.com comp.lang.postscript:759 Op maandag 25 jun 2012 08:47 CEST schreef ken@spamcop.net: > In article <87bok8kx3e.fsf@Compaq.site>, Cecil@decebal.nl says... > >> But the text: >> Line to show on page one and two >> is only shown on the first page. Is what I want not possible, or am I >> doing something wrong? > > save only saves the graphics state (colour font, linewidth etc), it > doesn't save any marks on the page. showpage implicitly erases the new > page, so the new page is blank. > > If you want to repeat a 'show' operation you actually need to repeat the > sequence of marking operators. > > There are a number of ways of doing this, the simplest being to just > repeat the code. If you explain what it is you need to achieve I could > offer more concrete advice. I want to 'revel' something more every page. I think that I should make a function that makes page one and call that from page two, which is also a function, which is called from page three, … -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof