JATS template: fix position of contrib affiliations in authoring set

Any `<aff>` element must come before any `<email>` element.
This commit is contained in:
Albert Krewinkel 2021-12-23 18:45:20 +01:00
parent fae63b09bb
commit e54f6dcd7a
No known key found for this signature in database
GPG key ID: 388DC0B21F631124
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
$-- $--
$-- Affiliations $-- Affiliations
$-- $--
<aff id="aff-$affiliation.id$"> <aff id="aff-$it.id$">
$-- wrap affiliation if it has a known institution identifier $-- wrap affiliation if it has a known institution identifier
$if(it.group)$ $if(it.group)$
<institution content-type="group">${it.group}</institution> <institution content-type="group">${it.group}</institution>

View file

@ -36,12 +36,12 @@ $elseif(author.name)$
$else$ $else$
<string-name>$author$</string-name> <string-name>$author$</string-name>
$endif$ $endif$
$if(author.email)$
<email>$author.email$</email>
$endif$
$for(author.affiliation)$ $for(author.affiliation)$
${ it:affiliations.jats() } ${ it:affiliations.jats() }
$endfor$ $endfor$
$if(author.email)$
<email>$author.email$</email>
$endif$
$if(author.cor-id)$ $if(author.cor-id)$
<xref ref-type="corresp" rid="cor-$author.cor-id$"><sup>*</sup></xref> <xref ref-type="corresp" rid="cor-$author.cor-id$"><sup>*</sup></xref>
$endif$ $endif$