[NTG-context] removing layers in empty pages

Wolfgang Schuster schuster.wolfgang at gmail.com
Thu Feb 19 06:28:53 CET 2015


> Am 18.02.2015 um 22:32 schrieb Pablo Rodriguez <oinos at 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


More information about the ntg-context mailing list