diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2020-11-20 18:57:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-20 09:57:06 -0800 |
commit | 797db8d30631cbd704575ee11d3bdda5bf57270f (patch) | |
tree | 68dd6b182f7b2ee977cc67112a29f0e8e8cecd7b /data/templates/affiliations.jats | |
parent | c647948ff186411c2dc93ae92d134805726aea54 (diff) | |
download | pandoc-797db8d30631cbd704575ee11d3bdda5bf57270f.tar.gz |
JATS writer: support author affiliations (#6867)
Closes: #6687
Diffstat (limited to 'data/templates/affiliations.jats')
-rw-r--r-- | data/templates/affiliations.jats | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/data/templates/affiliations.jats b/data/templates/affiliations.jats new file mode 100644 index 000000000..b6cc4f7d5 --- /dev/null +++ b/data/templates/affiliations.jats @@ -0,0 +1,35 @@ +$-- +$-- Affiliations +$-- +$for(affiliation)$ +<aff id="aff-$affiliation.id$"> +$-- wrap affiliation if it has a known institution identifier +$if(affiliation.group)$ +<institution content-type="group">$affiliation.group$</institution> +$endif$ +$if(affiliation.department)$ +<institution content-type="dept">$affiliation.department$</institution> +$endif$ +<institution-wrap> +$if(affiliation.organization)$ +<institution>$affiliation.organization$</institution> +$else$ +<institution>$affiliation.name$</institution> +$endif$ +$if(affiliation.isni)$ +<institution-id institution-id-type="ISNI">$affiliation.isni$</institution-id> +$endif$ +$if(affiliation.ringgold)$ +<institution-id institution-id-type="Ringgold">$affiliation.ringgold$</institution-id> +$endif$ +$if(affiliation.ror)$ +<institution-id institution-id-type="ROR">$affiliation.ror$</institution-id> +$endif$ +</institution-wrap>$if(affiliation.street-address)$, +$for(affiliation.street-address)$ +<addr-line>$affiliation.street-address$</addr-line>$sep$, +$endfor$ +$else$$if(affiliation.city)$, <city>$affiliation.city$</city>$endif$$endif$$if(affiliation.country)$, +<country$if(affiliation.country-code)$ country="$affiliation.country-code$"$endif$>$affiliation.country$</country>$endif$ +</aff> +$endfor$ |