it's unfortunately per chapter... rather cumbersome :(
files=`ls | grep toc && ls | grep pref && ls | grep ack && ls | grep c && ls | grep bib && echo ls | grep index`; gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=SecurityEngineering2ndEd.pdf $files
When you get back, you should have a single file, SecurityEngineering2ndEd.pdf (edit the command to name yours whatever you like)Edit: This assumes you're running a unix variant and have ghostscript (gs) installed
Edit: Use this instead in case toomuchtodo's dropbox link doesn't work for you (like what happened for me: "This account's public links are generating too much traffic and have been temporarily disabled!")
wget http://www.cl.cam.ac.uk/~rja14/Papers/book2coverlarge.jpg
convert book2coverlarge.jpg cover.pdf
pdfunite cover.pdf *toc.pdf *pref.pdf *acks.pdf SEv2-c*.pdf *biblio.pdf *index.pdf SEv2.pdfE.g. 'pdftk *.pdf cat output combined.pdf'; 'pdftk -h' has more examples
1. http://www.cl.cam.ac.uk/~rja14/musicfiles/manuscripts/SEv1.p...
http://www.linux.com/news/software/applications/8229-putting...