Lint, improve formatting, add makefile rules for latex.
Copy code changes to doc.
Fix Makefile path.
New pdf output.