On 2012-06-26 16:52, Bev Nicolson wrote:
Steve asks, reasonably: What is it that you're actually trying to do?
OK. Say I have a 300+ page pdf document. Someone else I know needs to read one or two chapters of it but I would like to extract not just the text, but the layout and photos too. (I have looked a Scribus but that won't open it so I suspect it's more use for creating them than editing.)
Bev.
Try this, using ghostscript:
$ gs -q -dBATCH -sDEVICE=pdfwrite -dNOPAUSE -dFirstPage=2 -dLastPage=4 -sOutputFile=output.pdf input.pdf
Just tried it on a large PDF I had and output.pdf contained just the 3 pages from 2-4.
Cheers, Steve