From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51594 Path: news.gmane.org!not-for-mail From: "B. Tommy Jensen" Newsgroups: gmane.comp.tex.context Subject: Unwanted empty last page in doublesided document Date: Fri, 03 Jul 2009 12:08:00 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246615794 11218 80.91.229.12 (3 Jul 2009 10:09:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jul 2009 10:09:54 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 03 12:09:47 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MMfiE-0000Um-FK for gctc-ntg-context-518@m.gmane.org; Fri, 03 Jul 2009 12:09:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F40681FC27; Fri, 3 Jul 2009 12:09:45 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02819-07-2; Fri, 3 Jul 2009 12:09:05 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5859F1FBCC; Fri, 3 Jul 2009 12:09:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 475EB1FBCC for ; Fri, 3 Jul 2009 12:09:04 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10227-01-2 for ; Fri, 3 Jul 2009 12:08:55 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id 219D81FBBD for ; Fri, 3 Jul 2009 12:08:55 +0200 (CEST) Original-Received: from smtp.bluecom.no (smtp.bluecom.no [193.75.75.28]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n63A8s7Y012436 for ; Fri, 3 Jul 2009 12:08:54 +0200 Original-Received: from tommy-pc.i04.local (users.intility.com [193.71.38.142]) by smtp.bluecom.no (Postfix) with ESMTP id 3AB8210D6D5C for ; Fri, 3 Jul 2009 12:08:25 +0200 (CEST) User-Agent: Opera Mail/9.64 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=193.75.75.28; country=NO; region=09; city=Bodo; latitude=67.2833; longitude=14.3833; http://maps.google.com/maps?q=67.2833,14.3833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 254991546 - a77ab0c7ad08 - 20090703 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:51594 Archived-At: 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 ___________________________________________________________________________________