diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-03-11 08:39:09 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-03-11 11:07:59 +0100 |
commit | 872b4313a14b8c5164cc85649a8a52cc3fdc41f0 (patch) | |
tree | 2547c421e74b22ea8f90406b5621aace22d1b93a | |
parent | 5608dc01e5342d367fba3377042dec3944f4d86f (diff) | |
download | pandoc-872b4313a14b8c5164cc85649a8a52cc3fdc41f0.tar.gz |
JATS templates: support 'equal-contrib' attrib for authors
Authors who contributed equally to a paper may be marked with
`equal-contrib`.
-rw-r--r-- | data/templates/article.jats_publishing | 2 | ||||
-rw-r--r-- | data/templates/default.jats_articleauthoring | 2 | ||||
-rw-r--r-- | doc/jats.md | 9 |
3 files changed, 11 insertions, 2 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing index 47fa4ac62..9bedff6af 100644 --- a/data/templates/article.jats_publishing +++ b/data/templates/article.jats_publishing @@ -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$ diff --git a/data/templates/default.jats_articleauthoring b/data/templates/default.jats_articleauthoring index ef2aed769..60b2ca559 100644 --- a/data/templates/default.jats_articleauthoring +++ b/data/templates/default.jats_articleauthoring @@ -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$ diff --git a/doc/jats.md b/doc/jats.md index 95151d9f1..c099e0a04 100644 --- a/doc/jats.md +++ b/doc/jats.md @@ -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 |