convert template to pandoc template
add NOTES
add makefile for automatically building pdf on linux