ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Page numbers at empty pages
@ 2007-09-06  7:35 Gerhard Kugler
  2007-09-06  7:51 ` Steffen Wolfrum
  0 siblings, 1 reply; 8+ messages in thread
From: Gerhard Kugler @ 2007-09-06  7:35 UTC (permalink / raw)
  To: Context-Liste

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
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Page numbers at empty pages
  2007-09-06  7:35 Page numbers at empty pages Gerhard Kugler
@ 2007-09-06  7:51 ` Steffen Wolfrum
  2007-09-06 14:01   ` Gerhard Kugler
  0 siblings, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2007-09-06  7:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Page numbers at empty pages
  2007-09-06  7:51 ` Steffen Wolfrum
@ 2007-09-06 14:01   ` Gerhard Kugler
  2007-09-06 17:43     ` Henning Hraban Ramm
  2007-09-06 18:05     ` Steffen Wolfrum
  0 siblings, 2 replies; 8+ messages in thread
From: Gerhard Kugler @ 2007-09-06 14:01 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Page numbers at empty pages
  2007-09-06 14:01   ` Gerhard Kugler
@ 2007-09-06 17:43     ` Henning Hraban Ramm
  2007-09-06 18:05     ` Steffen Wolfrum
  1 sibling, 0 replies; 8+ messages in thread
From: Henning Hraban Ramm @ 2007-09-06 17:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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)

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Page numbers at empty pages
  2007-09-06 14:01   ` Gerhard Kugler
  2007-09-06 17:43     ` Henning Hraban Ramm
@ 2007-09-06 18:05     ` Steffen Wolfrum
  2007-09-07  8:57       ` Gerhard Kugler
  1 sibling, 1 reply; 8+ messages in thread
From: Steffen Wolfrum @ 2007-09-06 18:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Page numbers at empty pages
  2007-09-06 18:05     ` Steffen Wolfrum
@ 2007-09-07  8:57       ` Gerhard Kugler
  2007-09-07  9:18         ` Wolfgang Schuster
  2007-09-10  9:54         ` Steffen Wolfrum
  0 siblings, 2 replies; 8+ messages in thread
From: Gerhard Kugler @ 2007-09-07  8:57 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Page numbers at empty pages
  2007-09-07  8:57       ` Gerhard Kugler
@ 2007-09-07  9:18         ` Wolfgang Schuster
  2007-09-10  9:54         ` Steffen Wolfrum
  1 sibling, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2007-09-07  9:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2007/9/7, Gerhard Kugler <praxis@psychotherapie-kugler.de>:
> 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
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Page numbers at empty pages
  2007-09-07  8:57       ` Gerhard Kugler
  2007-09-07  9:18         ` Wolfgang Schuster
@ 2007-09-10  9:54         ` Steffen Wolfrum
  1 sibling, 0 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2007-09-10  9:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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







___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-09-10  9:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-06  7:35 Page numbers at empty pages Gerhard Kugler
2007-09-06  7:51 ` Steffen Wolfrum
2007-09-06 14:01   ` Gerhard Kugler
2007-09-06 17:43     ` Henning Hraban Ramm
2007-09-06 18:05     ` Steffen Wolfrum
2007-09-07  8:57       ` Gerhard Kugler
2007-09-07  9:18         ` Wolfgang Schuster
2007-09-10  9:54         ` Steffen Wolfrum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).