aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--data/templates/article.jats_publishing2
-rw-r--r--data/templates/default.jats_articleauthoring2
-rw-r--r--doc/jats.md9
3 files changed, 9 insertions, 4 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$
diff --git a/doc/jats.md b/doc/jats.md
index ddd6d989d..bce63a713 100644
--- a/doc/jats.md
+++ b/doc/jats.md
@@ -70,13 +70,17 @@ Metadata Values
`cor-id`
: identifier linking to the contributor's correspondence
- information. The info itself must be stored in as an item in
+ information. The info itself must be stored as an item in
`article.author-notes.corresp`. If the `cor-id` value is
- then, an [`<xref>`][elem:xref] link of
+ set, then an [`<xref>`][elem:xref] link of
[`ref-type`][attr:ref-type] `corresp` is added. The
[`rid`][attr:rid] attribute is set to `cor-<ID>`, where
`<ID>` is the stringified value of this attribute.
+ Furthermore, the [`corresp`][attr:corresp] attribute on
+ the author's [`<contrib>`] element is set to `yes` if
+ this attribute is set to a truty.
+
`affiliation`
: the list of organizations with which contributors are
affiliated. Each institution is added as an [`<aff>`] element to
@@ -410,6 +414,7 @@ Required metadata values:
[JATS]: https://jats.nlm.nih.gov/
[Ringgold]: https://ringgold.com/
[attr:content-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/content-type.html
+[attr:corresp]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/corresp.html
[attr:date-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/date-type.html
[attr:equal-contrib]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/equal-contrib.html
[attr:fn-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/fn-type.html