On Sun, 15 Jan 2006, Henning Hraban Ramm wrote:

> I guess I must use that, but it's not flexible enough (e.g. you can't  
> *add* some background).

Hello Henning,
since some weeks, you *can* add some backgrounds:

\setupcolors[state=start]
\defineoverlay[layer1][{\color[red]{this is layer 1}}]
\defineoverlay[layer2][{\rotate[rotation=30]{\color[blue]{this is layer 2}}}]
\defineoverlay[layer3][{\rotate[rotation=60]{\color[green]{this is layer 3}}}]
\setupbackgrounds[page][state=start,background=layer1]
\doifmode{layer2}{%
  \expandparameters
  \setupbackgrounds[page][background={\currentvalue,layer2}]}
\doifmode{layer3}{%
  \expandparameters
  \setupbackgrounds[page][background={\currentvalue,layer3}]}
\starttext
\input tufte
\stoptext

Then, you can use any combination of mode=layer2 and/or mode=layer3...

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to