From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: jbf <roma83537@gmail.com>
Cc: "ntg >> mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: layers x 2
Date: Wed, 28 Apr 2021 06:58:37 +0200 [thread overview]
Message-ID: <CAJWZnCQgBxdnXMrX=QV01E8ZQW3Vs11vXQSf0sRK7VFk=hBbwQ@mail.gmail.com> (raw)
In-Reply-To: <bebdcbbb-b9b5-7321-43bd-68b55cee75ad@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2764 bytes --]
Move both \definelayer and \setupbackgrounds to the start of the document
and put braces ({...}) around the list entry.
Wolfgang
jbf <roma83537@gmail.com> schrieb am Mi., 28. Apr. 2021, 06:53:
> It is not clear to me. I have two \setupbackgrounds as you can see. If I
> put setupbackgrounds[page][background=blessings,tree] for the first one I
> get the tree but not the blessing graphic. If I also have the same for the
> second one (\setupbackgrounds[page][background=blessings,tree]) I get the
> blessings graphic but not the tree! I want both obviously. Sorry for being
> obtuse.
>
> Julian
> On 28/4/21 2:44 pm, Wolfgang Schuster wrote:
>
>
> jbf <roma83537@gmail.com> schrieb am Mi., 28. Apr. 2021, 06:25:
>
>> 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?
>>
>
>
> \setupbackgrounds [page] [background={blessings,trees}]
>
> Wolfgang
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
>
[-- Attachment #1.2: Type: text/html, Size: 5449 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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 prev parent reply other threads:[~2021-04-28 4:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-28 4:24 jbf
2021-04-28 4:44 ` Wolfgang Schuster
2021-04-28 4:53 ` jbf
2021-04-28 4:58 ` Wolfgang Schuster [this message]
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='CAJWZnCQgBxdnXMrX=QV01E8ZQW3Vs11vXQSf0sRK7VFk=hBbwQ@mail.gmail.com' \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=roma83537@gmail.com \
/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).