forked from jgm/pandoc-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
affiliations.jats
38 lines (38 loc) · 1.34 KB
/
affiliations.jats
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$--
$-- 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$
$for(affiliation.pid)$
<institution-id institution-id-type="$affiliation.pid.type$">$affiliation.pid.id$</institution-id>
$endfor$
</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$