PDF, trivial tip

To extract a subset of pages from a PDF document, on OS X, open it with Preview (not Acrobat Reader), do File > Print, select the page range, and do PDF > Save as PDF. But that only works for one contiguous subset. The more elaborate way, say to remove page 13, is to install Pdftk, open the terminal, set the current directory as that containing the input file, and execute the following command:

$pdftk in.pdf cat 1-12 14-end output out1.pdf

Well, I get an error similar to this one, so to be continued, maybe…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s