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.
This commit is contained in:
Albert Krewinkel
2022-06-24 15:44:38 +02:00
parent 6d351df1ed
commit 41af476a3d
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -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$
+1 -1
View File
@@ -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$
+7 -2
View File
@@ -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