ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Willi Egger" <w.egger@boede.nl>
Subject: Re: Again: How to make empty pages by default empty?
Date: Mon, 22 Sep 2003 20:16:01 +0200	[thread overview]
Message-ID: <00b301c38137$2a6851d0$0100a8c0@vademecum> (raw)
In-Reply-To: <a05210603bb94d75b63b5@[217.184.0.207]>

Hi Steffen,

From: "Steffen Wolfrum" <wlfrm@estfiles.de>
Subject: [NTG-context] Again: How to make empty pages by default empty?


> >  > So I don't have to post so many (unanswered) questions any more...
> >
> >  Posting ConTeXt questions is fun, so don't stop doing this.
> >
> >
> >  Patrick
>
>
>
> Alright! So maybe I am also allowed to send again
> one of my favorite problems from last week?
>
> Still unanswered. Still unsolved. Very interesting!
>
> To whom it may concern - don't hesitate to post an answer...
>
> Thank you all,
> Steffen
>
>
>
> Hans Hagen <pragma@wxs.nl> wrote:
>
> >  At 10:05 19/09/2003 +0200, you wrote:
> >  >Hi Steffen,
> >
> >
> >
> >  > > \definepagebreak
> >  > >     [chapter]
> >  > >     [yes,header,right]
> >
> >  \definepagebreak
> >     [chapter]
> >     [empty,header,right]
>
>
> Sorry, but that doesn't work.
>
> When changed the minimal example to...
>
> \definepagebreak
>     [chapter]
>     [empty,header,right]
>
> \setuphead
>     [chapter]
>     [page=chapter,]
>
> \setuppagenumbering[alternative=doublesided]
>
> \starttext
> \startfrontmatter
>     \completecontent
> \stopfrontmatter
> \startbodymatter
> \chapter {test} \dorecurse{10}{\input tufte }
> \chapter {test} \dorecurse{10}{\input tufte }
> \chapter {test} \dorecurse{10}{\input tufte }
> \stopbodymatter
>
> \stoptext
>
>
> ... we have page numbers on (empty) page number 4, 18 and 19!
>
> Plus there are two strange empty empty pages before the TOC?!

If you want to get a doublesided tzpeset document you should add also
\setuplayout[location=doublesided].

I am not shure, whether the following is correct!

Empty pages at the beginning:

You start the frontmatters with the \completecontent. - I could imagine that
this is a consequence of the fact that the TOC starts always on a righthand
page. - Thus at the  moment of \startbodymatter tex is already on the first
page. But after identifying the \completecontents command will create two
page breaks in order to be able to typeset the TOC on a righthand page.

Pagenumbers on empty pages before starting a new chapter

Chapters begin on a right hand page. If the lefthand page is empty, there is
correctly still the pagenumber. I do not know whether it is possible to
check whether the page before a new chapter is completely empty. What one
should fetch is this information just before shipping this page.

What you can do is to use the \setuphead command. Either use page=no then
the next chapter will start immediately or say page=yes and the next chapter
will start on the following page which might be a left- or righthand page.

Willi

  reply	other threads:[~2003-09-22 18:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-22 16:50 Steffen Wolfrum
2003-09-22 18:16 ` Willi Egger [this message]
2003-09-22 20:43 Steffen Wolfrum
2003-09-23 12:25 ` Willi Egger
2003-09-27 11:15   ` Steffen Wolfrum
2003-09-28  7:59     ` Patrick Gundlach
2003-09-28 11:57 Steffen Wolfrum
2003-09-28 13:35 ` Patrick Gundlach
2003-09-29 21:57 Steffen Wolfrum
2003-09-29 22:13 ` Patrick Gundlach
2003-09-30  8:11 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='00b301c38137$2a6851d0$0100a8c0@vademecum' \
    --to=w.egger@boede.nl \
    --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).