ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Extra pages
@ 2006-08-06  6:22 David Arnold
  2006-08-06  9:22 ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: David Arnold @ 2006-08-06  6:22 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-08-06 10:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-06  6:22 Extra pages David Arnold
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

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).