I want to split from page 365 to 432 ( a chapter) from my Calculus (27 mb) book and send it to some one as a single pdf file. What command I should write in Terminal to split ? I am using ubuntu 12.04
2 Answers
I am assuming the book is also a PDF... Install pdftk an then do the following (whereas in.pdf is your input document and out1.pdf will be the isolated chapter):
pdftk in.pdf cat 365-432 output out1.pdf
-
-
Like with any other tool that's in the repos: sudo apt-get install pdftk (I think it's in the repos, but I can't check it right now... should be though...)– fpnickOct 15, 2013 at 13:32
-
I just double checked: pdftk is in the repos! So sudo apt-get install pdftk will work!– fpnickOct 15, 2013 at 14:00
Install xpdf by downloading it from here. Download the .deb file and open it with Ubuntu software centre and install it. and then from command line pdftops 100p-inputfile.pdf - | psselect -starting page number-ending page number | \
ps2pdf14 - anyname.pdf