2011/8/3 Wolfgang Schuster <schuster.wolfg...@googlemail.com> > My first idea would be to place the photo in a layer in the background. > > >> I tried the following: >> \definelayer[picture][ >> preset=righttop, >> ] >> >> \setlayer[picture]{\externalfigure[graphics/pasfotoKlein]} >> >> \setupbackgrounds[page][rightedge][background=picture] >> >> Whatever I do, the picture keeps in the top left corner of the page. I >> would like to have the right side of the picture aligned with the right >> margin. Is this possible? >> >> >> \definelayer[picture][preset=righttop,width=\textwidth] >> >> \setlayer[picture]{\externalfigure[mill][width=4cm]} >> >> \setupbackgrounds[text][text][background=picture] >> > > Almost there. ;-} > > The placement is okay, but now the picture is on every page instead of only > the first one. > > > Add “\setupbackgrounds[state=repeat]”. >
Works. I find repeat a bit strange. I woild expect something like once. But this works. I now have: \setupbackgrounds[text][text][background=picture] \setupbackgrounds[state=repeat] It has to be two separate statements? -- Cecil Westerhof
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________