Added doc comment to pdfmaker
Rewrote to use git diff