aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/jats.csl4
-rw-r--r--data/templates/default.epub28
-rw-r--r--data/templates/default.epub38
-rw-r--r--data/templates/default.jats11
-rw-r--r--data/templates/default.man2
-rw-r--r--data/templates/default.ms2
6 files changed, 28 insertions, 7 deletions
diff --git a/data/jats.csl b/data/jats.csl
index 8f3f643d5..6972cb3f8 100644
--- a/data/jats.csl
+++ b/data/jats.csl
@@ -37,9 +37,9 @@
</names>
</macro>
- <macro name="editor">
+ <macro name="editor" delimiter=" ">
<names variable="editor" prefix="{{jats}}&lt;person-group person-group-type=&quot;editor&quot;&gt;{{/jats}}" suffix="{{jats}}&lt;/person-group&gt;{{/jats}}">
- <name prefix="{{jats}}&lt;name&gt;{{/jats}}" suffix="{{jats}}&lt;/name&gt;{{/jats}}" name-as-sort-order="all" sort-separator="">
+ <name prefix="{{jats}}&lt;name&gt;{{/jats}}" suffix="{{jats}}&lt;/name&gt;{{/jats}}" name-as-sort-order="all" sort-separator=" ">
<name-part name="family" text-case="capitalize-first" prefix="{{jats}}&lt;surname&gt;{{/jats}}" suffix="{{jats}}&lt;/surname&gt;{{/jats}}"/>
<name-part name="given" text-case="capitalize-first" prefix="{{jats}}&lt;given-names&gt;{{/jats}}" suffix="{{jats}}&lt;/given-names&gt;{{/jats}}"/>
</name>
diff --git a/data/templates/default.epub2 b/data/templates/default.epub2
index afcf96a3e..f440134df 100644
--- a/data/templates/default.epub2
+++ b/data/templates/default.epub2
@@ -46,6 +46,13 @@ $if(rights)$
<div class="rights">$rights$</div>
$endif$
$else$
+$if(coverpage)$
+<div id="cover-image">
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 $cover-image-width$ $cover-image-height$" preserveAspectRatio="none">
+<image width="$cover-image-width$" height="$cover-image-height$" xlink:href="../media/$cover-image$" />
+</svg>
+</div>
+$else$
$for(include-before)$
$include-before$
$endfor$
@@ -54,6 +61,7 @@ $for(include-after)$
$include-after$
$endfor$
$endif$
+$endif$
</body>
</html>
diff --git a/data/templates/default.epub3 b/data/templates/default.epub3
index f0feb147a..4f5bd6641 100644
--- a/data/templates/default.epub3
+++ b/data/templates/default.epub3
@@ -47,6 +47,13 @@ $if(rights)$
$endif$
</section>
$else$
+$if(coverpage)$
+<div id="cover-image">
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 $cover-image-width$ $cover-image-height$" preserveAspectRatio="none">
+<image width="$cover-image-width$" height="$cover-image-height$" xlink:href="../media/$cover-image$" />
+</svg>
+</div>
+$else$
$for(include-before)$
$include-before$
$endfor$
@@ -55,6 +62,7 @@ $for(include-after)$
$include-after$
$endfor$
$endif$
+$endif$
</body>
</html>
diff --git a/data/templates/default.jats b/data/templates/default.jats
index 5fd3590a5..cdc336bab 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>
@@ -167,6 +167,11 @@ $if(copyright.text)$
</permissions>
$endif$
$endif$
+$if(abstract)$
+<abstract>
+$abstract$
+</abstract>
+$endif$
$if(tags)$
<kwd-group kwd-group-type="author">
$for(tags)$
diff --git a/data/templates/default.man b/data/templates/default.man
index 44b59198b..f257ec3a7 100644
--- a/data/templates/default.man
+++ b/data/templates/default.man
@@ -12,7 +12,7 @@ $endif$
$if(hyphenate)$
.hy
$else$
-.nh \" Turn off hyphenation by default.
+.nh
$endif$
$for(header-includes)$
$header-includes$
diff --git a/data/templates/default.ms b/data/templates/default.ms
index 02bbc626a..d3a0bf7dc 100644
--- a/data/templates/default.ms
+++ b/data/templates/default.ms
@@ -71,7 +71,7 @@ $endif$
$if(hyphenate)$
.hy
$else$
-.nh \" Turn off hyphenation by default.
+.nh
$endif$
$if(has-inline-math)$
.EQ