aboutsummaryrefslogtreecommitdiff
path: root/data/templates/article.jats_publishing
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2020-11-20 18:57:06 +0100
committerGitHub <noreply@github.com>2020-11-20 09:57:06 -0800
commit797db8d30631cbd704575ee11d3bdda5bf57270f (patch)
tree68dd6b182f7b2ee977cc67112a29f0e8e8cecd7b /data/templates/article.jats_publishing
parentc647948ff186411c2dc93ae92d134805726aea54 (diff)
downloadpandoc-797db8d30631cbd704575ee11d3bdda5bf57270f.tar.gz
JATS writer: support author affiliations (#6867)
Closes: #6687
Diffstat (limited to 'data/templates/article.jats_publishing')
-rw-r--r--data/templates/article.jats_publishing7
1 files changed, 4 insertions, 3 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing
index b64425fd8..4bdb3f278 100644
--- a/data/templates/article.jats_publishing
+++ b/data/templates/article.jats_publishing
@@ -101,14 +101,15 @@ $endif$
$if(author.email)$
<email>$author.email$</email>
$endif$
-$if(author.aff-id)$
-<xref ref-type="aff" rid="aff-$contrib.aff-id$"/>
-$endif$
+$for(author.affiliation)$
+<xref ref-type="aff" rid="aff-$author.affiliation$"/>
+$endfor$
$if(author.cor-id)$
<xref ref-type="corresp" rid="cor-$author.cor-id$"><sup>*</sup></xref>
$endif$
</contrib>
$endfor$
+${ affiliations.jats() }
</contrib-group>
$endif$
$if(article.author-notes)$