From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30917 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Separate PDF files Date: Wed, 20 Sep 2006 15:38:39 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158763172 8805 80.91.229.2 (20 Sep 2006 14:39:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Sep 2006 14:39:32 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 20 16:39:28 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GQ3E4-0000lS-Qm for gctc-ntg-context-518@m.gmane.org; Wed, 20 Sep 2006 16:39:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EAFA11FE34; Wed, 20 Sep 2006 16:38:59 +0200 (CEST) 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 16105-01; Wed, 20 Sep 2006 16:38:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7DE331FE22; Wed, 20 Sep 2006 16:38:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A8B6A1FE22 for ; Wed, 20 Sep 2006 16:38:48 +0200 (CEST) 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 15662-03-3 for ; Wed, 20 Sep 2006 16:38:42 +0200 (CEST) Original-Received: from mraos.ra.phy.cam.ac.uk (mraos.ra.phy.cam.ac.uk [131.111.48.8]) by ronja.ntg.nl (Postfix) with SMTP id 682461FDFA for ; Wed, 20 Sep 2006 16:38:41 +0200 (CEST) Original-Received: from skye.ra.phy.cam.ac.uk ([131.111.48.158] ident=mail) by mraos.ra.phy.cam.ac.uk with esmtp (Exim 4.43) id 1GQ3Dj-0001T3-S8; Wed, 20 Sep 2006 15:38:39 +0100 Original-Received: from sanjoy by skye.ra.phy.cam.ac.uk with local (Exim 3.36 #1) id 1GQ3Dj-0000ju-00; Wed, 20 Sep 2006 15:38:39 +0100 Original-To: mailing list for ConTeXt users In-Reply-To: Your message of "Wed, 20 Sep 2006 08:10:46 MDT." X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:30917 Archived-At: > Is there a way to have texexec output separate pdf files for each > page it generates instead of a single pdf file? Not sure, but pdftk (the PDF toolkit, a.k.a. Swiss army knife) has a 'burst' option. For example: pdftk mydoc.pdf burst gives you pg_0001.pdf, pg_0002.pdf, .... You can control the output names with the 'output' option by passing a printf-style string: pdftk mydoc.pdf burst output 'mydoc-%02d.pdf' -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.