Fixes to gammalatex package.

Reset the default compile command to pdflatex (which is what's in the documentation).

Fix the ordering of the options to compileCommand.

Clean up temporary directory if there is a LaTeX error.