ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: Another q, about setups
Date: Mon, 31 Jul 2006 11:11:23 +0200	[thread overview]
Message-ID: <44CDC93B.4010302@elvenkind.com> (raw)
In-Reply-To: <44CBA090.5080101@sun.com>



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

      reply	other threads:[~2006-07-31  9:11 UTC|newest]

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

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=44CDC93B.4010302@elvenkind.com \
    --to=taco@elvenkind.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).