Hi, in case of double-sided pagination there are empty pages. My publisher does'nt want numbers at that pages. How can I set this? Greetings Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de
Am 06.09.2007 um 09:35 schrieb Gerhard Kugler:
Hi,
in case of double-sided pagination there are empty pages.
Where do they come from (how are they generated?)
My publisher does'nt want numbers at that pages. How can I set this?
Maybe you just set "manually" an empty page: \page[yes,empty]
Greetings
Gerhard
HTH, Steffen
On Thu, Sep 06, 2007 at 09:51:30AM +0200, Steffen Wolfrum wrote:
Am 06.09.2007 um 09:35 schrieb Gerhard Kugler:
Hi,
in case of double-sided pagination there are empty pages.
Where do they come from (how are they generated?)
My publisher does'nt want numbers at that pages. How can I set this?
Maybe you just set "manually" an empty page: \page[yes,empty]
Hi Steffen, that seems to me a misunderstanding. Empty pages are created automatically because first pages of chapters begin at a right side. That's ok. But if the last page before a chapter is empty, it should not contain a header with the page number. An addition: The publisher wants that the header of pages contains at the left the title of the chapter and at the right the title of the subchapter. How to realize it? And here also: Empty pages should not contain such a header. \setupheadertexts[\small chapter][\small section] produces the words "chapter" and "section", and the page number is lacking. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de
Am 2007-09-06 um 16:01 schrieb Gerhard Kugler:
\setupheadertexts[\small chapter][\small section]
\setupheadertexts has up to four parameters: [right page left][right page right][left page left][left page right] Don't know about the empty pages, though. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
Hi Gerhard, Am 06.09.2007 um 16:01 schrieb Gerhard Kugler:
On Thu, Sep 06, 2007 at 09:51:30AM +0200, Steffen Wolfrum wrote:
Am 06.09.2007 um 09:35 schrieb Gerhard Kugler:
Hi,
in case of double-sided pagination there are empty pages.
Where do they come from (how are they generated?)
My publisher does'nt want numbers at that pages. How can I set this?
Maybe you just set "manually" an empty page: \page[yes,empty]
Hi Steffen,
that seems to me a misunderstanding. Empty pages are created automatically because first pages of chapters begin at a right side. That's ok. But if the last page before a chapter is empty, it should not contain a header with the page number.
I use the following setup (apologies for not translating the german comments): % Leere Linke Seiten sind leer: %\definepagebreak[chapter][yes,header,right]% klappt gut! NICHT: [empty,header,right \definepagebreak[chapter][yes,header]% klappt gut! NICHT: [empty,header,right] %\definepagebreak[section][yes,header] % zusätzlich innerhalb des bodymatter leere linke Seiten mit \page [yes,empty] manuell setzen \setupsectionblock[frontpart][page=no] \setupsectionblock[bodypart][page=no] \setupsectionblock[backpart][page=no]
An addition: The publisher wants that the header of pages contains at the left the title of the chapter and at the right the title of the subchapter. How to realize it? And here also: Empty pages should not contain such a header.
% SeitenZahl \definefont [SZfont][Serif at 9pt] \def\SZstyle{\SZfont \setupinterlinespace[line=11pt]} % Kopfzeile und Lebende Titel: \definefont [KopfzeileFont][Serif at 9pt] \def\KopfzeileStyle {\KopfzeileFont\setupinterlinespace[line=11pt]} % Layout + Position der Seitenzahl: \setuppagenumbering [command=\SZstyle,alternative=doublesided,location=] \setupheader[align=middle,style=\KopfzeileStyle] % Lebende Titel MITTIG: \setupheadertexts[\setups{text a}] [pagenumber] [pagenumber] [\setups {text b}] \startsetups[text a] \vtop{% \startalignment[center] \getmarking[chapter] \stopalignment } \stopsetups \startsetups[text b] \vtop{% \startalignment[center] \getmarking[section] \stopalignment } \stopsetups Steffen
On Thu, Sep 06, 2007 at 08:05:12PM +0200, Steffen Wolfrum wrote:
% zusätzlich innerhalb des bodymatter leere linke Seiten mit \page [yes,empty] manuell setzen
Thank you Steffen, your lines help. Only inserting "\page[yes,empty]" is a "dirty" solution because I must omit it if there is no empty (left) page. Gerhard -- Gerhard Kugler Psychotherapeut Bensheim (Germany) http://www.psychotherapie-kugler.de
2007/9/7, Gerhard Kugler
On Thu, Sep 06, 2007 at 08:05:12PM +0200, Steffen Wolfrum wrote:
% zusätzlich innerhalb des bodymatter leere linke Seiten mit \page [yes,empty] manuell setzen
Thank you Steffen,
your lines help. Only inserting "\page[yes,empty]" is a "dirty" solution because I must omit it if there is no empty (left) page.
Gerhard
\setuphead [chapter] [page=yes, before={\ifodd\realpageno\else\page[empty]\fi}] \starttext \chapter {test} \dorecurse{10}{\input tufte } \chapter {test} \dorecurse{10}{\input tufte } \chapter {test} \dorecurse{10}{\input tufte } \stoptext Wolfgang
Am 07.09.2007 um 10:57 schrieb Gerhard Kugler:
On Thu, Sep 06, 2007 at 08:05:12PM +0200, Steffen Wolfrum wrote:
% zusätzlich innerhalb des bodymatter leere linke Seiten mit \page [yes,empty] manuell setzen
Thank you Steffen,
your lines help. Only inserting "\page[yes,empty]" is a "dirty" solution because I must omit it if there is no empty (left) page.
Yes, it is "dirty" as it is only needed for emergency cases. But apart from Wolfgang's very elegant solution you can do it also a more ConTeXt-like way: As you may have seen I use ConTeXt's project-structure ... \setupsectionblock[frontpart][page=no] \setupsectionblock[bodypart][page=no] \setupsectionblock[backpart][page=no] ... and the lowest part of this structure is the component – which in my case is the chapter. See for example: \startproduct KP_ED1 % \project KP_book \useexternalfigure[AbbildungsTeil][Abbildungen.pdf] \useexternalfigure[WerksTeil][Werkverzeichnisteil.pdf] %---------------- \startfrontmatter \component Kapitel/Titelei \setuppagenumber[number=5] \completecontent \component Kapitel/Vorwort \component Kapitel/Einleitung \stopfrontmatter %---------------- \startbodymatter \component Kapitel/Kap_1 \component Kapitel/Kap_2 \component Kapitel/Kap_3 \component Kapitel/Kap_4 \component Kapitel/Kap_5 \component Kapitel/Kap_6 \component Kapitel/Kap_7 \stopbodymatter %---------------- \startbackmatter %\component Kapitel/Zusammenfassung %\component Kapitel/Werkverzeichnis %\component Kapitel/Werkverzeichnisteil %\component Kapitel/Abbverz %\component Kapitel/Abbildungsteil %\component Kapitel/Literatur %\component Kapitel/Literaturabk %\component Kapitel/Anhang \stopbackmatter %---------------- \stopproduct This gives flexibility for larger projects as you can comment/ uncomment certain chapters (and thus you can save a lot of time when manually fine-tuning your book!) And using \definepagebreak[chapter][yes,header,right] with this projects-stucture always gives you a chapter starting on a right page *and* guarantees the respective empty left page to be completely empty. Steffen
participants (4)
-
Gerhard Kugler
-
Henning Hraban Ramm
-
Steffen Wolfrum
-
Wolfgang Schuster