diff --git a/patacrep/templates.py b/patacrep/templates.py index 3ba3867d..f86b1d99 100644 --- a/patacrep/templates.py +++ b/patacrep/templates.py @@ -176,11 +176,12 @@ class TexBookRenderer(Renderer): if subtemplate in skip: continue subtemplate = self.jinjaenv.get_template(subtemplate) - variables.update(self.get_template_variables( - subtemplate, - skip + templates + variables.update( + self.get_template_variables( + subtemplate, + skip + templates + ) ) - ) return variables def parse_template(self, template):