On Sun, Feb 07 2010, Wolfgang Schuster wrote:
\newcounter\BackgroundPictures
\definelayer[BackgroundPicture][width=\paperwidth,height=\paperheight]
\def\FixedPicture {\dodoubleempty\doFixedPicture}
\def\doFixedPicture[#1][#2]% {\doglobal\increment\BackgroundPictures \xypos{fixedpicture:\BackgroundPictures}% \doifnotmode{first} {\setlayer [BackgroundPicture] [x=\MPx{fixedpicture:\BackgroundPictures}, y=\MPy{fixedpicture:\BackgroundPictures}] {\externalfigure[#1][#2]}}}
\setupbackgrounds[page][background=BackgroundPicture]
\starttext
... \FixedPicture[...] ...
\stoptext
Hello Wolfgang, No, it does not work. The main idea, to position the layer with x=\MPx{} and y=\MPy{} seems to be broken. Smaller test-file: \definelayer[graphics][position=yes] \setupbackgrounds[page][background=graphics] \starttext I would like to appear a graphics exactly 2cm left from he\xypos{XXX}re. \setlayer[graphics][x=\MPx{XXX}, y=\MPy{XXX}, dx=-2cm]{% \externalfigure[hacker.jpg][width=1cm]} \stoptext Any other ideas? Thanks, Peter -- Contact information: http://pmrb.free.fr/contact/