From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19017 Path: news.gmane.org!not-for-mail From: "Ciro A. Soto" Newsgroups: gmane.comp.tex.context Subject: Re: imposition for a pdf file Date: Wed, 16 Mar 2005 04:52:06 -0800 (PST) Message-ID: <20050316125206.60853.qmail@web80401.mail.yahoo.com> Reply-To: ciro@kavyata.com, mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110977517 23051 80.91.229.2 (16 Mar 2005 12:51:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2005 12:51:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 16 13:51:57 2005 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 1DBXzA-0002m6-Hl for gctc-ntg-context-518@m.gmane.org; Wed, 16 Mar 2005 13:50:52 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D7D6F12825; Wed, 16 Mar 2005 13:52:12 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09232-04-5; Wed, 16 Mar 2005 13:52:10 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F269C12800; Wed, 16 Mar 2005 13:52:09 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 387A512800 for ; Wed, 16 Mar 2005 13:52:09 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09232-04-4 for ; Wed, 16 Mar 2005 13:52:08 +0100 (CET) Original-Received: from web80401.mail.yahoo.com (web80401.mail.yahoo.com [66.218.79.56]) by ronja.ntg.nl (Postfix) with SMTP id EA765127FB for ; Wed, 16 Mar 2005 13:52:07 +0100 (CET) Original-Received: from [136.2.1.153] by web80401.mail.yahoo.com via HTTP; Wed, 16 Mar 2005 04:52:06 PST Original-To: mailing list for ConTeXt users In-Reply-To: 6667 X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:19017 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19017 Thank you. This should work. Ciro --- Hans Hagen wrote: > luigi.scarso wrote: > > Ciro A. Soto wrote: > > > >>I have a pdf file with 660 letter-size pages. > >>I would like to save toner in my printer by > >>printing 2 or 4 pages in one single sheet of > paper. > >> > >>Is it possible to do this with context? > >>or any other alternative? > >> > >>Remember, I don't have the source file, only the > pdf > >>file. > >> > >>thank you > >> > >>Ciro > > texexec --pdf --pdfcomb --comb=2*2 manypages.pdf > > >>_______________________________________________ > >>ntg-context mailing list > >>ntg-context@ntg.nl > >>http://www.ntg.nl/mailman/listinfo/ntg-context > >> > >> > >> > > As usually, not a direct answer... > > > > Play with these script > > %% > > %% save it as test.tex > > %% > > \setupcolors[state=start] > > \starttext > > \dorecurse{660}% > > {\startTEXpage[width=3cm,height=2cm] > > \vbox to \vsize{\vss > > \hbox to > > > \hsize{\hss\framed[width=2cm,align={middle,lohi},background=color,backgroundcolor=green]{p.\tfd\recurselevel}\hss} > > > \vss} > > \stopTEXpage} > > \stoptext > > > > %% > > %% save as my-imp.tex > > %% > > %% \setuplayout here > > \starttext > > \centerline{% > > \externalfigure[test][page=1] > > \externalfigure[test][page=3] > > \externalfigure[test][page=5] > > \externalfigure[test][page=7] > > \externalfigure[test][page=9] > > \externalfigure[test][page=11] > > } > > \blank[1cm] > > \centerline{% > > \externalfigure[test][page=2] > > \externalfigure[test][page=4] > > \externalfigure[test][page=6] > > \externalfigure[test][page=8] > > \externalfigure[test][page=10] > > \externalfigure[test][page=12] > > } > > \stoptext > > > > (you can create my-imp.tex by a script and > choosing the appropriate number > > for page=...., also use \setuplayout etc..) > > > > Also look for \setuparranging. > > > > luigi > > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > ntg-context mailing list > > ntg-context@ntg.nl > > http://www.ntg.nl/mailman/listinfo/ntg-context > > > -- > > ----------------------------------------------------------------- > Hans > Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | > The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | > www.pragma-ade.com > | > www.pragma-pod.nl > ----------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context >