<div dir="ltr"><div>Hello,</div><div><br></div><div>I have been trying to figure out how to use child templates (amongst other things you will see in the attached python and LaTeX template code) in Jinja when working with LaTeX. This has been tricky as most of the pages I can find are specific to HTML.</div><div><br></div><div>I am trying to render the child template (test2.template) in jinja-test.template where I have written:</div><div><br></div><div>\section{\VAR{section8}}<br> {% block content %}{% endblock %}</div><div><br></div><div>I have probably missed something very simple but looking at so much code from so many <br></div><div>places is getting me confused.</div><div><br></div><div>Here is my code so far and the links to resources I am been trying to learn from:</div><div><br></div><div><a href="https://jinja.palletsprojects.com/en/2.10.x/templates/#base-template">https://jinja.palletsprojects.com/en/2.10.x/templates/#base-template</a></div><div><a href="https://realpython.com/primer-on-jinja-templating/">https://realpython.com/primer-on-jinja-templating/</a></div><div><br></div><div><a href="http://akuederle.com/Automatization-with-Latex-and-Python-2">http://akuederle.com/Automatization-with-Latex-and-Python-2</a></div><div><a href="http://eosrei.net/articles/2015/11/latex-templates-python-and-jinja2-generate-pdfs">http://eosrei.net/articles/2015/11/latex-templates-python-and-jinja2-generate-pdfs</a></div><div><br></div><div>Thank you in advance for your help.</div><div><br></div><div>best regards,</div><div><br></div><div>Chris Caston<br></div><div><br></div><div><br></div></div>