Skip to content

Commit 41af476

Browse files
committed
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.
1 parent 6d351df commit 41af476

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

data/templates/article.jats_publishing

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ $endif$
8989
$if(author)$
9090
<contrib-group>
9191
$for(author)$
92-
<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="yes"$endif$>
92+
<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="yes"$endif$$if(author.cor-id)$ corresp="yes"$endif$>
9393
$if(author.orcid)$
9494
<contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id>
9595
$endif$

data/templates/default.jats_articleauthoring

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $endif$
2222
$if(author)$
2323
<contrib-group>
2424
$for(author)$
25-
<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="yes"$endif$>
25+
<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="yes"$endif$$if(author.cor-id)$ corresp="yes"$endif$>
2626
$if(author.orcid)$
2727
<contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id>
2828
$endif$

doc/jats.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,17 @@ Metadata Values
7070

7171
`cor-id`
7272
: identifier linking to the contributor's correspondence
73-
information. The info itself must be stored in as an item in
73+
information. The info itself must be stored as an item in
7474
`article.author-notes.corresp`. If the `cor-id` value is
75-
then, an [`<xref>`][elem:xref] link of
75+
set, then an [`<xref>`][elem:xref] link of
7676
[`ref-type`][attr:ref-type] `corresp` is added. The
7777
[`rid`][attr:rid] attribute is set to `cor-<ID>`, where
7878
`<ID>` is the stringified value of this attribute.
7979

80+
Furthermore, the [`corresp`][attr:corresp] attribute on
81+
the author's [`<contrib>`] element is set to `yes` if
82+
this attribute is set to a truty.
83+
8084
`affiliation`
8185
: the list of organizations with which contributors are
8286
affiliated. Each institution is added as an [`<aff>`] element to
@@ -410,6 +414,7 @@ Required metadata values:
410414
[JATS]: https://jats.nlm.nih.gov/
411415
[Ringgold]: https://ringgold.com/
412416
[attr:content-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/content-type.html
417+
[attr:corresp]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/corresp.html
413418
[attr:date-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/date-type.html
414419
[attr:equal-contrib]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/equal-contrib.html
415420
[attr:fn-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/fn-type.html

0 commit comments

Comments
 (0)