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: Mon, 10 Sep 2007 11:54:29 +0200	[thread overview]
Message-ID: <885774E0-7D5F-4F69-BB7E-645AB66959CB@st.estfiles.de> (raw)
In-Reply-To: <20070907085723.GD5644@ppk00.hostsharing.net>


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
___________________________________________________________________________________


      parent reply	other threads:[~2007-09-10  9:54 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
2007-09-07  8:57       ` Gerhard Kugler
2007-09-07  9:18         ` Wolfgang Schuster
2007-09-10  9:54         ` Steffen Wolfrum [this message]

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=885774E0-7D5F-4F69-BB7E-645AB66959CB@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).