2

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

4

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

3
  • how to install pdftk? – Arundhati Oct 15 '13 at 13:24
  • 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...) – fpnick Oct 15 '13 at 13:32
  • I just double checked: pdftk is in the repos! So sudo apt-get install pdftk will work! – fpnick Oct 15 '13 at 14:00
1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.