aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfon Smith <arfon@users.noreply.github.com>2019-07-06 23:31:02 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2019-07-06 23:31:02 +0200
commit020e2a06d53777424bedea1a05c31241fc5e9f96 (patch)
treeac8cc83fcae1347153473f4d39d1eb1caa85231c
parent9c4ba81357ab0d72d41c3e69c87a3939f90e9751 (diff)
downloadpandoc-020e2a06d53777424bedea1a05c31241fc5e9f96.tar.gz
Updating JATS template to v1.1dtd (#5632)
* Updating JATS template to v1.1dtd * Update writer.jats
-rw-r--r--data/templates/default.jats6
-rw-r--r--test/writer.jats4
2 files changed, 5 insertions, 5 deletions
diff --git a/data/templates/default.jats b/data/templates/default.jats
index 5fd3590a5..6fce5337c 100644
--- a/data/templates/default.jats
+++ b/data/templates/default.jats
@@ -2,12 +2,12 @@
$if(xml-stylesheet)$
<?xml-stylesheet type="text/xsl" href="$xml-stylesheet$"?>
$endif$
-<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.0 20120330//EN"
+<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN"
"JATS-journalpublishing1.dtd">
$if(article.type)$
-<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.0" article-type="$article.type$">
+<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.1" article-type="$article.type$">
$else$
-<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.0" article-type="other">
+<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.1" article-type="other">
$endif$
<front>
<journal-meta>
diff --git a/test/writer.jats b/test/writer.jats
index 7bbf8304d..8df981cc3 100644
--- a/test/writer.jats
+++ b/test/writer.jats
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
-<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.0 20120330//EN"
+<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN"
"JATS-journalpublishing1.dtd">
-<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.0" article-type="other">
+<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.1" article-type="other">
<front>
<journal-meta>
<journal-title-group>