On Thu, 13 Feb 2020 09:19:10 +0100
juh <juh+ntg-cont...@mailbox.org> wrote:

> Hi all,
> 
> I am a little bit confused as I never had this problem, although I often use
> backgrounds and layers.
> 
> \definelayer[bg:hs2020-mond]
> [x=0, y=0, width=\paperwidth, height=\paperheight]
> 
> \setlayer[bg:hs2020-mond]
> [x=0mm, y=0mm]
> {\externalfigure[background.jpg][height=\paperwidth]}
> 
> Ususally I call the background after a head command like \starttitle or when I
> create slides like this 
> 
> \startslide[title={foobar}]
> \setupbackgrounds[page][background=bg:hs2020-mond]
> ...
> \stopslide
> 
> The problem is that I cannot call the background on another slide.
> It seems as if the layer is gone after the first usage.


This is normal behaviour for layers but you can repeat it on every page with

    \definelayer [bg:...] [state=repeat]


In your case a simple overlay is the simpler solution to get repeated images on 
every page, i.e.

  \defineoverlay [bg:hs2020-mond] 
[{\externalfigure[background.jpg][height=\paperheight]}]

or

  \defineoverlay [bg:hs2020-mond] [\overlayfigure{background.jpg}]


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
___________________________________________________________________________________

Reply via email to