diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/latex.template | 4 | ||||
-rw-r--r-- | templates/markdown.template | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/latex.template b/templates/latex.template index 7c235f8e4..6af0a59cc 100644 --- a/templates/latex.template +++ b/templates/latex.template @@ -1,3 +1,4 @@ +$if(standalone)$ $if(legacy-header)$ $legacy-header$ $else$ @@ -48,6 +49,7 @@ $endif$ \begin{document} \maketitle +$endif$ $if(toc)$ \tableofcontents $endif$ @@ -58,4 +60,6 @@ $body$ $if(after)$ $after$ $endif$ +$if(standalone)$ \end{document} +$endif$ diff --git a/templates/markdown.template b/templates/markdown.template index d5df8a606..5c8a27674 100644 --- a/templates/markdown.template +++ b/templates/markdown.template @@ -1,9 +1,11 @@ +$if(standalone)$ $if(titleblock)$ $titleblock$ $endif$ $if(header-includes)$ $header-includes$ $endif$ +$endif$ $if(before)$ $before$ $endif$ |