[NTG-context] Another q, about setups

The Wizard Mark.Almeida at Sun.COM
Sat Jul 29 19:53:20 CEST 2006


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                             mark.almeida at sun.com
Solutions Architect                      (707)398-9524/x81132
Sun Client Solutions                     (707)429-0341 Home Office
                                         (707)480-5038 Cell



More information about the ntg-context mailing list