Solve issues with footnotes in boxouts, and repeated footnotes.

Also make some more improvements to HTML preesentation.
Add support for further information in PDF output.
Fix preview PDF output.
Improve implementation of further information section.
Fix minor issues with Makefile.

Specifically, centering of captions and the compilation of the preview
PDF.