Creating PDF booklets

I sometimes want to print out a document in a foldable, A5 booklet size. Here’s how I do it (on Ubuntu)

apt-get install texlive-extra-utils

Then

pdfbook2 -p a4paper input.pdf

which creates input-book.pdf ready to print and fold.

There’s a --short-edge option which might be needed depending on the printer.