aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:13:16 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:13:16 +0000
commitf36ce015c4ba1d638f3b4009419f11c3d5ffa768 (patch)
tree365b843b636081d7fe31daec9fa2efce09c84356 /templates
parentb7750b705a57720681a3308f2c887ec86f82bf85 (diff)
downloadpandoc-f36ce015c4ba1d638f3b4009419f11c3d5ffa768.tar.gz
Fixed up LaTeXMathML module not to use TH.
Instead, we read the script in pandoc.hs, and pass it via variables. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1702 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates')
-rw-r--r--templates/html.template8
-rw-r--r--templates/latex.template2
2 files changed, 9 insertions, 1 deletions
diff --git a/templates/html.template b/templates/html.template
index 993115ab9..9a5f3ce95 100644
--- a/templates/html.template
+++ b/templates/html.template
@@ -7,7 +7,13 @@
/><meta name="generator" content="pandoc"
/><meta name="author" content="$authors$"
/><meta name="date" content="$date$"
- />$header-includes$
+ />
+ $if(latexmathml-script)$
+ $latexmathml-script$
+ $endif$
+ $if(header-includes)$
+ $header-includes$
+ $endif$
</head
><body
>
diff --git a/templates/latex.template b/templates/latex.template
index d9dc8e5ff..82303f5e8 100644
--- a/templates/latex.template
+++ b/templates/latex.template
@@ -33,7 +33,9 @@ $if(numbersections)$
$else$
\setcounter{secnumdepth}{0}
$endif$
+$if(header-includes)$
$header-includes$
+$endif$
$if(title)$
\title{$title$}