I've been using pandoc for a lot of projects. It's a great tool and supports a very wide range of document formats. I typically use it to convert from Markdown to PDF. Bit of a learning curve to get the parameters right, but if you are looking for a tool for automation, learning how to use pandoc is well worth the effort.