ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* add layer to page
@ 2009-06-28 10:14 Thomas A. Schmitz
  2009-06-28 10:30 ` Hans Hagen
  2009-06-28 14:56 ` Aditya Mahajan
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas A. Schmitz @ 2009-06-28 10:14 UTC (permalink / raw)
  To: mailing ConTeXt users list for

Hi all,

I have a vague memory that there was a message (by Wolfgang Schuster?)  
about this a couple of months ago, but I'm unable to find anything in  
the archives. What I want: add a layer on top of the current page.  
This page is created with the simpleslides-module, so it already  
contains several layers. I want something on top of all that, and I  
seem to remember that there was some option to say "typeset the  
current layers + this additional one." Can somebody help my memory?

All best

Thomas
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: add layer to page
  2009-06-28 10:14 add layer to page Thomas A. Schmitz
@ 2009-06-28 10:30 ` Hans Hagen
  2009-06-28 10:33   ` luigi scarso
  2009-06-28 10:39   ` Thomas A. Schmitz
  2009-06-28 14:56 ` Aditya Mahajan
  1 sibling, 2 replies; 6+ messages in thread
From: Hans Hagen @ 2009-06-28 10:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thomas A. Schmitz wrote:
> Hi all,
> 
> I have a vague memory that there was a message (by Wolfgang Schuster?) 
> about this a couple of months ago, but I'm unable to find anything in 
> the archives. What I want: add a layer on top of the current page. This 
> page is created with the simpleslides-module, so it already contains 
> several layers. I want something on top of all that, and I seem to 
> remember that there was some option to say "typeset the current layers + 
> this additional one." Can somebody help my memory?

\defineoverlay[x][a]
\defineoverlay[x][b]

\setupbackgrounds ... [background={a,foreground,b}

etc .. in your module you can just add a few more in the chain (unknown 
ones are ignored)


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: add layer to page
  2009-06-28 10:30 ` Hans Hagen
@ 2009-06-28 10:33   ` luigi scarso
  2009-06-28 10:39     ` Wolfgang Schuster
  2009-06-28 10:39   ` Thomas A. Schmitz
  1 sibling, 1 reply; 6+ messages in thread
From: luigi scarso @ 2009-06-28 10:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]

On Sun, Jun 28, 2009 at 12:30 PM, Hans Hagen <pragma@wxs.nl> wrote:

> Thomas A. Schmitz wrote:
>
>> Hi all,
>>
>> I have a vague memory that there was a message (by Wolfgang Schuster?)
>> about this a couple of months ago, but I'm unable to find anything in the
>> archives. What I want: add a layer on top of the current page. This page is
>> created with the simpleslides-module, so it already contains several layers.
>> I want something on top of all that, and I seem to remember that there was
>> some option to say "typeset the current layers + this additional one." Can
>> somebody help my memory?
>>
>
> \defineoverlay[x][a]
> \defineoverlay[x][b]
>
> \setupbackgrounds ... [background={a,foreground,b}
>
b is on the top of foreground
foreground is on the top of a
a is the base layer

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 1271 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: add layer to page
  2009-06-28 10:33   ` luigi scarso
@ 2009-06-28 10:39     ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2009-06-28 10:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 28.06.2009 um 12:33 schrieb luigi scarso:

>> \setupbackgrounds ... [background={a,foreground,b}
>>
> b is on the top of foreground
> foreground is on the top of a
> a is the base layer

foreground is text (base layer)
b is on top of the text
a is behind the text

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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: add layer to page
  2009-06-28 10:30 ` Hans Hagen
  2009-06-28 10:33   ` luigi scarso
@ 2009-06-28 10:39   ` Thomas A. Schmitz
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas A. Schmitz @ 2009-06-28 10:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Jun 28, 2009, at 12:30 PM, Hans Hagen wrote:

> \defineoverlay[x][a]
> \defineoverlay[x][b]
>
> \setupbackgrounds ... [background={a,foreground,b}
>
> etc .. in your module you can just add a few more in the chain  
> (unknown ones are ignored)

Thanks, Hans and Luigi, that was very fast! Yes, this works wonderfully!

All best

Thomas
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: add layer to page
  2009-06-28 10:14 add layer to page Thomas A. Schmitz
  2009-06-28 10:30 ` Hans Hagen
@ 2009-06-28 14:56 ` Aditya Mahajan
  1 sibling, 0 replies; 6+ messages in thread
From: Aditya Mahajan @ 2009-06-28 14:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 28 Jun 2009, Thomas A. Schmitz wrote:

> Hi all,
>
> I have a vague memory that there was a message (by Wolfgang Schuster?) about 
> this a couple of months ago, but I'm unable to find anything in the archives. 
> What I want: add a layer on top of the current page. This page is created 
> with the simpleslides-module, so it already contains several layers. I want 
> something on top of all that, and I seem to remember that there was some 
> option to say "typeset the current layers + this additional one." Can 
> somebody help my memory?

Do you mean: 
http://archive.contextgarden.net/message/20060115.080349.8efe83be.en.html

This works with MkII but not MkIV.

For example,
\usemodule[simpleslides][style=BigNumber]

\defineoverlay
   [test]
   [{\framed[align={middle,middle},
             width=\overlaywidth,
             height=\overlayheight]{TEST}}]

\starttext
\SlideTitle {ABC} \input tufte \page
\SlideTitle {ABC} 
\expandparameters\setupbackgrounds[page][background={\currentvalue,test}]
\input tufte
\stoptext

Aditya
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-06-28 14:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-28 10:14 add layer to page Thomas A. Schmitz
2009-06-28 10:30 ` Hans Hagen
2009-06-28 10:33   ` luigi scarso
2009-06-28 10:39     ` Wolfgang Schuster
2009-06-28 10:39   ` Thomas A. Schmitz
2009-06-28 14:56 ` Aditya Mahajan

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