[NTG-context] Layers again

2011-04-26 Thread Ian Lawrence
I have a layer that I'd like to appear on some pages but not others, and for which I'd like to switch the content by page. (I need the layer to precisely and reliably locate some graphics. However, as I see it, you can only set the visibility of a layer in \definelayer, \setupbackgrounds - and

Re: [NTG-context] Layers again

2011-04-26 Thread Wolfgang Schuster
Am 26.04.2011 um 12:33 schrieb Ian Lawrence: I have a layer that I'd like to appear on some pages but not others, and for which I'd like to switch the content by page. (I need the layer to precisely and reliably locate some graphics. However, as I see it, you can only set the visibility of

Re: [NTG-context] Layers again

2011-04-26 Thread Ian Lawrence
Thanks, as every. More information - I hope without overload. I was trying to make a test suite... And failed depressingly... I have a series of swf files that I'd like to position in exactly the same location on a page. Not all pages will have an swf on them. The swf will be specific to that

Re: [NTG-context] Layers again

2011-04-26 Thread Hans Hagen
On 26-4-2011 6:26, Ian Lawrence wrote: But when I get to a new page I'd like to be able to change that plug, or even have the layer blank that happens automatically unless the state of the layer is set to 'repeat' so normally, once a layer is placed its content is forgotten \page[yes]

Re: [NTG-context] Layers again

2011-04-26 Thread Ian Lawrence
OK, now maybe I get it. This might help someone... It's the **contents** of the layer that get repeated if you set repeat=yes in \definelayer - as in http://wiki.contextgarden.net/Layers If you do a \setlayer then this simply adds to the existing stack of contents displayed on the layer. You

Re: [NTG-context] Layers again

2011-04-26 Thread Hans Hagen
On 26-4-2011 7:41, Ian Lawrence wrote: The \setupbackgrounds[page][state=repeat,background={XXX}] is the command that puts the logical layer on each page. indeed, and that repeat is independent of layers Also, you can have multiple layers, so