ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Pagebreak without background
@ 2010-08-02 13:16 Julian Becker
  2010-08-04 14:33 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Julian Becker @ 2010-08-02 13:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

I'm working on a document with page backgrounds. I got them working now,
using

...
...
\defineoverlay[left page] [\useMPgraphic{left page}]
\defineoverlay[right page][\useMPgraphic{right page}]
\setupbackgrounds[leftpage] [background=left page]
\setupbackgrounds[rightpage][background=right page]

But now I have them on every page.
I don't want those to appear on certain pages. E.g. I want to start chapters
on the right page and want the left page to be completely empty.
For my chapters I currently have

\definepagebreak[chapterpagebreak][yes,header,right]
\setuphead[chapter][page=chapterpagebreak]

Which still gives me the background on the blank left page before each new
chapter. So I tried blank in definepagebreak, but it doesn't seem to give me
the desired result, since it only removes the background on the page to
follow (that is the right page on which my chapter starts).

Anybody know how to do this?
regards,
Julian


-- 
Julian Becker
Institut für Angewandte Physik, R.123
Westfälische Wilhelms-Universität Münster
Corrensstr. 2/4
48149 Münster / Westfalen
Tel. 0251 83-3 61 53
Mob. 0151 599 848 29
e-mail: j_beck16@uni-muenster.de

"Keep thy heart with all diligence; for it is the wellspring of life."

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

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

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

* Re: Pagebreak without background
  2010-08-02 13:16 Pagebreak without background Julian Becker
@ 2010-08-04 14:33 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2010-08-04 14:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 2-8-2010 3:16, Julian Becker wrote:
> \defineoverlay[left page] [\useMPgraphic{left page}]
> \defineoverlay[right page][\useMPgraphic{right page}]
> \setupbackgrounds[leftpage] [background=left page]
> \setupbackgrounds[rightpage][background=right page]
>
> But now I have them on every page.
> I don't want those to appear on certain pages. E.g. I want to start chapters
> on the right page and want the left page to be completely empty.
> For my chapters I currently have
>
> \definepagebreak[chapterpagebreak][yes,header,right]
> \setuphead[chapter][page=chapterpagebreak]

\defineoverlay[left page]   [left page]
\defineoverlay[right page]  [right page]
\setupbackgrounds[leftpage] [background=left page]
\setupbackgrounds[rightpage][background=right page]

\setuppagenumbering[alternative=doublesided]

\definepagebreak[chapterpagebreak][left,header,blank,right]
\setuphead[chapter][page=chapterpagebreak]

\starttext

\chapter{x}
\chapter{x}

\stoptext




-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2010-08-04 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-02 13:16 Pagebreak without background Julian Becker
2010-08-04 14:33 ` Hans Hagen

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