minor editor for pandoc pdf generation