From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19018 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:48:00 -0800 (PST) Message-ID: <20050316124800.89509.qmail@web80402.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 1110977518 23060 80.91.229.2 (16 Mar 2005 12:51:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2005 12:51:58 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 16 13:51:58 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 1DBXz4-0002m2-TT for gctc-ntg-context-518@m.gmane.org; Wed, 16 Mar 2005 13:50:46 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 165301279D; Wed, 16 Mar 2005 13:52:07 +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 09413-02; Wed, 16 Mar 2005 13:52:07 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 90459127FB; Wed, 16 Mar 2005 13:48:04 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 42E1D127FB for ; Wed, 16 Mar 2005 13:48:03 +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 09142-05-4 for ; Wed, 16 Mar 2005 13:48:02 +0100 (CET) Original-Received: from web80402.mail.yahoo.com (web80402.mail.yahoo.com [66.218.79.57]) by ronja.ntg.nl (Postfix) with SMTP id ED5811279D for ; Wed, 16 Mar 2005 13:48:01 +0100 (CET) Original-Received: from [136.2.1.153] by web80402.mail.yahoo.com via HTTP; Wed, 16 Mar 2005 04:48:00 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:19018 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19018 Thank you Luigi, but where is the pdf file input in your instructions? remember, i don't have the tex file, only the pdf file. ciro --- "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 byprinting 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 pdffile.thank youCiro_______________________________________________ntg-context mailing listntg-context@ntg.nlhttp://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 theappropriate number for page=...., also use \setuplayoutetc..) Also look for \setuparranging. luigi > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context >