![](https://secure.gravatar.com/avatar/beb21d63be6b38adb42d86cdc76e86a7.jpg?s=120&d=mm&r=g)
Hi, I get this stange result: The second page (p.3-4) of each embedded file have the wrong offset, for the other pages (p. 6-\infty) they are ok. Any ideas? This is with pdfeTeXk, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2003.10.6 and the TeX code from below. Tobias ------------------------------------------------------------------------- % format=english \setupoutput[pdftex] \setuppagenumbering[alternative=doublesided] \setuppapersize [A4,landscape] [A4,landscape] \setuplayout [height=210mm,width=297mm, header=0pt,footer=0pt, topspace=0.2cm, cutspace=0cm,backspace=1cm] \newcounter\DirtyTrickCounter \startsetups[verydirtytrick] \doglobal\increment\DirtyTrickCounter \ifodd\realpageno \ifodd\DirtyTrickCounter \hbox to \overlaywidth{{\hskip0mm}\foregroundbox} \else \hbox to \overlaywidth{{\hskip-1.3cm}\foregroundbox} \fi \else \ifodd\DirtyTrickCounter \hbox to \overlaywidth{{\hskip10mm}\foregroundbox} \else \hbox to \overlaywidth{{\hskip-0.3cm}\foregroundbox} \fi \fi \stopsetups \defineoverlay [verydirtytrick] [\setups{verydirtytrick}] \starttext \combinepages [main.pdf] [nx=2,ny=1, background=verydirtytrick, frame=off] \combinepages [out.pdf] [nx=2,ny=1, background=verydirtytrick, frame=off] \stoptext