helper to use pandoc for generating pdf presentations.