From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4424 Path: main.gmane.org!not-for-mail From: Joop Susan Newsgroups: gmane.comp.tex.context Subject: Overlays... Date: Tue, 20 Mar 2001 23:28:09 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <20010320222809.11188.qmail@crux.private.off-line> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035395092 25621 80.91.224.250 (23 Oct 2002 17:44:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:44:52 +0000 (UTC) Original-To: "ntg-context" Xref: main.gmane.org gmane.comp.tex.context:4424 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4424 Hello, I have a document with different backgrounds (external PDFs) for even and odd pages. I have found how to get the right background on the right page. \defineoverlay [papier] [{\ifodd\realpageno {\externalfigure[voorkant][width=\overlaywidth,heig ht=\overlayheight]} \else {\externalfigure[achterkant][width=\overlaywidth,height=\overlay height]} \fi}] My problem is that the different backgrounds require setting a different topspace and height for the page. My question: Where can I place the different setuplayout[topspace=..,height =..] commands so the are evaluated again for every page (different for even and odd pages)? Thanks, Joop