From: "B. Tommy Jensen" <btoj@frisurf.no>
To: ntg-context@ntg.nl
Subject: Unwanted empty last page in doublesided document
Date: Fri, 03 Jul 2009 12:08:00 +0200 [thread overview]
Message-ID: <op.uwhk3m0nsciad5@tommy-pc.i04.local> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2009-07-03 10:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-03 10:08 B. Tommy Jensen [this message]
2009-07-03 11:38 ` Wolfgang Schuster
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=op.uwhk3m0nsciad5@tommy-pc.i04.local \
--to=btoj@frisurf.no \
--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).