[NTG-context] startbodymatter question

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed Jul 23 08:15:40 CEST 2008


On Tue, Jul 22, 2008 at 7:55 PM, Alan Stone
<software.list.1es9s at 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


More information about the ntg-context mailing list