aboutsummaryrefslogtreecommitdiff
path: root/templates/latex.template
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:12:14 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:12:14 +0000
commit4806628c8d8ef9e696a981e6f47ede2b3a6f4d48 (patch)
treec384566dedd745c892d511590f5b98bce72f6750 /templates/latex.template
parent359f1109745afbfb1a38754576ba875a406de122 (diff)
downloadpandoc-4806628c8d8ef9e696a981e6f47ede2b3a6f4d48.tar.gz
Added 'standalone' variable, use in templates.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1697 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates/latex.template')
-rw-r--r--templates/latex.template4
1 files changed, 4 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$