diff --git a/latex/Readme.md b/latex/Readme.md index 9a18cf5..51424ce 100644 --- a/latex/Readme.md +++ b/latex/Readme.md @@ -30,6 +30,9 @@ between the `` parameters (for the NotMyIdea template, this file is base.h {% if article and article.latex %} {{ article.latex }} {% endif %} + {% if page and page.latex %} + {{ page.latex }} + {% endif %} Usage ----- diff --git a/latex/latex.py b/latex/latex.py index 2ebd1c7..ce16044 100644 --- a/latex/latex.py +++ b/latex/latex.py @@ -45,3 +45,4 @@ def register(): Plugin registration """ signals.article_generate_context.connect(addLatex) + signals.pages_generate_context.connect(addLatex)