No header and no page-number on empty pages
\definepagebreak [mychapterpagebreak] % [yes,header,right] %[yes,header,left] [yes,header,footer,right]
\setuphead [chapter] [page=mychapterpagebreak] %[page=Mychapterpagebreak,header=empty,footer=empty]
%\setupsectionblock[frontpart][page=chapter] %\setupsectionblock[bodypart][page=chapter] %\setupsectionblock[backpart][page=chapter] %\setupsectionblock[appendix][page=chapter]
\setuppagenumbering[alternative=doublesided,location={header,margin}] \setupheadertexts[{My special headertext}] \setupfootertexts[This is a text in the footer] %\setupbackgrounds[header][text][bottomframe=on]
\starttext \chapter{testA} \dorecurse{10}{\input tufte } \chapter{testB} \dorecurse{10}{\input tufte } \chapter{testC} \dorecurse{10}{\input tufte } \stoptext test- Thanks Luigi, Wolfgang. But this does not work if I use "\page~\page" (I need that in some cases for manually inserting a empty page). So the question is how to insert empty pages – but of course respect them in
Am 29.11.2012 19:09, schrieb ntg-context-request@ntg.nl: page numbering, I mean that the number is not shown on the page, but the page is counted, s.t. the next pages have the correct numbers). Huseyin
On Fri, Nov 30, 2012 at 9:05 AM, "H. Özoguz"
Am 29.11.2012 19:09, schrieb ntg-context-request@ntg.nl:
\definepagebreak [mychapterpagebreak] % [yes,header,right] %[yes,header,left] [yes,header,footer,right]
\setuphead [chapter] [page=mychapterpagebreak] %[page=Mychapterpagebreak,header=empty,footer=empty]
%\setupsectionblock[frontpart][page=chapter] %\setupsectionblock[bodypart][page=chapter] %\setupsectionblock[backpart][page=chapter] %\setupsectionblock[appendix][page=chapter]
\setuppagenumbering[alternative=doublesided,location={header,margin}] \setupheadertexts[{My special headertext}] \setupfootertexts[This is a text in the footer] %\setupbackgrounds[header][text][bottomframe=on]
\starttext \chapter{testA} \dorecurse{10}{\input tufte } \chapter{testB} \dorecurse{10}{\input tufte } \chapter{testC} \dorecurse{10}{\input tufte } \stoptext test-
Thanks Luigi, Wolfgang. But this does not work if I use "\page~\page" (I need that in some cases for manually inserting a empty page). So the question is how to insert empty pages – but of course respect them in page numbering, I mean that the number is not shown on the page, but the page is counted, s.t. the next pages have the correct numbers).
Huseyin something like this ? (I'm sure that there are other solutions)
\starttext \input tufte\page %% force a pagebreak \vbox to\textheight{}\page[blank,yes] % empty page \vbox to\textheight{}\page[blank] \vbox to\textheight{}\page \input tufte\page \input tufte \stoptext -- luigi
Am 30.11.2012 um 09:05 schrieb H. Özoguz
Am 29.11.2012 19:09, schrieb ntg-context-request@ntg.nl:
\definepagebreak [mychapterpagebreak] % [yes,header,right] %[yes,header,left] [yes,header,footer,right]
\setuphead [chapter] [page=mychapterpagebreak] %[page=Mychapterpagebreak,header=empty,footer=empty]
%\setupsectionblock[frontpart][page=chapter] %\setupsectionblock[bodypart][page=chapter] %\setupsectionblock[backpart][page=chapter] %\setupsectionblock[appendix][page=chapter]
\setuppagenumbering[alternative=doublesided,location={header,margin}] \setupheadertexts[{My special headertext}] \setupfootertexts[This is a text in the footer] %\setupbackgrounds[header][text][bottomframe=on]
\starttext \chapter{testA} \dorecurse{10}{\input tufte } \chapter{testB} \dorecurse{10}{\input tufte } \chapter{testC} \dorecurse{10}{\input tufte } \stoptext test- Thanks Luigi, Wolfgang. But this does not work if I use "\page~\page" (I need that in some cases for manually inserting a empty page). So the question is how to insert empty pages – but of course respect them in page numbering, I mean that the number is not shown on the page, but the page is counted, s.t. the next pages have the correct numbers).
You can add a empty page in your document with \page[empty]. Wolfgang
participants (3)
-
"H. Özoguz"
-
luigi scarso
-
Wolfgang Schuster