2011/8/4 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz>
\setupbackgrounds[text][text][background=picture]
\setupbackgrounds[state=repeat]

It has to be two separate statements?


yes:

----

\definelayer[picture][preset=righttop,width=\textwidth]

\setlayer[picture]{\externalfigure[mill][width=4cm]}

\setupbackgrounds[text][text][background=picture]
\setupbackgrounds[state=repeat]

\starttext
 \input knuth
 \page
 \input knuth
\stoptext

One more point. It will now be placed on the top right of the first page. (Or the page where you do the \setupbackgrounds.) At the moment that is enough. But is it possible to have it place on the top right of the current paragraph?
For example:
\starttext
 \input knuth
 \input knuth
 \input knuth
\stoptext

And have the picture aligned with the second knuth (left or right)?

--
Cecil Westerhof