ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Page numbers at empty pages
Date: Thu, 6 Sep 2007 20:05:12 +0200	[thread overview]
Message-ID: <0D3EEF73-8E6D-4153-8FA4-E3E289780FD4@st.estfiles.de> (raw)
In-Reply-To: <20070906140159.GF5636@ppk00.hostsharing.net>

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
___________________________________________________________________________________


  parent reply	other threads:[~2007-09-06 18:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-06  7:35 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 [this message]
2007-09-07  8:57       ` Gerhard Kugler
2007-09-07  9:18         ` Wolfgang Schuster
2007-09-10  9:54         ` Steffen Wolfrum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0D3EEF73-8E6D-4153-8FA4-E3E289780FD4@st.estfiles.de \
    --to=context@st.estfiles.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).