ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Subject: Extra pages
Date: Sat, 5 Aug 2006 23:22:22 -0700	[thread overview]
Message-ID: <59F84C9E-BF44-42F1-AAAD-928C6BAB0AE1@cox.net> (raw)

All,

Can anyone explain why the output of this source has two blank pages  
at the end?

\setupwhitespace[medium]
\setupindenting[medium,yes]

\setupcolors[state=start]

\setuppagenumbering
[state=start,
   alternative=doublesided,
   location=,
   way=bytext]

\definetext[chapter][footer][pagenumber]

\setuphead
[chapter]
[alternative=inmargin,
   header=high,
   footer=chapter,
   page=right]

\setuphead
[section]
[style=\tfc,
   page=right,
   continue=no,
   alternative=inmargin]

\setuphead
[subsection]
[style=\tfb\sl,
   number=no]

\definehead
[TocHead]
[section]
\setuphead
[TocHead]
[number=no,
   incrementnumber=no,
   page=no]
\definehead
[IndexHead]
[section]
\setuphead
[IndexHead]
[number=no,
   incrementnumber=no,
   page=yes]

\def\Tindex#1{\index{#1}#1}

\def\OddPageHeader{\bold{\pagenumber}\hskip 1em Chapter \headnumber 
[chapter] \getmarking[chapter][current]}

\def\headermarkleft{\bold{\pagenumber}\headerskip{\sc\headerskip  
Chapter \headnumber[chapter]\headerskip\getmarking[chapter][current]}}
\def\headermarkright{{\sc{}Section \headnumber[section]\headerskip 
\getmarking[section][current]}\headerskip\bold{\pagenumber}}
\def\headerskip{\hskip 1em}

\setupheadertexts
[][\headermarkright]    %odd page on right
[\headermarkleft][]    %even page on left
\setuplist
[section]
[style=bold,
   color=red,
   alternative=c]
\setuplist
[subsection]
[alternative=b]


\starttext

\startbodymatter

\chapter{A Practice Chapter}

\input knuth

\TocHead{Table of Contents}

\placecontent

\section{First Section}

Now is the \Tindex{time} for all good men to come to the aid of their  
country. Now is the time for all good men to come to the aid of their  
country. Now is the time for all good men to come to the aid of their  
country. Now is the time for all good men to come to the aid of their  
country. Now is the time for all good men to come to the aid of their  
country. Now is the time for all good men to come to the aid of their  
country. Now is the time for all good men to come to the aid of their  
country.

Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.

Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.  
Now is the time for all good men to come to the aid of their country.

\subsection{First Subsection}

\dorecurse{3}{\input knuth \par}



\section{Second Section}

\dorecurse{3}{\input knuth \par}

\subsection{Second Subection}

\dorecurse{3}{\input knuth \par}


\section{Third Section}

\dorecurse{3}{\input knuth \par}

\subsection{Third Subection}

\dorecurse{3}{\input knuth \par}

\stopbodymatter

\startbackmatter

\completeindex

\stopbackmatter

\stoptext

             reply	other threads:[~2006-08-06  6:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-06  6:22 David Arnold [this message]
2006-08-06  9:22 ` Taco Hoekwater
2006-08-06  9:23   ` David Arnold
2006-08-06 10:40     ` Taco Hoekwater
2006-08-06 10:48       ` Taco Hoekwater

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=59F84C9E-BF44-42F1-AAAD-928C6BAB0AE1@cox.net \
    --to=dwarnold45@cox.net \
    --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).