I\'m writing a Jinja template for a LaTeX document, but I\'m guessing this problem is more general to Jinja templates as a whole. The particular problem I\'m having is more