<div dir="ltr"><div>I have been trying to figure out how to use child templates 
(amongst other things you will see in the git repository hosted 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" target="_blank">https://jinja.palletsprojects.com/en/2.10.x/templates/#base-template</a></div><div><a href="https://realpython.com/primer-on-jinja-templating/" target="_blank">https://realpython.com/primer-on-jinja-templating/</a></div><div><br></div><div><a href="http://akuederle.com/Automatization-with-Latex-and-Python-2" target="_blank">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" target="_blank">http://eosrei.net/articles/2015/11/latex-templates-python-and-jinja2-generate-pdfs</a></div><div><br></div><div>Here is the code on github. <a href="https://github.com/warmheartcoin/jinjalatex.git">https://github.com/warmheartcoin/jinjalatex.git</a></div><div>Thank you in advance for your help.</div><div><br></div><div>best regards,</div><div><br></div><div>Chris Caston</div></div>