JATS templates: support 'equal-contrib' attrib for authors

Authors who contributed equally to a paper may be marked with
`equal-contrib`.
This commit is contained in:
Albert Krewinkel 2021-03-11 08:39:09 +01:00
parent 5608dc01e5
commit 872b4313a1
No known key found for this signature in database
GPG key ID: 388DC0B21F631124
3 changed files with 11 additions and 2 deletions

View file

@ -86,7 +86,7 @@ $endif$
$if(author)$
<contrib-group>
$for(author)$
<contrib contrib-type="author">
<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="true"$endif$>
$if(author.orcid)$
<contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id>
$endif$

View file

@ -19,7 +19,7 @@ $endif$
$if(author)$
<contrib-group>
$for(author)$
<contrib contrib-type="author">
<contrib contrib-type="author"$if(author.equal-contrib)$ equal-contrib="true"$endif$>
$if(author.orcid)$
<contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id>
$endif$

View file

@ -50,6 +50,13 @@ Metadata Values
list must also occur as the `id` of an affiliation listed in
the top-level `affiliation` list.
`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.
`cor-id`
: identifier linking to the contributor's correspondence
information. The info itself must be stored in as an item in
@ -355,6 +362,7 @@ Required metadata values:
[Ringgold]: https://ringgold.com/
[attr:content-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/content-type.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
[attr:institution-id-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/institution-id-type.html
[attr:iso-8601-date]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/iso-8601-date.html
@ -398,6 +406,7 @@ Required metadata values:
[`<addr-line>`]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/addr-line.html
[`<aff>`]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/aff.html
[`<city>`]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/city.html
[`<contrib>`]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/contrib.html
[`<country>`]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/country.html
[`<institution-id>`]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/institution-id.html
[`<institution-wrap>`]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/element/institution-wrap.html