ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* layers x 2
@ 2021-04-28  4:24 jbf
  2021-04-28  4:44 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: jbf @ 2021-04-28  4:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-28  5:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28  4:24 layers x 2 jbf
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

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).