add pandoc makefile to generate pdf/docx/html

and minor fixes to definitions.md to make it work