From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30709 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: 2DOWN imposition gives blank pages Date: Fri, 8 Sep 2006 03:13:53 +0200 Message-ID: <6faad9f00609071813y1772e28bi5e150208a3a34c30@mail.gmail.com> References: <44F46A90.1040304@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1157678065 3999 80.91.229.2 (8 Sep 2006 01:14:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Sep 2006 01:14:25 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 08 03:14:24 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GLUwe-0004AL-31 for gctc-ntg-context-518@m.gmane.org; Fri, 08 Sep 2006 03:14:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E5AFD1FEA6; Fri, 8 Sep 2006 03:14:10 +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 21515-07-3; Fri, 8 Sep 2006 03:14:05 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 367101FE7D; Fri, 8 Sep 2006 03:14:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 915C01FE7D for ; Fri, 8 Sep 2006 03:14:01 +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 21515-07-2 for ; Fri, 8 Sep 2006 03:13:55 +0200 (CEST) Original-Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by ronja.ntg.nl (Postfix) with SMTP id 014221FE7A for ; Fri, 8 Sep 2006 03:13:54 +0200 (CEST) Original-Received: by wx-out-0506.google.com with SMTP id s12so426763wxc for ; Thu, 07 Sep 2006 18:13:53 -0700 (PDT) Original-Received: by 10.90.66.9 with SMTP id o9mr503625aga; Thu, 07 Sep 2006 18:13:53 -0700 (PDT) Original-Received: by 10.90.94.17 with HTTP; Thu, 7 Sep 2006 18:13:53 -0700 (PDT) Original-To: "mailing list for ConTeXt users" In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:30709 Archived-At: On 8/29/06, Sanjoy Mahajan wrote: > > texexec --pdfarrange --paper=a5a4 --2up yourfile.pdf > > I tried a few experiments with no luck. Not sure if it's a context or > texexec problem, or my confusion. I made the multi-page p5.pdf from try --paperformat instead of --paper. texexec --pdfcombine --combination=2*1 --paperformat=A4,landscape*A4,lanscape --nobanner filename.pdf seems to do almost what you want (although it's way to complicated if you ask me), but I still don't understand how \definepapersize[offset=#{paperoffset}] works. Mojca > \setuppapersize[A4][A4] > \starttext > \dorecurse{50}{ > \input tufte > } > \stoptext > > Then I ran 'texexec --pdfarrange --paper=a5a4 p5.pdf' (the --2up > doesn't change the error below) and got this error: > > ! Missing number, treated as zero. > > a > \@@ppoffset ->a > 5a4 > \calculatepaperoffsets ...lue {\??pp #1\c!offset } > \divide \scratchdimen \arr... > ...!height }\calculatepaperoffsets {A4} > \xdef \papersize {A4} > \firstofoneargument #1->#1 > > \next1 #1,->\docommando {#1} > \doprocesscommaitem > ... > l.3 \setuplayout > > > texexec is doing the arranging by making the following 'texexec.tex' > file and then, I think, running texexec on it: > > \definepapersize > [offset=a5a4] > \setuplayout > [backspace=0cm, > topspace=0cm, > width=middle, > height=middle, > location=middle, > header=0pt, > footer=0pt] > \setuppagenumbering > [alternative=doublesided] > \starttext > \insertpages > [p5.pdf] > [width=0cm] > \stoptext > > The 'offset=a5a4' is upsetting Context; according to texshow-web on > the garden, the offset should be a dimension. Also, I couldn't find > (using grep) the string 'a5a4' in the context sources.