aboutsummaryrefslogtreecommitdiff
path: root/data/templates/article.jats_publishing
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/article.jats_publishing')
-rw-r--r--data/templates/article.jats_publishing12
1 files changed, 11 insertions, 1 deletions
diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing
index bb69404c2..47ab8f197 100644
--- a/data/templates/article.jats_publishing
+++ b/data/templates/article.jats_publishing
@@ -106,15 +106,25 @@ $endif$
$if(author.email)$
<email>$author.email$</email>
$endif$
+$-- if affiliations are listed separately, then create links. Otherwise
+$-- include them here.
+$if(affiliation)$
$for(author.affiliation)$
<xref ref-type="aff" rid="aff-$author.affiliation$"/>
$endfor$
+$else$
+$for(author.affiliation)$
+${ it:affiliations.jats() }
+$endfor$
+$endif$
$if(author.cor-id)$
<xref ref-type="corresp" rid="cor-$author.cor-id$"><sup>*</sup></xref>
$endif$
</contrib>
$endfor$
-${ affiliations.jats() }
+$for(affiliation)$
+${ it:affiliations.jats() }
+$endfor$
</contrib-group>
$endif$
$if(article.author-notes)$