aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-11-11 09:44:49 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-11-11 09:44:49 +0100
commitfe113dd5fac4b05d74391bc47122f3d24b88b1dd (patch)
treef41a289ef5b24d5389b204db46d26358681f37de
parentb116022de46cc3969eb91a0035e8da8f9135cbb4 (diff)
downloadpandoc-fe113dd5fac4b05d74391bc47122f3d24b88b1dd.tar.gz
JATS template: fix incomplete previous commit
-rw-r--r--data/templates/article.jats_publishing1
-rw-r--r--data/templates/default.jats_articleauthoring2
-rw-r--r--doc/jats.md6
3 files changed, 5 insertions, 4 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing
index 7ea53d5b3..11902cae8 100644
--- a/data/templates/article.jats_publishing
+++ b/data/templates/article.jats_publishing
@@ -208,3 +208,4 @@ $back$
$endif$
</back>
</article>
+
diff --git a/data/templates/default.jats_articleauthoring b/data/templates/default.jats_articleauthoring
index 60b2ca559..66a4157d7 100644
--- a/data/templates/default.jats_articleauthoring
+++ b/data/templates/default.jats_articleauthoring
@@ -19,7 +19,7 @@ $endif$
$if(author)$
<contrib-group>
$for(author)$
-<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="true"$endif$>
+<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="yes"$endif$>
$if(author.orcid)$
<contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id>
$endif$
diff --git a/doc/jats.md b/doc/jats.md
index c099e0a04..bebb2536a 100644
--- a/doc/jats.md
+++ b/doc/jats.md
@@ -53,9 +53,9 @@ Metadata Values
`equal-contrib`
: boolean attribute used to mark authors who contributed
equally to the work. The
- [`equal-contrib`][attr:equal-contrib] attribute is added
- to the author's [`<contrib>`] element if this is set to a
- truthy value.
+ [`equal-contrib`][attr:equal-contrib] attribute, set to
+ `yes`, is added to the author's [`<contrib>`] element if
+ this is set to a truthy value.
`cor-id`
: identifier linking to the contributor's correspondence