aboutsummaryrefslogtreecommitdiff
path: root/templates/opendocument.template
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-03-13 04:11:24 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2010-03-13 04:11:24 +0000
commit3b9be92492cca7573f9ce79dff099b4d2fa3c56c (patch)
treef26d5f856df472e203645f082782e158fb5d8e2e /templates/opendocument.template
parenta35af5db295b0e0c598b1ff68f52fc14a4d3911e (diff)
downloadpandoc-3b9be92492cca7573f9ce79dff099b4d2fa3c56c.tar.gz
Use template variables for include-before/after.
* These options now imply -s; previously they worked also in fragment mode. * Users can now adjust position of include-before and include-after text in the templates. * Default position of include-before moved back (as it originally was) before table of contents. * Resolves Issue #217. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1883 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates/opendocument.template')
-rw-r--r--templates/opendocument.template6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/opendocument.template b/templates/opendocument.template
index 782c2ad53..ca49782f0 100644
--- a/templates/opendocument.template
+++ b/templates/opendocument.template
@@ -15,7 +15,13 @@ $endfor$
$if(date)$
<text:p text:style-name="Date">$date$</text:p>
$endif$
+$for(include-before)$
+$include-before$
+$endfor$
$body$
+$for(include-after)$
+$include-after$
+$endfor$
</office:text>
</office:body>
</office:document-content>