Pandoc-based ebook compiler