add pandoc style citations
remove tmp files
updated pandoc implementation, document in README