From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76283 Path: news.gmane.org!not-for-mail From: Marco Pessotto Newsgroups: gmane.comp.tex.context Subject: Re: imposition 2UP = empty pages Date: Fri, 18 May 2012 18:12:32 +0200 Message-ID: <87396xeadr.fsf@universe.krase.net> References: <95F4CE7A-906A-40FC-97E8-784E3E8069C9@fiee.net> <1A943AE3-F577-4EA0-ABF5-4E0974D7049A@fiee.net> <87ehqij5q0.fsf@universe.krase.net> <87wr49eizr.fsf@universe.krase.net> <4FB661A4.6010407@wxs.nl> <87ehqhedqr.fsf@universe.krase.net> <4FB67207.4010406@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1337357571 7649 80.91.229.3 (18 May 2012 16:12:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 May 2012 16:12:51 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Fri May 18 18:12:51 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SVPnJ-0006lA-79 for gctc-ntg-context-518@m.gmane.org; Fri, 18 May 2012 18:12:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DAB09101DD; Fri, 18 May 2012 18:12:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nsCdKUNtSenn; Fri, 18 May 2012 18:12:42 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F296101DF; Fri, 18 May 2012 18:12:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 78BDB101DF for ; Fri, 18 May 2012 18:12:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IcNNbUGmSeMK for ; Fri, 18 May 2012 18:12:39 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id B28A6101DD for ; Fri, 18 May 2012 18:12:39 +0200 (CEST) Original-Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4IGCbEh000737 for ; Fri, 18 May 2012 18:12:39 +0200 Original-Received: by wefh52 with SMTP id h52so3074790wef.14 for ; Fri, 18 May 2012 09:12:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=k2AlIZ8e/JSU739xJPsV4kDt9Ck21wb4M2+MUFeo9jA=; b=QuV9xTnXLXgMH09mc9ErvgIFu04xEDSEQEXxCCsuuOnw3rMFRJPJhpf5bIU7TbisDi bu+vQL69un/ymSUBuOKzexeMF5QpIGwu8ORMvyNvJJkAAWnkbAOsPe3j81J+OSjv0L1x oGE87WJla8zNkr2N/Yimfslv0vKCL/xGnUN7u/T17yvYpZa6CqrpkUh+DzyVDreQe4FT 3XW3EVPqbS5itziTSSaIHM47xtXWtT1xqv3PXn8BQI0LL8QcSJ1LRaxs3jQno63wJIU4 d/rT6lkbYyxaodx75T+uEkHWpKBsu50tijhYgiwcUU/I/rT3n2oHxKgSpY5HMawzJ98k RpFw== Original-Received: by 10.216.142.38 with SMTP id h38mr7665002wej.54.1337357557069; Fri, 18 May 2012 09:12:37 -0700 (PDT) Original-Received: from localhost (93-137-98-158.adsl.net.t-com.hr. [93.137.98.158]) by mx.google.com with ESMTPS id f19sm2936410wiw.11.2012.05.18.09.12.35 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 May 2012 09:12:35 -0700 (PDT) In-Reply-To: <4FB67207.4010406@wxs.nl> (Hans Hagen's message of "Fri, 18 May 2012 18:00:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QHbscBtW - 56dc11f49ebe - 20120518 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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 Xref: news.gmane.org gmane.comp.tex.context:76283 Archived-At: Hans Hagen writes: > quick hack that you can put in cont-new.mkiv > > \def\handlearrangedpageTWOUP > {\splitoffarrangedpagesTWO > \ifconditional\arrangedswapstate > \global\setbox\arrangedpageA\hbox > {\box\arrangedpageA > \box\arrangedpageB}% > \setfalse\arrangedswapstate > \else > \global\setbox\arrangedpageA\hbox > {\box\arrangedpageB > \box\arrangedpageA}% > \settrue\arrangedswapstate > \fi > \ht\arrangedpageA\paperheight > \global\setbox\arrangedpageB\box\scratchbox} Tested and works like a charm. Thanks! -- Marco ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________