[#57] Prevent trailing blank pages in PDFs

Remove bottom margin/padding from the final element of the document to
prevent a trailing blank page being generated.

Refs #57.