Move both \definelayer and \setupbackgrounds to the start of the document
and put braces ({...}) around the list entry.

Wolfgang

jbf <roma83...@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 <roma83...@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
> ___________________________________________________________________________________
>
>
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to