On Mon, May 25, 2009 at 11:43 PM, Khaled Hosny
<khaledhosny@eglug.org> wrote:
On Fri, May 22, 2009 at 12:04:08PM +0200, Alan Stone wrote:
> On Fri, May 22, 2009 at 11:42 AM, Khaled Hosny <
khaledhosny@eglug.org> wrote:
>
> How can I disable page numbers (or header/footer) in empty pages, as
> page 2 in the following example:
>
> \setuppagenumbering[alternative=doublesided]
> \starttext
> \chapter{one}
> \input tufte
> \chapter{two}
> \input tufte
> \stoptext
>
> Regards,
> Khaled
>
>
>
http://www.ntg.nl/pipermail/ntg-context/2008/030594.html
>
> Alan
Thanks for the tip, but I've a slightly more complex layout and it might
need a more generalized solution, see:
\definepagebreak
[mychapterpagebreak]
[yes,header,footer,right]
\setuphead
[chapter]
[page=mychapterpagebreak]
\setuppagenumbering[alternative=doublesided,location={header,margin}]
\setupheadertexts[{My special headertext}]
\setupfootertexts[This is a text in the footer]
\starttext
\chapter {testA} \dorecurse{10}{\input tufte }
\startstandardmakeup \dorecurse{4}{\input tufte }
\stopstandardmakeup
\chapter {testB} \dorecurse{10}{\input tufte }
\stoptext
The page after first chapter and before the markup is empty and thus
shouldn't have any headers/footers, but it isn't.
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
\setupsectionblock[bodypart][page=yes]
\setupmakeup[standard][page=empty]
\definepagebreak
[mychapterpagebreak]
[yes,header,footer,right]
\setuphead
[chapter]
[page=mychapterpagebreak]
\setuppagenumbering[alternative=doublesided,location={header,margin}]
\setupheadertexts[{My special headertext}]
\setupfootertexts[This is a text in the footer]
\starttext
\startbodymatter
\chapter {testA}
\dorecurse{10}{\input tufte }
\stopbodymatter
\startstandardmakeup
\dorecurse{4}{\input tufte }
\stopstandardmakeup
\startbodymatter
\chapter {testB}
\dorecurse{10}{\input tufte }
\stopbodymatter
\stoptext
--
Alan