Switched the template language from Latex to HTML and using a third party generation tool instead