How to disable page numbers in empty pages
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 -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
On Fri, May 22, 2009 at 11:42 AM, Khaled Hosny
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 http://www.ntg.nl/pipermail/ntg-context/2008/030594.htmlAlan
-- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkoWc5oACgkQRoqITGOuyPIJ6wCfbz74HEvxBgVSywJehwLPuLeR hRUAn05ZvLNTqOqWcwVzemJsSSJz0k/A =VnNd -----END PGP SIGNATURE-----
On Fri, May 22, 2009 at 12:04:08PM +0200, Alan Stone wrote:
On Fri, May 22, 2009 at 11:42 AM, Khaled Hosny
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
On Mon, May 25, 2009 at 11:43 PM, Khaled Hosny
On Fri, May 22, 2009 at 12:04:08PM +0200, Alan Stone wrote:
On Fri, May 22, 2009 at 11:42 AM, Khaled Hosny
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
On Tue, May 26, 2009 at 10:53:30AM +0200, Alan Stone wrote:
\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
Thanks alot, this was very helpfull. (BTW, the mypagebreak part isn't really needed). Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
On Tue, May 26, 2009 at 3:12 PM, Khaled Hosny
On Tue, May 26, 2009 at 10:53:30AM +0200, Alan Stone wrote:
\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
Thanks alot, this was very helpfull. (BTW, the mypagebreak part isn't really needed).
It depends whether you put more than one \chapter in each bodymatter part(s) or not. Alan
Regards, Khaled
-- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
participants (2)
-
Alan Stone
-
Khaled Hosny