Skip to content

Commit 3364332

Browse files
committed
update to pandoc's jats template
from jgm/pandoc@1eed55f Add CRediT roles to JATS Enable annotating author roles using the Contribution Role Taxonomy (CRediT) and export this information in conformant JATS
1 parent fb89d30 commit 3364332

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/resources/formats/jats/pandoc/default-templates/article.jats_publishing

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,17 @@ $elseif(author.name)$
109109
$else$
110110
<string-name>$author$</string-name>
111111
$endif$
112+
$for(author.roles)$
113+
$if(it.credit)$
114+
<role vocab="credit"$if(it.degree)$ degree-contribution="$it.degree$"$endif$
115+
vocab-identifier="https://credit.niso.org/"
116+
vocab-term-identifier="https://credit.niso.org/contributor-roles/$it.credit$/"
117+
vocab-term="$it.credit-name$"
118+
>$if(it.name)$$it.name$$else$$it.credit-name$$endif$</role>
119+
$elseif(it.name)$
120+
<role>$it.name$</role>
121+
$endif$
122+
$endfor$
112123
$if(author.email)$
113124
<email>$author.email$</email>
114125
$endif$

0 commit comments

Comments
 (0)