From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2258 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Backgrounds Date: Fri, 09 Jun 2000 18:17:22 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20000609181722.013d5c10@pop.wxs.nl> References: <3940C866.4A3F4F79@forprint.se> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035393046 7357 80.91.224.250 (23 Oct 2002 17:10:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:10:46 +0000 (UTC) Cc: "ntg-context@ntg.nl" Original-To: Anders Alstrin In-Reply-To: <3940C866.4A3F4F79@forprint.se> Xref: main.gmane.org gmane.comp.tex.context:2258 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2258 At 11:35 AM 6/9/2000 +0100, Anders Alstrin wrote: >And I canīt figure out from the context manual (page 150) how to do this >on >an existing two sided pdf? > >\starttext >\setupoutput[pdftex] > >\defineoverlay > [mall] > [{\externalfigure[v_mall.pdf]}] > >\setupbackgrounds > [page] > [background=mall] > >\copypages > [visit1_p.pdf] > >\stoptext You may try: \defineoverlay [mall] [{\ifnum\realpageno=1 \externalfigure[v_mall.pdf]\fi}] ^ space is essential since page overlays are recalculated each page, this may work. [an example of typographic progamming] Hans Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------