From: jbf <roma83537@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: layers x 2
Date: Wed, 28 Apr 2021 14:24:26 +1000 [thread overview]
Message-ID: <5da160ab-715c-815d-9da5-4f812af63924@gmail.com> (raw)
Hi list,
Is it possible to place two layers on the same page? I have several
pages where that would be necessary. On the first of those pages, it did
actually work, but on the remaining other pages, the second layer, even
though located at the bottom of the page, eliminates the first layer. I
have simply set them up one after the other. As you can see, the 1st is
towards the top left of the page, while the second is bottom right.
\definelayer[blessings] % name of the layer
[x=0mm, y=0mm, % from upper left corner of paper
width=\paperwidth, height=.5\paperheight] % let the layer cover
the full paper
\setlayer[blessings] % name of the layer
[hoffset=.09\textwidth, voffset=1.7cm] % placement (from upper
left corner of the layer)
{\externalfigure[bless.eps][width=3cm]} % the actual contents of
the layer
\setupbackgrounds[page][background=blessings]
\definelayer[tree] % name of the layer
[x=0mm, y=0mm, % from upper left corner of paper
width=\paperwidth, height=\paperheight] % let the layer cover the
full paper
\setlayer[tree] % name of the layer
[hoffset=.75\textwidth, voffset=15.1cm] % placement (from upper
left corner of the layer)
{\externalfigure[Pohutukawa.jpg][width=.5\textwidth]} % the actual
contents of the layer
\setupbackgrounds[page][background=tree]
What am I doing wrong?
Julian
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2021-04-28 4:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-28 4:24 jbf [this message]
2021-04-28 4:44 ` Wolfgang Schuster
2021-04-28 4:53 ` jbf
2021-04-28 4:58 ` Wolfgang Schuster
2021-04-28 5:10 ` jbf
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=5da160ab-715c-815d-9da5-4f812af63924@gmail.com \
--to=roma83537@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).