ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* removing layers in empty pages
@ 2015-02-18 21:32 Pablo Rodriguez
  2015-02-19  5:28 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2015-02-18 21:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I come with a different approach to the issue I had yesterday.

I have a sample:

\setuppapersize[A6]
\setuppagenumbering[alternative=doublesided, location=]
\setupexternalfigures[location=default]
\starttext

\dorecurse{5}{
\definelayer[spider][state=start]
\setlayer[spider]{\externalfigure[spider][scale=1500]}
\definelayer[cow][x=.8\paperwidth, y=.85\paperheight, state=continue]
\setlayer[cow]{\externalfigure[cow][scale=600]}
\setupbackgrounds[page][background={spider, cow}]
\blank[force,10em]\dorecurse{8}{\input zapf\par}\page[right]}
\stoptext

I have an issue that I cannot solve:

How can I remove layers from empty pages?

I know there is a "state=stop", but I don’t know how to link this to
empty pages.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: removing layers in empty pages
  2015-02-18 21:32 removing layers in empty pages Pablo Rodriguez
@ 2015-02-19  5:28 ` Wolfgang Schuster
  2015-02-19 16:47   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2015-02-19  5:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 18.02.2015 um 22:32 schrieb Pablo Rodriguez <oinos@gmx.es>:
> 
> Dear list,
> 
> I come with a different approach to the issue I had yesterday.
> 
> I have a sample:
> 
> \setuppapersize[A6]
> \setuppagenumbering[alternative=doublesided, location=]
> \setupexternalfigures[location=default]
> \starttext
> 
> \dorecurse{5}{
> \definelayer[spider][state=start]
> \setlayer[spider]{\externalfigure[spider][scale=1500]}
> \definelayer[cow][x=.8\paperwidth, y=.85\paperheight, state=continue]
> \setlayer[cow]{\externalfigure[cow][scale=600]}
> \setupbackgrounds[page][background={spider, cow}]
> \blank[force,10em]\dorecurse{8}{\input zapf\par}\page[right]}
> \stoptext
> 
> I have an issue that I cannot solve:
> 
> How can I remove layers from empty pages?
> 
> I know there is a "state=stop", but I don’t know how to link this to
> empty pages.


Use \page[yes,blank,right] to move to a new right page, the blank keyword
disbles backgrounds and layers are placed as a background.

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

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

* Re: removing layers in empty pages
  2015-02-19  5:28 ` Wolfgang Schuster
@ 2015-02-19 16:47   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2015-02-19 16:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 02/19/2015 06:28 AM, Wolfgang Schuster wrote:
>> Am 18.02.2015 um 22:32 schrieb Pablo Rodriguez:
>> [...]
>> How can I remove layers from empty pages?
>>
>> I know there is a "state=stop", but I don’t know how to link this to
>> empty pages.
> 
> Use \page[yes,blank,right] to move to a new right page, the blank keyword
> disbles backgrounds and layers are placed as a background.

Many thanks for your reply. Wolfgang.

It works like charm. And I just discovered that it also removes headers
and footers.

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2015-02-19 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-18 21:32 removing layers in empty pages Pablo Rodriguez
2015-02-19  5:28 ` Wolfgang Schuster
2015-02-19 16:47   ` Pablo Rodriguez

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