ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: startbodymatter question
Date: Wed, 23 Jul 2008 08:15:40 +0200	[thread overview]
Message-ID: <115224fb0807222315j19773191pc176f376579a1550@mail.gmail.com> (raw)
In-Reply-To: <326847810807221055vbcf17c6ocb8999348675c307@mail.gmail.com>

On Tue, Jul 22, 2008 at 7:55 PM, Alan Stone
<software.list.1es9s@gmail.com> wrote:
> Hi,
> How do you get rid of the doublesided document's page number on the blank
> page
> inserted after the last chapter  ?
>
> Alan
>
> ConTeXt  ver: 2008.07.10 08:40 MKIV  fmt: 2008.7.10  int: english/english
>
> texmfstart texexec --lua test.tex
>
> --- start of code ---
>
> \setuppapersize [A4][A4]
>
> %\setuppagenumbering[alternative=singlesided]
> \setuppagenumbering[alternative=doublesided]
>
> \definepagebreak[myChapterPageBreak][yes,header,footer,right]
> \setuphead[chapter][page=myChapterPageBreak]
>
> \startsectionblockenvironment[frontpart]
>     \setupheader[state=stop]
>     \setupfooter[state=stop]
> \stopsectionblockenvironment
>
> \startsectionblockenvironment[bodypart]
>     \setupheader[state=start]
>     \setupfooter[state=start]
> \stopsectionblockenvironment
> \setupsectionblock[bodypart][page=no]         % doesn't make a difference

\setupsectionblock[bodypart][page=yes]
\setupsectionblock[backpart][page=yes]

or for the backpart

\setupsectionblock[backpart][page=yes,before={\page[left]}]

> \startsectionblockenvironment[backpart]
>     \setupheader[state=stop]
>     \setupfooter[state=stop]
> \stopsectionblockenvironment
>
> \starttext
>
> \startstandardmakeup
>     Title
>     \blank[3*big]
>     Author
> \stopstandardmakeup
>
> \startfrontmatter
>     Table of Contents
>     \blank[3*big]
>     \placecontent
> \stopfrontmatter
>
> \startbodymatter
>     \chapter{Chapter 1}
>     \section{Section 1.1}
>         \input knuth
>         \blank
>         \input knuth
>         \blank
>         \input knuth
>     \section{Section 1.2}
>         \input tufte
>         \blank
>         \input tufte
>         \blank
>         \input tufte
>     \section{Section 1.3}
>         \input zapf
>         \blank
>         \input zapf
>         \blank
>         \input zapf
>     \chapter{Chapter 2}
>     \section{Section 2.1}
>         \input knuth
>         \blank
>         \input knuth
>         \blank
>         \input knuth
>     \section{Section 2.2}
>         \input tufte
>         \blank
>         \input tufte
>         \blank
>         \input tufte
>     \section{Section 2.3}
>         \input zapf
>         \blank
>         \input zapf
>         \blank
>         \input zapf
> \stopbodymatter
>
> \startbackmatter
>     back cover
> \stopbackmatter
>
> \stoptext
>
> --- end of code ---

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
___________________________________________________________________________________


  reply	other threads:[~2008-07-23  6:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-22 17:55 Alan Stone
2008-07-23  6:15 ` Wolfgang Schuster [this message]
2008-07-23 13:33   ` Alan Stone
2008-07-23 13:55     ` Wolfgang Schuster
2008-07-23 14:41       ` Alan Stone
2008-07-23 14:46         ` Alan Stone
2008-07-23 15:00           ` Wolfgang Schuster
2008-07-23 15:37             ` Alan Stone
2008-07-23 16:04               ` Alan Stone
2008-07-24  6:32               ` Wolfgang Schuster
2008-07-24  8:30                 ` Alan Stone
2008-07-23 15:19       ` John Devereux
2008-07-23 15:29         ` Wolfgang Schuster
2008-07-23 17:24           ` John Devereux
2008-07-24  6:35             ` Wolfgang Schuster

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=115224fb0807222315j19773191pc176f376579a1550@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).