From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46862 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Pablo_Rodr=EDguez?= Newsgroups: gmane.comp.tex.context Subject: Re: issue with imposition Date: Sun, 18 Jan 2009 22:51:52 +0100 Message-ID: <4973A478.5010905@web.de> References: <49737D89.9080103@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1232315610 4390 80.91.229.12 (18 Jan 2009 21:53:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Jan 2009 21:53:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 18 22:54:37 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 1LOfay-0006wV-10 for gctc-ntg-context-518@m.gmane.org; Sun, 18 Jan 2009 22:54:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B86591FD0A; Sun, 18 Jan 2009 22:52:56 +0100 (CET) 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 20029-01-2; Sun, 18 Jan 2009 22:52:34 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A88BA1FB5B; Sun, 18 Jan 2009 22:52:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 22C401FB14 for ; Sun, 18 Jan 2009 22:52:34 +0100 (CET) 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 20029-01 for ; Sun, 18 Jan 2009 22:51:58 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by ronja.ntg.nl (Postfix) with ESMTP id 2875B1FB5B for ; Sun, 18 Jan 2009 22:51:58 +0100 (CET) Original-Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by filter1-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0ILpuS0025135 for ; Sun, 18 Jan 2009 22:51:57 +0100 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id CBEE5F90E846 for ; Sun, 18 Jan 2009 22:51:56 +0100 (CET) Original-Received: from [87.235.126.186] (helo=[192.168.0.193]) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #277) id 1LOfYi-0004i7-00 for ntg-context@ntg.nl; Sun, 18 Jan 2009 22:51:56 +0100 User-Agent: Thunderbird 2.0.0.18 (X11/20081120) In-Reply-To: X-Sender: oinos@web.de X-Provags-ID: V01U2FsdGVkX18SxJqAWfkvDUXb9+tp1nNppkZPZHBMOewWFxuF tUBrmMu0eDgzXE1dfsZl4kEQUxy0Tot+R0GFFBB6PXacjOR4mM 56sBsYr3M= X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.72.192.227; country=DE; region=01; city=Karlsruhe; latitude=49.0047; longitude=8.3858; http://maps.google.com/maps?q=49.0047,8.3858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 167135010 - 96f9b9d96461 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:46862 Archived-At: Willi Egger wrote: > Hi Pablo, > = > The problem is that the filius-page is higher than the width of an A4. = > So there is no way other than to scale the original pages down to a = > height of 210mm. For this action you can use something like Thanks for your fast reply. I thought it was possible to set center the = imposed pages, both vertically and horizontally, to define a > The following code in a tex-file. > = > \definepapersize[Mypaper][height=3D210mm,width=3D123mm] > \setuppapersize > [Mypaper][Mypaper] > \setuplayout > [page] > \starttext > \copypages > [input.pdf] > [scale=3D905, > offset=3D0pt] > \stoptext > = > The resulting pdf-file should then be arranged. However I would suggest = > not to use 2UP. Arranging the whole file (351 pages) with 2UP results = > in a rather thick single booklet of 88 A4-sheets. What you can try is to = > setup arranging as follows (untested). Put this code into an environment = > file e.g. arrange.tex Thanks for the code bellow, but I'm not trying to make a booklet, but to = print the book to cut the paper in two pieces to bound it. Thanks anyway, Pablo > \definepapersize[Mypaper][height=3D210mm,width=3D123mm] > %\definepapersize [offset=3D15pt] = > \setuppapersize > [Mypaper][A4,portrait] > \setuplayout > [backspace=3D0pt, > topspace=3D0pt, > width=3Dmiddle, > height=3Dmiddle, > %location=3Dmiddle, > header=3D0pt, > footer=3D0pt] > = > \setuppagenumbering[location=3D,alternative=3Ddoublesided] > \setuparranging[2*2*4] > \starttext > \insertpages[input-scaled.pdf][width=3D0pt] > \stoptext > = > On the commandline call conTeXt as follows > = > texmfstart texexec --pdfarrange --environments=3Darrange = > --result=3Doutput.pdf input-scaled.pdf > = > I hope this helps > = > Willi > = > On Jan 18, 2009, at 8:05 PM, Pablo Rodr=EDguez wrote: > = >> Hi there, >> >> I would like to use the imposition capabilities from ConTeXt to be able >> to print a PDF book in a standard laser printer. To save paper, I use = >> the 2UP arranging option thanks to this code from the wiki: >> >> \definepapersize [filius][width=3D135.9mm, height=3D231.8mm] >> \setuppapersize [filius][A4,landscape] >> \setuparranging [2UP,doublesided] >> \setuplayout [backspace=3D0pt, >> topspace=3D0pt, >> width=3Dmiddle, >> height=3Dmiddle, >> location=3Dmiddle, >> header=3D0pt, >> footer=3D0pt, >> grid=3Dno, marking=3Doff] >> \starttext >> \filterpages[ZittrainTheFutureoftheInternet.pdf][4:351][height=3D21cm] >> \stoptext >> >> The PDF file can be downloaded from >> http://futureoftheinternet.org/static/ZittrainTheFutureoftheInternet.pdf. >> >> The issue here is that I get a resulting paper size with the filius = >> height and not with 21cm from A4. >> >> I have tried have the output in a standard A4 paper size, but all that = >> I got is a scaled down PDF. I would like to avoid scaling the document = >> if that were possible. >> >> Is there any way, given the example above, to impose the filius paper = >> size on a real landscape A4 without having to scale down the PDF = >> document? >> >> Thanks for your help, >> >> >> Pablo ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________