For a free and universal alternative you can use the
pdfbook script, part of the
pdfjam collection which is usually included in LaTeX distributions (notably MacTeX). It's simple to use from the command line:
If the above doesn't work, then
/usr/texbin isn't in your PATH. The best course of action is to ensure PATH is correctly set (lots of command line programs will fail if the PATH variable isn't correct and
pdfbook is one of them); this isn't trivial under OS X if you want a consistent behavior between applications launched from the dock and applications run from a terminal so you definitely should search a complete solution to this specific problem. As dirty work-around, you can run
export PATH="$PATH:/usr/texbin" every time before you use
pdfbook (including in the service below).
If you don't want to use the command line, you can create a service easily.
- Launch Automator (on Yosemite it's in Applications/Others)
- Create a new document and select "Service".
- On top of the right frame, for "Service receives selected" choose "PDF files".
- Search "Run Shell Script" from the bar on the top of the left frame and double-click it. Select to "Pass input" as "arguments" in the newly created window.
- Enter a simple script running
pdfbook, for instance
- Save it as "Create booklet" (for instance).
- In Finder, select a PDF file, then in the menu go to Services/Create booklet.
My complete script also creates a temporary file and opens the resulting PDF:
TMPF=`mktemp -t bookletXXXX`
mv "$TMPF" "$TMPF.pdf"
pdfbook -o "$TMPF.pdf" "$@"
The most obvious problem is the several GB download and installation of a LaTeX distribution if all you want is the