pandoc generation