Hi,
I want to insert a logo at the bottom of the page on the right on the first page, on the left on the second, on the right on the third ...
With the key repeat=yes, the logo is always at the bottom right
Thanks
Fabrice

\useMPlibrary[dum]

\definelayer
   [MyLogo]
   [x=0mm, y=0mm,
    width=\paperwidth,
    height=\paperheight,
    repeat=yes]
     

\setupbackgrounds[page][background=MyLogo]

\setlayer
  [MyLogo]
  [hoffset=\dimexpr\textwidth+\backspace+\rightmargindistance\relax,
   voffset=\dimexpr\topspace+\textheight+\footerheight\relax]  
   {\externalfigure[dum][width=\rightmarginwidth,height=\headerheight]}

\showframe
   
\starttext
\dorecurse{20}{\samplefile{lorem}}
\stoptext