Add pre-commit script, symlinked into .git/hooks

Produces updated PDF file for every commit.