[***SPAM***] Headers on Empty Page at End of Chapter
Hello, When you setup your chapters such that a chapter always starts on a right page, you naturally get the occasional empty left page just before that. I have my headers setup like this \setupheadertexts[chapter][section] I get the chapter and section name of the previous section printed in the header of that empty page, but I want that page just empty. Is there a way? Regards, Malte. -- “The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what was becoming an increasingly onerous task, that of believing all the things the world expected you to believe.” ― Douglas Adams, Dirk Gently's Holistic Detective Agency
Am 25.06.2013 um 07:24 schrieb Malte Stien
Hello,
When you setup your chapters such that a chapter always starts on a right page, you naturally get the occasional empty left page just before that. I have my headers setup like this
\setupheadertexts[chapter][section]
I get the chapter and section name of the previous section printed in the header of that empty page, but I want that page just empty. Is there a way?
You have to use \setuphead [chapter] [page={yes,header,right}] to disable the header on empty left pages before a new chapter. Wolfgang
That works, thank you.
Malte.
--
“The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what was becoming an increasingly onerous task, that of believing all the things the world expected you to believe.”
― Douglas Adams, Dirk Gently's Holistic Detective Agency
On 25/06/2013, at 10:38 PM, Wolfgang Schuster
Am 25.06.2013 um 07:24 schrieb Malte Stien
: Hello,
When you setup your chapters such that a chapter always starts on a right page, you naturally get the occasional empty left page just before that. I have my headers setup like this
\setupheadertexts[chapter][section]
I get the chapter and section name of the previous section printed in the header of that empty page, but I want that page just empty. Is there a way?
You have to use
\setuphead [chapter] [page={yes,header,right}]
to disable the header on empty left pages before a new chapter.
Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________
Wolfgang,
Actually, I just realised this only works if the next page (the right page following the empty left page) is the first page of a chapter in the bodymatter. That is, it does not work in the following two cases:
- If the next page is the first page of the first appendix
- If there is no next page, ie. for the last page of the document
In both those cases, I would like for no footers and headers to appear, but currently they do.
Thank you,
Malte.
--
“The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what was becoming an increasingly onerous task, that of believing all the things the world expected you to believe.”
― Douglas Adams, Dirk Gently's Holistic Detective Agency
On 25/06/2013, at 10:38 PM, Wolfgang Schuster
Am 25.06.2013 um 07:24 schrieb Malte Stien
: Hello,
When you setup your chapters such that a chapter always starts on a right page, you naturally get the occasional empty left page just before that. I have my headers setup like this
\setupheadertexts[chapter][section]
I get the chapter and section name of the previous section printed in the header of that empty page, but I want that page just empty. Is there a way?
You have to use
\setuphead [chapter] [page={yes,header,right}]
to disable the header on empty left pages before a new chapter.
Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________
Am 02.07.2013 um 06:05 schrieb Malte Stien
Wolfgang,
Actually, I just realised this only works if the next page (the right page following the empty left page) is the first page of a chapter in the bodymatter. That is, it does not work in the following two cases:
- If the next page is the first page of the first appendix
This happens because sectionblocks force a right page at the start of each block, you can disable this with \setupsectionblock[page=yes] % default: page=right
- If there is no next page, ie. for the last page of the document
This should also be solved with the solution above. When the number still appears you can try to add \page[last] at the end of your document. Wolfgang
Wolfgang,
Thank you for this. I do actually like the empty page, I just don't like the header and footer on there. So, after you your hint I managed to turn that off with
\setupsectionblock[page={yes, header, footer, right}]
Regards,
Malte.
--
“The Electric Monk was a labour-saving device, like a dishwasher or a video recorder... Electric Monks believed things for you, thus saving you what was becoming an increasingly onerous task, that of believing all the things the world expected you to believe.”
― Douglas Adams, Dirk Gently's Holistic Detective Agency
On 02/07/2013, at 5:24 PM, Wolfgang Schuster
Am 02.07.2013 um 06:05 schrieb Malte Stien
: Wolfgang,
Actually, I just realised this only works if the next page (the right page following the empty left page) is the first page of a chapter in the bodymatter. That is, it does not work in the following two cases:
- If the next page is the first page of the first appendix
This happens because sectionblocks force a right page at the start of each block, you can disable this with
\setupsectionblock[page=yes] % default: page=right
- If there is no next page, ie. for the last page of the document
This should also be solved with the solution above. When the number still appears you can try to add \page[last] at the end of your document.
Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (2)
-
Malte Stien
-
Wolfgang Schuster