Re: [NTG-context] Pagebreak without background

2010-08-04 Thread Hans Hagen

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
___


[NTG-context] Pagebreak without background

2010-08-02 Thread Julian Becker
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_bec...@uni-muenster.de

Keep thy heart with all diligence; for it is the wellspring of life.
___
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
___