![](https://secure.gravatar.com/avatar/05fce907c35e80e17eb4270fde383431.jpg?s=120&d=mm&r=g)
Is there a way to have texexec output separate pdf files for each page it generates instead of a single pdf file? I have looked through all of the post-processing commands but can not figure out how to do it from that. Thank you, paul
![](https://secure.gravatar.com/avatar/36fe2e1a70ee9905ec5b6d8e53503684.jpg?s=120&d=mm&r=g)
It can easily be done with pdftk
pdftk file.pdf burst
if there is no contexty way
Johan
2006/9/20, Paul Jones
Is there a way to have texexec output separate pdf files for each page it generates instead of a single pdf file? I have looked through all of the post-processing commands but can not figure out how to do it from that.
Thank you, paul
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell
![](https://secure.gravatar.com/avatar/b16ca16bcbc474a1ba15813999e212da.jpg?s=120&d=mm&r=g)
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.
participants (3)
-
Johan Sandblom
-
Paul Jones
-
Sanjoy Mahajan