For collate-adf.sh
, you will need pdftk
. On Mac, you can install the Java ported version (brew install pdftk-java
).
On Linux, it is probably easier to use collate-adf-pdf-stapler.sh
with pdf-stapler
.
Sources:
- https://askubuntu.com/questions/207447/how-to-reduce-the-size-of-a-pdf-file
- http://milan.kupcevic.net/ghostscript-ps-pdf/
- https://stackoverflow.com/questions/32505951/pdftk-server-on-os-x-10-11
- https://raw.githubusercontent.com/turforlag/homebrew-cervezas/master/pdftk.rb
- https://superuser.com/questions/516612/merge-two-pdf-files-containing-even-and-odd-pages-of-a-book