Sunday, October 11, 2009

Editing PDFs on linux

There are three primary packages that help edit PDFs on linux:

Pdftk - tool for manipulating PDF documents.
PDFedit - a good PDF editor, similar to Acrobat (full version on Windows) for manipulating PDF documents
PDFjam - is a collection of PDF document handling utilities

To cut pages 1, 3, 5, and 10 to 20 from a document input.pdf and save them into a new file result.pdf:
sudo apt-get install pdftk

pdftk input.pdf 1 3 5 10-20 output result.pdf
The no-good way:
pdfnup input.pdf --nup 1x1 --pages 1,3,5,10-20 --outfile result.pdf

No comments: