aboutsummaryrefslogtreecommitdiff
path: root/data/templates/default.jats_articleauthoring
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-12-23 08:45:39 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-12-23 09:11:54 +0100
commitddd1b856087b7620d9b314026a76dd53d52d65b6 (patch)
tree9cf87aa2e1a1f1c69c1005985af0f9de19db0a09 /data/templates/default.jats_articleauthoring
parent7954070b0141700e17b6bc986d134fed90de7a02 (diff)
downloadpandoc-ddd1b856087b7620d9b314026a76dd53d52d65b6.tar.gz
JATS templates: fix affiliation tagging in articleauthoring output
Affiliations were `xlink`ed even in the articleauthoring tag set, but `<aff>` are not allowed as children of `contrib-group` elements in that tag set. Each affiliation must be listed directly in the contrib element.
Diffstat (limited to 'data/templates/default.jats_articleauthoring')
-rw-r--r--data/templates/default.jats_articleauthoring3
1 files changed, 1 insertions, 2 deletions
diff --git a/data/templates/default.jats_articleauthoring b/data/templates/default.jats_articleauthoring
index 8cf89fa68..29abe86c5 100644
--- a/data/templates/default.jats_articleauthoring
+++ b/data/templates/default.jats_articleauthoring
@@ -40,14 +40,13 @@ $if(author.email)$
<email>$author.email$</email>
$endif$
$for(author.affiliation)$
-<xref ref-type="aff" rid="aff-$author.affiliation$"/>
+${ it:affiliations.jats() }
$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(copyright)$