aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorArfon Smith <arfon@users.noreply.github.com>2019-12-31 01:18:55 -0500
committerJohn MacFarlane <jgm@berkeley.edu>2019-12-30 22:18:55 -0800
commit5847624124b4c91ae0a64b76405a36ad4f0dc3c4 (patch)
treeb6db1c10fa0f252f0ac2f8143370183e9999b85a /data
parent82f44592ae1f2253a5f7ca52d5d3a2299e9bc7a9 (diff)
downloadpandoc-5847624124b4c91ae0a64b76405a36ad4f0dc3c4.tar.gz
Update JATS dtd (#6020)
The current DTD for the JATS writer template is for Journal Publishing (JATS-journalpublishing1.dtd), which does not permit ext-link as a valid child (https://jats.nlm.nih.gov/publishing/tag-library/1.1/element/publisher-name.html). This update modifies the default output template to be the less restrictive JATS archiving and interchange DTD which systems like PubMed use internally to represent their articles.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.jats8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/templates/default.jats b/data/templates/default.jats
index cdc336bab..20560cdc5 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.1 20151215//EN"
- "JATS-journalpublishing1.dtd">
+<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.2 20190208//EN"
+ "JATS-archivearticle1.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.1" 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.2" 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.1" article-type="other">
+<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.2" article-type="other">
$endif$
<front>
<journal-meta>