From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46861 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: issue with imposition Date: Sun, 18 Jan 2009 21:38:08 +0100 Message-ID: References: <49737D89.9080103@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1232311205 23138 80.91.229.12 (18 Jan 2009 20:40:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Jan 2009 20:40:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 18 21:41:15 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 1LOeSH-0001lT-RC for gctc-ntg-context-518@m.gmane.org; Sun, 18 Jan 2009 21:41:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0AB811FDCC; Sun, 18 Jan 2009 21:39:55 +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 06714-03; Sun, 18 Jan 2009 21:38:56 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E9D921FB82; Sun, 18 Jan 2009 21:38:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 13B321FB74 for ; Sun, 18 Jan 2009 21:38:51 +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 02268-06 for ; Sun, 18 Jan 2009 21:38:14 +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 66A761FCE5 for ; Sun, 18 Jan 2009 21:38:14 +0100 (CET) Original-Received: from mail.7values.nl (pluto.digitpaint.nl [83.98.197.3]) by filter1-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0IKcAoK004142 for ; Sun, 18 Jan 2009 21:38:12 +0100 Original-Received: from localhost (dp5.intern.digitpaint.nl [192.168.0.7]) by mail.7values.nl (Postfix) with ESMTP id 041DE18096 for ; Sun, 18 Jan 2009 21:38:11 +0100 (CET) Original-Received: from mail.7values.nl ([192.168.0.1]) by localhost (dp5.digitpaint.nl [192.168.0.7]) (amavisd-new, port 10024) with LMTP id yvcg1Iac308Q for ; Sun, 18 Jan 2009 21:38:08 +0100 (CET) Original-Received: from [192.168.0.17] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by mail.7values.nl (Postfix) with ESMTP id C64D718095 for ; Sun, 18 Jan 2009 21:38:10 +0100 (CET) In-Reply-To: <49737D89.9080103@web.de> X-Mailer: Apple Mail (2.753.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.98.197.3; country=NL; region=07; city=Hilversum; latitude=52.2333; longitude=5.1833; http://maps.google.com/maps?q=52.2333,5.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 167119073 - 772dd615bf01 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:46861 Archived-At: 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 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 \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 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 > ______________________________________________________________________ = > _____________ ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________