[NTG-context] Separate PDF files
Sanjoy Mahajan
sanjoy at mrao.cam.ac.uk
Wed Sep 20 16:38:39 CEST 2006
> 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.
More information about the ntg-context
mailing list