This is a fork of the excellent conference paper splitting script hotdogbun by cscorley.
Let's split some conference papers in half so we can read them on smaller devices in continuous scroll mode instead of fumbling around on the screen like idiots.
All this script does is split each page of a PDF down the middle, hotdog bun style. It also tries to determine the bounding box of the PDF content to create more balanced margins.
To split a file './paper.pdf': python2 hotdogbun.py ./paper.pdf
That's it. Your split pdf will be located at './paper-split.pdf'
Right now, this script uses the PyPDF2 and pgmagick python packages. pgmagick is a wrapper around the GraphicsMagick library which uses the Magick++ API through boost.python. Both required packages can be installed through pip.
... basically.