ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Subject: Re: Separate PDF files
Date: Wed, 20 Sep 2006 15:38:39 +0100	[thread overview]
Message-ID: <E1GQ3Dj-0000ju-00@skye.ra.phy.cam.ac.uk> (raw)
In-Reply-To: Your message of "Wed, 20 Sep 2006 08:10:46 MDT." <f35545860609200710j61e695ffx16000838f55e7832@mail.gmail.com>

> 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.

      parent reply	other threads:[~2006-09-20 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-20 14:10 Paul Jones
2006-09-20 14:26 ` Johan Sandblom
2006-09-20 14:38 ` Sanjoy Mahajan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1GQ3Dj-0000ju-00@skye.ra.phy.cam.ac.uk \
    --to=sanjoy@mrao.cam.ac.uk \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).