aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-01-31 10:32:22 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-01-31 10:32:22 -0800
commit633da96f9870c781b9bdf913881a4eac4a0fa3a2 (patch)
treef8dd12e96499b752e799fdb08e4ffd33091054a1
parentf26a6351b20dff374b0209a1140faf1f7aeb5f74 (diff)
downloadpandoc-633da96f9870c781b9bdf913881a4eac4a0fa3a2.tar.gz
Docbook: Alternate doctype if mathml is used.
-rw-r--r--default.docbook5
1 files changed, 5 insertions, 0 deletions
diff --git a/default.docbook b/default.docbook
index 66dfbef8d..e1c8e0134 100644
--- a/default.docbook
+++ b/default.docbook
@@ -1,6 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
+$if(mathml)$
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook EBNF Module V1.1CR1//EN"
+ "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
+$else$
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
+$endif$
<article>
<articleinfo>
<title>$title$</title>