I am using Context mkII and have the following challenge:

I am using a doblesided layout and want to have an even total number of pages. The last chapter should have an empty trailing page (if necessary) to add up to the right number.

The problem is that I always get an ODD number of pages, and there are _two_ empty last pages at the end of the document. I have tried \installpagebreakhandler with
no effect.

The attached sample shows the problem - two empty pages at end. I would have expected
the document to stop at page 10, but there is an empty page 11 as well.

Does anyone have a clue here?

Regards,
Tommy Jensen

Sample text follows:


\setuppagenumbering[alternative=doublesided]
\starttext
\startbodymatter
\chapter[]{Kap 1}
\chapter[]{Kap 2}
\chapter[]{Kap 3}
\chapter[]{Kap 4}
\chapter[]{Kap 5}
\stopbodymatter

%-----------------------------------------------------------------------------
% Necessary to suppress emtpy last page in doublesided pagenumbering mode (no effect!)
\installpagebreakhandler{last}{}

\stoptext
___________________________________________________________________________________
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 via email to