ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: The Wizard <Mark.Almeida@Sun.COM>
Subject: Another q, about setups
Date: Sat, 29 Jul 2006 10:53:20 -0700	[thread overview]
Message-ID: <44CBA090.5080101@sun.com> (raw)

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

             reply	other threads:[~2006-07-29 17:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-29 17:53 The Wizard [this message]
2006-07-31  9:11 ` Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44CBA090.5080101@sun.com \
    --to=mark.almeida@sun.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).