aboutsummaryrefslogtreecommitdiff
path: root/templates/docbook.template
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:16:44 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-12-31 01:16:44 +0000
commit7dc43d3684045d5e83c2440a75040f22de4efcf4 (patch)
tree3e79c457002cd8fdb5dc5f8b44d25ee0eb887252 /templates/docbook.template
parent998fb9820ee5e1cefd6960b8e18a656717689494 (diff)
downloadpandoc-7dc43d3684045d5e83c2440a75040f22de4efcf4.tar.gz
Updated docbook writer to use new templates.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1728 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'templates/docbook.template')
-rw-r--r--templates/docbook.template14
1 files changed, 13 insertions, 1 deletions
diff --git a/templates/docbook.template b/templates/docbook.template
index 14931314e..2f0de73da 100644
--- a/templates/docbook.template
+++ b/templates/docbook.template
@@ -1,10 +1,22 @@
$if(legacy-header)$
+$legacy-header$
+$else$
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
$endif$
<article>
-$metadata$
+ <articleinfo>
+ <title>$title$</title>
+$for(author)$
+ <author>
+ $author$
+ </author>
+$endfor$
+$if(date)$
+ <date>$date$</date>
+$endif$
+ </articleinfo>
$body$
</article>