[NTG-context] Extra pages

2006-08-06 Thread David Arnold
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Extra pages

2006-08-06 Thread Taco Hoekwater
David Arnold wrote:
 All,
 
 Can anyone explain why the output of this source has two blank pages  
 at the end?

The extra extra page is caused by the next line:

alternative=doublesided,
location=,
way=bytext]

The other extra page is how it should be (the document ends on an
even page).

Cheers, taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Extra pages

2006-08-06 Thread David Arnold
Huh? What shoud it be then?

On Aug 6, 2006, at 2:22 AM, Taco Hoekwater wrote:

 David Arnold wrote:
 All,

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

 The extra extra page is caused by the next line:

alternative=doublesided,
location=,
way=bytext]

 The other extra page is how it should be (the document ends on an
 even page).

 Cheers, taco
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Extra pages

2006-08-06 Thread Taco Hoekwater
David Arnold wrote:
 Huh? What shoud it be then?

removed.

Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Extra pages

2006-08-06 Thread Taco Hoekwater
Taco Hoekwater wrote:
 David Arnold wrote:
 
Huh? What shoud it be then?
 
 removed.

(i don't know what is happening, just figured out a way to remove
the symptom)

Cheers,
Taco
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] extra pages after backmatter

2005-08-24 Thread Hans Hagen Outside

Ciro Soto wrote:


Hello,

I am getting 2 extra pages after the backmatter.
Is there any way delete them?
thank you
Ciro

\starttex
 \starfrontmatter
 \input frontmatter.tex
 \stopfrontmatter
 \startbodymatter
\input a_file.tex
 \stopbodymatter
 \startbackmatter
   \input backmatter.tex
 \stopbackmatter
\stoptext
 


\setupsectionblock[...][page=]

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] extra pages after backmatter

2005-08-21 Thread Ciro Soto
Hello,

I am getting 2 extra pages after the backmatter.
Is there any way delete them?
thank you
Ciro

\starttex
  \starfrontmatter
  \input frontmatter.tex
  \stopfrontmatter
  \startbodymatter
 \input a_file.tex
  \stopbodymatter
  \startbackmatter
\input backmatter.tex
  \stopbackmatter
\stoptext



-- 
===
All problems are at the interface. Each one of them has a solution.
from:
The Guitar Maker: An Exploration of Wisdom, Design and Love. 
A novel by C. A. Soto Aguirre. Pub. Date: October 2005.
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context