From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14078 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \combinepages with negative distance Date: Tue, 18 Nov 2003 23:06:26 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <6.0.0.22.2.20031118230420.02823c50@server-1> References: <20031118151821.GA27792@physik.fu-berlin.de> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1069229580 517 80.91.224.253 (19 Nov 2003 08:13:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2003 08:13:00 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Nov 19 09:12:58 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AMNSM-0002oZ-00 for ; Wed, 19 Nov 2003 09:12:58 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 9003510B34; Wed, 19 Nov 2003 09:12:49 +0100 (MET) Original-Received: from mail.solcon.net (mail.solcon.net [212.45.33.5]) by ref.ntg.nl (Postfix) with ESMTP id 6C13010B27 for ; Wed, 19 Nov 2003 09:05:48 +0100 (MET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.net (8.11.6/8.9.3) with ESMTP id hAJ85j926579 for ; Wed, 19 Nov 2003 09:05:46 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 4358B233CB; Wed, 19 Nov 2003 09:05:47 +0100 (CET) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 5486517AF2 for ; Wed, 19 Nov 2003 08:05:45 +0000 (UTC) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Original-To: ntg-context@ntg.nl In-Reply-To: <20031118151821.GA27792@physik.fu-berlin.de> Original-References: <20031118151821.GA27792@physik.fu-berlin.de> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14078 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14078 At 16:18 18/11/2003, you wrote: >Hi, > >I have a A5 document (as PDF file) which should be nx=2,ny=1 placed on a >landscape A4 paper. >The problem is that I want to have more whitespace on the left side for >stapleing/punching which can easiest be done by letting the included >pages overlap. I tried distance=-4cm but it didn't work as expected. > >Desired result: > >+---+-------------+------------+ >| | first a5 . | second a5 | >| | . | | >| | . | | >| | . | | >+---+-------------+------------+ > | ^^^ - included pages overlap > | extra wide margin > >I tried: > \setuppapersize[a5,landscape][a4,landscape] > \combinepages[main.pdf][nx=2,ny=1,frame=on,distance=-4cm] How about ... \setuppapersize [A4,landscape] [A4,landscape] \setuplayout [height=middle,width=middle, header=0pt,footer=0pt, topspace=1cm, cutspace=1cm,backspace=3cm] \newcounter\DirtyTrickCounter \startsetups[verydirtytrick] \doglobal\increment\DirtyTrickCounter \ifodd\DirtyTrickCounter \hbox to \overlaywidth{\hskip1cm\foregroundbox} \fi \stopsetups \defineoverlay [verydirtytrick] [\setups{verydirtytrick}] \starttext \combinepages [mag-0004-000.pdf] [nx=2,ny=1, background=verydirtytrick, frame=on] \stoptext Dirty eh? Hans