Re: [NTG-context] Another q, about setups

2006-07-31 Thread Taco Hoekwater


The Wizard wrote:
> All -
> I have a small block which creates a "DRAFT" watermark as the page 
> background:
> 
> % Create "Draft" watermark for later use
> \doifmode{draft}{
> % Put a "DRAFT" watermark in Sun Blue
> \defineoverlay[Draft][{\sunbluet
>   \scale[factor=max]{\rotate[rotation=60]{~DRAFT~}}}]
> \setupbackgrounds[page][background=Draft]
> } % End watermark
> 
> Is there a way I can put it into a "setup" or "command" so I can turn it 
> on/off by page/section?

My guess is the easiest way is to do

\setupbackgrounds[page][background=]

on the page(s) where you do not want a background. You can put that
statement in a setup, of course.

Cheers, taco



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Another q, about setups

2006-07-29 Thread The Wizard
All -
I have a small block which creates a "DRAFT" watermark as the page 
background:

% Create "Draft" watermark for later use
\doifmode{draft}{
% Put a "DRAFT" watermark in Sun Blue
\defineoverlay[Draft][{\sunbluet
  \scale[factor=max]{\rotate[rotation=60]{~DRAFT~}}}]
\setupbackgrounds[page][background=Draft]
} % End watermark

Is there a way I can put it into a "setup" or "command" so I can turn it 
on/off by page/section?

-- 
Mark Almeida [EMAIL PROTECTED]
Solutions Architect  (707)398-9524/x81132
Sun Client Solutions (707)429-0341 Home Office
 (707)480-5038 Cell

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context