aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAlbert Krewinkel <[email protected]>2021-01-25 14:54:33 +0100
committerAlbert Krewinkel <[email protected]>2022-06-24 15:44:38 +0200
commit41af476a3dca797f7a6c8a31d376fddaebe37552 (patch)
tree42f618eef891ad9cbe67aa9824bca76642ef2f58 /data
parent6d351df1ed6a1ea4e36713d50951403121271742 (diff)
JATS template: mark authors with cor-id as corresponding authors
Corresponding authors are marked by setting the attribute `corresp="yes"` in their respective `<contrib>` element.
Diffstat (limited to 'data')
-rw-r--r--data/templates/article.jats_publishing2
-rw-r--r--data/templates/default.jats_articleauthoring2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing
index 35315a8ba..ebd14e9d7 100644
--- a/data/templates/article.jats_publishing
+++ b/data/templates/article.jats_publishing
@@ -89,7 +89,7 @@ $endif$
$if(author)$
<contrib-group>
$for(author)$
-<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="yes"$endif$>
+<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="yes"$endif$$if(author.cor-id)$ corresp="yes"$endif$>
$if(author.orcid)$
<contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id>
$endif$
diff --git a/data/templates/default.jats_articleauthoring b/data/templates/default.jats_articleauthoring
index 51c52af31..3f62027de 100644
--- a/data/templates/default.jats_articleauthoring
+++ b/data/templates/default.jats_articleauthoring
@@ -22,7 +22,7 @@ $endif$
$if(author)$
<contrib-group>
$for(author)$
-<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="yes"$endif$>
+<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="yes"$endif$$if(author.cor-id)$ corresp="yes"$endif$>
$if(author.orcid)$
<contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id>
$endif$