A jinja2 based templating tool for latex