Hello,

\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
----

BTW: I find "state=repeat" to get the background once confusing, too.

Wouldn't be good (at least) to define "once" (as suggested) or "norepeat" 
options to use the background once?

(Both to work in the same manner as "repeat" does.)

And to keep "repeat" for backward compatibility, but to treat it as deprecated?

(Or maybe I don't understand fully why "state=repeat" causes one-shot 
background; could anyone explain?)

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.      [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to