From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Subject: Re: overlay page background missing
Date: Thu, 2 Nov 2006 18:15:06 +0100 [thread overview]
Message-ID: <6faad9f00611020915yb938e98gb637871dd897337a@mail.gmail.com> (raw)
In-Reply-To: <f35545860611020853n1186d63dh43251fa2106d06a5@mail.gmail.com>
On 11/2/06, Paul Jones wrote:
> Hello all,
>
> I am trying to put together a wedding book. I would like a nice
> watermark behind the text on each page. Left page containing the word
> 'together', and right page containing the word 'forever'. I can get
> this done with an overlay, but it is always centered in the page. So
> after reading some threads about layers in overlays I thought this
> might work. Putting a layer into an overlay does give me the ability
> to positiong the words, but I can no longer get them to show up on all
> of the pages. Am I doing this in a resonable way? Why did the
> setupbackgrounds stop working when I put the layer into the overlay?
>
> Much thanks,
> Paul
>
> %output=pdf
> \setuppagenumbering[alternative=doublesided]
>
> \setupcolors[state=start]
>
> \setupbackgrounds[page][background={WatermarkOverlay}]
>
> \startsetups WatermarkSetup
> \doifoddpageelse
> {\framed[frame=off,foregroundcolor=gray]
> {\scale[sx=12,sy=12]
> {\rotate[rotation=20.0]{forever}}}}
>
> {\framed[frame=off,foregroundcolor=gray]
> {\scale[sx=12,sy=12]
> {\rotate[rotation=20.0]{together}}}}
> \stopsetups
>
> \definelayer[WatermarkLayer]
> \setlayer[WatermarkLayer][hoffset=-4cm,voffset=12cm]{\setups{WatermarkSetup}}
>
> \defineoverlay[WatermarkOverlay][{\placelayer[WatermarkLayer]}]
>
>
> \starttext
> \framed[height=\textheight, width=\textwidth,
> background={WatermarkOverlay}, frame=on]{overlay frame}
> \chapter{first} \dorecurse{10}{\input tufte }
> \chapter{second} \dorecurse{10}{\input davis }
> \chapter{third} \dorecurse{10}{\input zapf }
> \stoptext
Does \setupheadertexts[\setups{WatermarkSetup}] help?
Mojca
next prev parent reply other threads:[~2006-11-02 17:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-02 16:53 Paul Jones
2006-11-02 17:15 ` Mojca Miklavec [this message]
2006-11-02 17:42 ` Paul Jones
[not found] ` <6faad9f00611020953r48eedeb6k51011810e76fd602@mail.gmail.com>
[not found] ` <f35545860611021008x2fd2a323k61cc9d95ab75a617@mail.gmail.com>
2006-11-02 18:41 ` Mojca Miklavec
2006-11-02 23:05 ` Paul Jones
2006-11-03 2:36 ` Aditya Mahajan
2006-11-03 16:45 ` Mojca Miklavec
2006-11-03 19:40 ` Hans Hagen
2006-11-03 17:31 ` Hans Hagen
2006-11-04 14:22 ` Paul Jones
2006-11-04 16:01 ` Hans Hagen
2006-11-05 3:33 ` Paul Jones
2006-11-05 17:08 ` Hans Hagen
2006-11-06 13:24 ` Paul Jones
2006-11-03 17:28 ` Hans Hagen
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=6faad9f00611020915yb938e98gb637871dd897337a@mail.gmail.com \
--to=mojca.miklavec.lists@gmail.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).