Skip to content

Commit b749cf9

Browse files
authored
Add support for specifying affiliation ROR identifiers (#72)
1 parent f47cfd4 commit b749cf9

File tree

7 files changed

+144
-3
lines changed

7 files changed

+144
-3
lines changed

data/defaults/crossref.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@ filters:
77
path: doi-batch-id.lua
88
- type: lua
99
path: flatten-references.lua
10+
- type: lua
11+
path: prepare-affiliations.lua
1012

1113
template: '${.}/../templates/default.crossref'

data/filters/prepare-affiliations.lua

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
-- This filter rewrites the affiliation list inside the
2+
-- author dictionary to contain all the information, not
3+
-- just the index in the global affiliation list
4+
5+
function Meta (meta)
6+
-- note that there's a difference between meta.authors (the original)
7+
-- and meta.author (the processed one)
8+
for _, author in ipairs(meta.authors or {}) do
9+
local xml = "<affiliations>"
10+
for i, affiliation_list in ipairs(author.affiliation) do
11+
local index = tonumber(affiliation_list[1].text)
12+
local affiliation = meta.affiliations[index]
13+
xml = xml.. "\n <institution><institution_name>"
14+
for _, v in ipairs(affiliation.name) do
15+
if v.text then
16+
xml = xml .. v.text
17+
else
18+
xml = xml .. " "
19+
end
20+
end
21+
xml = xml .. "</institution_name>"
22+
if affiliation.ror then
23+
xml = xml .. "<institution_id type=\"ror\">https://ror.org/" .. affiliation.ror[1].text .. "</institution_id>"
24+
end
25+
xml = xml.. "</institution>"
26+
end
27+
xml = xml .. "\n</affiliations>"
28+
-- afxml - (af)filiation xml
29+
author.afxml = pandoc.RawInline('html', xml)
30+
end
31+
return meta
32+
end

data/templates/default.crossref

+6
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ $if(it.suffix)$
5151
$endif$
5252
$if(it.orcid)$
5353
<ORCID>https://orcid.org/${it.orcid}</ORCID>
54+
$endif$
55+
$if(it.afxml)$
56+
$it.afxml$
5457
$endif$
5558
</person_name>
5659
$endfor$
@@ -66,6 +69,9 @@ $if(it.suffix)$
6669
$endif$
6770
$if(it.orcid)$
6871
<ORCID>https://orcid.org/${it.orcid}</ORCID>
72+
$endif$
73+
$if(it.afxml)$
74+
$it.afxml$
6975
$endif$
7076
</person_name>
7177
$endfor$

data/templates/default.latex

+23-1
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,24 @@ $endif$
190190
}
191191
}
192192

193+
\definecolor{c53baa1}{RGB}{83,186,161}
194+
\definecolor{c202826}{RGB}{32,40,38}
195+
\def \rorglobalscale {0.1}
196+
\newcommand{\rorlogo}{%
197+
\begin{tikzpicture}[y=1cm, x=1cm, yscale=\rorglobalscale,xscale=\rorglobalscale, every node/.append style={scale=\rorglobalscale}, inner sep=0pt, outer sep=0pt]
198+
\begin{scope}[even odd rule,line join=round,miter limit=2.0,shift={(0,3.0889892500000005)},xscale=0.9943,yscale=0.9894]
199+
\path[fill=white,even odd rule,line join=round,miter limit=2.0] (0.0, 3.1221) rectangle (4.364, -0.0336);
200+
\end{scope}
201+
\begin{scope}[even odd rule,line join=round,miter limit=2.0,shift={(-0.025, 0.0216)}]
202+
\path[fill=c53baa1,nonzero rule,line join=round,miter limit=2.0] (1.8164, 3.012) -- (1.4954, 2.5204) -- (1.1742, 3.012) -- (1.8164, 3.012) -- cycle;
203+
\path[fill=c53baa1,nonzero rule,line join=round,miter limit=2.0] (3.1594, 3.012) -- (2.8385, 2.5204) -- (2.5172, 3.012) -- (3.1594, 3.012) -- cycle;
204+
\path[fill=c53baa1,nonzero rule,line join=round,miter limit=2.0] (1.1742, 0.0669) -- (1.4954, 0.5588) -- (1.8164, 0.0669) -- (1.1742, 0.0669) -- cycle;
205+
\path[fill=c53baa1,nonzero rule,line join=round,miter limit=2.0] (2.5172, 0.0669) -- (2.8385, 0.5588) -- (3.1594, 0.0669) -- (2.5172, 0.0669) -- cycle;
206+
\path[fill=c202826,nonzero rule,line join=round,miter limit=2.0] (3.8505, 1.4364).. controls (3.9643, 1.4576) and (4.0508, 1.5081) .. (4.1098, 1.5878).. controls (4.169, 1.6674) and (4.1984, 1.7642) .. (4.1984, 1.8777).. controls (4.1984, 1.9719) and (4.182, 2.0503) .. (4.1495, 2.1132).. controls (4.1169, 2.1762) and (4.0727, 2.2262) .. (4.0174, 2.2635).. controls (3.9621, 2.3006) and (3.8976, 2.3273) .. (3.824, 2.3432).. controls (3.7505, 2.359) and (3.6727, 2.367) .. (3.5909, 2.367) -- (2.9676, 2.367) -- (2.9676, 1.8688).. controls (2.9625, 1.8833) and (2.9572, 1.8976) .. (2.9514, 1.9119).. controls (2.9083, 2.0164) and (2.848, 2.1056) .. (2.7705, 2.1791).. controls (2.6929, 2.2527) and (2.6014, 2.3093) .. (2.495, 2.3487).. controls (2.3889, 2.3881) and (2.2728, 2.408) .. (2.1468, 2.408).. controls (2.0209, 2.408) and (1.905, 2.3881) .. (1.7986, 2.3487).. controls (1.6925, 2.3093) and (1.6007, 2.2527) .. (1.5232, 2.1791).. controls (1.4539, 2.1132) and (1.3983, 2.0346) .. (1.3565, 1.9436).. controls (1.3504, 2.009) and (1.3351, 2.0656) .. (1.3105, 2.1132).. controls (1.2779, 2.1762) and (1.2338, 2.2262) .. (1.1785, 2.2635).. controls (1.1232, 2.3006) and (1.0586, 2.3273) .. (0.985, 2.3432).. controls (0.9115, 2.359) and (0.8337, 2.367) .. (0.7519, 2.367) -- (0.1289, 2.367) -- (0.1289, 0.7562) -- (0.4837, 0.7562) -- (0.4837, 1.4002) -- (0.6588, 1.4002) -- (0.9956, 0.7562) -- (1.4211, 0.7562) -- (1.0118, 1.4364).. controls (1.1255, 1.4576) and (1.2121, 1.5081) .. (1.2711, 1.5878).. controls (1.2737, 1.5915) and (1.2761, 1.5954) .. (1.2787, 1.5991).. controls (1.2782, 1.5867) and (1.2779, 1.5743) .. (1.2779, 1.5616).. controls (1.2779, 1.4327) and (1.2996, 1.3158) .. (1.3428, 1.2113).. controls (1.3859, 1.1068) and (1.4462, 1.0176) .. (1.5237, 0.944).. controls (1.601, 0.8705) and (1.6928, 0.8139) .. (1.7992, 0.7744).. controls (1.9053, 0.735) and (2.0214, 0.7152) .. (2.1474, 0.7152).. controls (2.2733, 0.7152) and (2.3892, 0.735) .. (2.4956, 0.7744).. controls (2.6016, 0.8139) and (2.6935, 0.8705) .. (2.771, 0.944).. controls (2.8482, 1.0176) and (2.9086, 1.1068) .. (2.952, 1.2113).. controls (2.9578, 1.2253) and (2.9631, 1.2398) .. (2.9681, 1.2544) -- (2.9681, 0.7562) -- (3.3229, 0.7562) -- (3.3229, 1.4002) -- (3.4981, 1.4002) -- (3.8349, 0.7562) -- (4.2603, 0.7562) -- (3.8505, 1.4364) -- cycle(0.9628, 1.7777).. controls (0.9438, 1.7534) and (0.92, 1.7357) .. (0.8911, 1.7243).. controls (0.8623, 1.7129) and (0.83, 1.706) .. (0.7945, 1.7039).. controls (0.7588, 1.7015) and (0.7252, 1.7005) .. (0.6932, 1.7005) -- (0.4839, 1.7005) -- (0.4839, 2.0667) -- (0.716, 2.0667).. controls (0.7477, 2.0667) and (0.7805, 2.0643) .. (0.8139, 2.0598).. controls (0.8472, 2.0553) and (0.8768, 2.0466) .. (0.9025, 2.0336).. controls (0.9282, 2.0206) and (0.9496, 2.0021) .. (0.9663, 1.9778).. controls (0.9829, 1.9534) and (0.9914, 1.9209) .. (0.9914, 1.8799).. controls (0.9914, 1.8362) and (0.9819, 1.8021) .. (0.9628, 1.7777) -- cycle(2.6125, 1.3533).. controls (2.5889, 1.2904) and (2.5553, 1.2359) .. (2.5112, 1.1896).. controls (2.4672, 1.1433) and (2.4146, 1.1073) .. (2.3529, 1.0814).. controls (2.2916, 1.0554) and (2.2228, 1.0427) .. (2.1471, 1.0427).. controls (2.0712, 1.0427) and (2.0026, 1.0557) .. (1.9412, 1.0814).. controls (1.8799, 1.107) and (1.8272, 1.1433) .. (1.783, 1.1896).. controls (1.7391, 1.2359) and (1.7052, 1.2904) .. (1.6817, 1.3533).. controls (1.6581, 1.4163) and (1.6465, 1.4856) .. (1.6465, 1.5616).. controls (1.6465, 1.6359) and (1.6581, 1.705) .. (1.6817, 1.7687).. controls (1.7052, 1.8325) and (1.7388, 1.8873) .. (1.783, 1.9336).. controls (1.8269, 1.9799) and (1.8796, 2.0159) .. (1.9412, 2.0418).. controls (2.0026, 2.0675) and (2.0712, 2.0804) .. (2.1471, 2.0804).. controls (2.223, 2.0804) and (2.2916, 2.0675) .. (2.3529, 2.0418).. controls (2.4143, 2.0161) and (2.467, 1.9799) .. (2.5112, 1.9336).. controls (2.5551, 1.8873) and (2.5889, 1.8322) .. (2.6125, 1.7687).. controls (2.636, 1.705) and (2.6477, 1.6359) .. (2.6477, 1.5616).. controls (2.6477, 1.4856) and (2.636, 1.4163) .. (2.6125, 1.3533) -- cycle(3.8015, 1.7777).. controls (3.7825, 1.7534) and (3.7587, 1.7357) .. (3.7298, 1.7243).. controls (3.701, 1.7129) and (3.6687, 1.706) .. (3.6333, 1.7039).. controls (3.5975, 1.7015) and (3.5639, 1.7005) .. (3.5319, 1.7005) -- (3.3226, 1.7005) -- (3.3226, 2.0667) -- (3.5547, 2.0667).. controls (3.5864, 2.0667) and (3.6192, 2.0643) .. (3.6526, 2.0598).. controls (3.6859, 2.0553) and (3.7155, 2.0466) .. (3.7412, 2.0336).. controls (3.7669, 2.0206) and (3.7883, 2.0021) .. (3.805, 1.9778).. controls (3.8216, 1.9534) and (3.8301, 1.9209) .. (3.8301, 1.8799).. controls (3.8301, 1.8362) and (3.8206, 1.8021) .. (3.8015, 1.7777) -- cycle;
207+
\end{scope}
208+
\end{tikzpicture}
209+
}
210+
193211
% --- Title / Authors ---------------------------------------------------------
194212
% patch \maketitle so that it doesn't center
195213
\patchcmd{\@maketitle}{center}{flushleft}{}{}
@@ -413,7 +431,11 @@ $endif$
413431
$endfor$
414432

415433
$for(affiliations)$
416-
\affil[$affiliations.index$]{$affiliations.name$}
434+
\affil[$affiliations.index$]{$affiliations.name$%
435+
$if(it.ror)$
436+
\,\protect\href{https://ror.org/$it.ror$}{\protect\rorlogo}\,%
437+
$endif$
438+
}
417439
$endfor$
418440
$if(article.author-notes.corresp)$
419441
\affil[$$\mathparagraph$$]{Corresponding author}

data/templates/preprint.latex

+23-1
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,24 @@ $if(subtitle)$
339339
\subtitle{$subtitle$}
340340
$endif$
341341

342+
\definecolor{c53baa1}{RGB}{83,186,161}
343+
\definecolor{c202826}{RGB}{32,40,38}
344+
\def \rorglobalscale {0.1}
345+
\newcommand{\rorlogo}{%
346+
\begin{tikzpicture}[y=1cm, x=1cm, yscale=\rorglobalscale,xscale=\rorglobalscale, every node/.append style={scale=\rorglobalscale}, inner sep=0pt, outer sep=0pt]
347+
\begin{scope}[even odd rule,line join=round,miter limit=2.0,shift={(0,3.0889892500000005)},xscale=0.9943,yscale=0.9894]
348+
\path[fill=white,even odd rule,line join=round,miter limit=2.0] (0.0, 3.1221) rectangle (4.364, -0.0336);
349+
\end{scope}
350+
\begin{scope}[even odd rule,line join=round,miter limit=2.0,shift={(-0.025, 0.0216)}]
351+
\path[fill=c53baa1,nonzero rule,line join=round,miter limit=2.0] (1.8164, 3.012) -- (1.4954, 2.5204) -- (1.1742, 3.012) -- (1.8164, 3.012) -- cycle;
352+
\path[fill=c53baa1,nonzero rule,line join=round,miter limit=2.0] (3.1594, 3.012) -- (2.8385, 2.5204) -- (2.5172, 3.012) -- (3.1594, 3.012) -- cycle;
353+
\path[fill=c53baa1,nonzero rule,line join=round,miter limit=2.0] (1.1742, 0.0669) -- (1.4954, 0.5588) -- (1.8164, 0.0669) -- (1.1742, 0.0669) -- cycle;
354+
\path[fill=c53baa1,nonzero rule,line join=round,miter limit=2.0] (2.5172, 0.0669) -- (2.8385, 0.5588) -- (3.1594, 0.0669) -- (2.5172, 0.0669) -- cycle;
355+
\path[fill=c202826,nonzero rule,line join=round,miter limit=2.0] (3.8505, 1.4364).. controls (3.9643, 1.4576) and (4.0508, 1.5081) .. (4.1098, 1.5878).. controls (4.169, 1.6674) and (4.1984, 1.7642) .. (4.1984, 1.8777).. controls (4.1984, 1.9719) and (4.182, 2.0503) .. (4.1495, 2.1132).. controls (4.1169, 2.1762) and (4.0727, 2.2262) .. (4.0174, 2.2635).. controls (3.9621, 2.3006) and (3.8976, 2.3273) .. (3.824, 2.3432).. controls (3.7505, 2.359) and (3.6727, 2.367) .. (3.5909, 2.367) -- (2.9676, 2.367) -- (2.9676, 1.8688).. controls (2.9625, 1.8833) and (2.9572, 1.8976) .. (2.9514, 1.9119).. controls (2.9083, 2.0164) and (2.848, 2.1056) .. (2.7705, 2.1791).. controls (2.6929, 2.2527) and (2.6014, 2.3093) .. (2.495, 2.3487).. controls (2.3889, 2.3881) and (2.2728, 2.408) .. (2.1468, 2.408).. controls (2.0209, 2.408) and (1.905, 2.3881) .. (1.7986, 2.3487).. controls (1.6925, 2.3093) and (1.6007, 2.2527) .. (1.5232, 2.1791).. controls (1.4539, 2.1132) and (1.3983, 2.0346) .. (1.3565, 1.9436).. controls (1.3504, 2.009) and (1.3351, 2.0656) .. (1.3105, 2.1132).. controls (1.2779, 2.1762) and (1.2338, 2.2262) .. (1.1785, 2.2635).. controls (1.1232, 2.3006) and (1.0586, 2.3273) .. (0.985, 2.3432).. controls (0.9115, 2.359) and (0.8337, 2.367) .. (0.7519, 2.367) -- (0.1289, 2.367) -- (0.1289, 0.7562) -- (0.4837, 0.7562) -- (0.4837, 1.4002) -- (0.6588, 1.4002) -- (0.9956, 0.7562) -- (1.4211, 0.7562) -- (1.0118, 1.4364).. controls (1.1255, 1.4576) and (1.2121, 1.5081) .. (1.2711, 1.5878).. controls (1.2737, 1.5915) and (1.2761, 1.5954) .. (1.2787, 1.5991).. controls (1.2782, 1.5867) and (1.2779, 1.5743) .. (1.2779, 1.5616).. controls (1.2779, 1.4327) and (1.2996, 1.3158) .. (1.3428, 1.2113).. controls (1.3859, 1.1068) and (1.4462, 1.0176) .. (1.5237, 0.944).. controls (1.601, 0.8705) and (1.6928, 0.8139) .. (1.7992, 0.7744).. controls (1.9053, 0.735) and (2.0214, 0.7152) .. (2.1474, 0.7152).. controls (2.2733, 0.7152) and (2.3892, 0.735) .. (2.4956, 0.7744).. controls (2.6016, 0.8139) and (2.6935, 0.8705) .. (2.771, 0.944).. controls (2.8482, 1.0176) and (2.9086, 1.1068) .. (2.952, 1.2113).. controls (2.9578, 1.2253) and (2.9631, 1.2398) .. (2.9681, 1.2544) -- (2.9681, 0.7562) -- (3.3229, 0.7562) -- (3.3229, 1.4002) -- (3.4981, 1.4002) -- (3.8349, 0.7562) -- (4.2603, 0.7562) -- (3.8505, 1.4364) -- cycle(0.9628, 1.7777).. controls (0.9438, 1.7534) and (0.92, 1.7357) .. (0.8911, 1.7243).. controls (0.8623, 1.7129) and (0.83, 1.706) .. (0.7945, 1.7039).. controls (0.7588, 1.7015) and (0.7252, 1.7005) .. (0.6932, 1.7005) -- (0.4839, 1.7005) -- (0.4839, 2.0667) -- (0.716, 2.0667).. controls (0.7477, 2.0667) and (0.7805, 2.0643) .. (0.8139, 2.0598).. controls (0.8472, 2.0553) and (0.8768, 2.0466) .. (0.9025, 2.0336).. controls (0.9282, 2.0206) and (0.9496, 2.0021) .. (0.9663, 1.9778).. controls (0.9829, 1.9534) and (0.9914, 1.9209) .. (0.9914, 1.8799).. controls (0.9914, 1.8362) and (0.9819, 1.8021) .. (0.9628, 1.7777) -- cycle(2.6125, 1.3533).. controls (2.5889, 1.2904) and (2.5553, 1.2359) .. (2.5112, 1.1896).. controls (2.4672, 1.1433) and (2.4146, 1.1073) .. (2.3529, 1.0814).. controls (2.2916, 1.0554) and (2.2228, 1.0427) .. (2.1471, 1.0427).. controls (2.0712, 1.0427) and (2.0026, 1.0557) .. (1.9412, 1.0814).. controls (1.8799, 1.107) and (1.8272, 1.1433) .. (1.783, 1.1896).. controls (1.7391, 1.2359) and (1.7052, 1.2904) .. (1.6817, 1.3533).. controls (1.6581, 1.4163) and (1.6465, 1.4856) .. (1.6465, 1.5616).. controls (1.6465, 1.6359) and (1.6581, 1.705) .. (1.6817, 1.7687).. controls (1.7052, 1.8325) and (1.7388, 1.8873) .. (1.783, 1.9336).. controls (1.8269, 1.9799) and (1.8796, 2.0159) .. (1.9412, 2.0418).. controls (2.0026, 2.0675) and (2.0712, 2.0804) .. (2.1471, 2.0804).. controls (2.223, 2.0804) and (2.2916, 2.0675) .. (2.3529, 2.0418).. controls (2.4143, 2.0161) and (2.467, 1.9799) .. (2.5112, 1.9336).. controls (2.5551, 1.8873) and (2.5889, 1.8322) .. (2.6125, 1.7687).. controls (2.636, 1.705) and (2.6477, 1.6359) .. (2.6477, 1.5616).. controls (2.6477, 1.4856) and (2.636, 1.4163) .. (2.6125, 1.3533) -- cycle(3.8015, 1.7777).. controls (3.7825, 1.7534) and (3.7587, 1.7357) .. (3.7298, 1.7243).. controls (3.701, 1.7129) and (3.6687, 1.706) .. (3.6333, 1.7039).. controls (3.5975, 1.7015) and (3.5639, 1.7005) .. (3.5319, 1.7005) -- (3.3226, 1.7005) -- (3.3226, 2.0667) -- (3.5547, 2.0667).. controls (3.5864, 2.0667) and (3.6192, 2.0643) .. (3.6526, 2.0598).. controls (3.6859, 2.0553) and (3.7155, 2.0466) .. (3.7412, 2.0336).. controls (3.7669, 2.0206) and (3.7883, 2.0021) .. (3.805, 1.9778).. controls (3.8216, 1.9534) and (3.8301, 1.9209) .. (3.8301, 1.8799).. controls (3.8301, 1.8362) and (3.8206, 1.8021) .. (3.8015, 1.7777) -- cycle;
356+
\end{scope}
357+
\end{tikzpicture}
358+
}
359+
342360
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
343361
% Authors and Affiliations
344362

@@ -360,7 +378,11 @@ $for(authors)$
360378
$endfor$
361379

362380
$for(affiliations)$
363-
\affil[$affiliations.index$]{$affiliations.name$}
381+
\affil[$affiliations.index$]{$affiliations.name$%
382+
$if(affiliations.ror)$
383+
\,\protect\href{https://ror.org/${affiliations.ror}}{\protect\rorlogo}\,%
384+
$endif$
385+
}
364386
$endfor$
365387
$if(article.author-notes.corresp)$
366388
\affil[$$\mathparagraph$$]{Corresponding author: %

example/paper.md

+27-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: >-
44
authors:
55
- name: Albert Krewinkel
66
7-
affiliation: [1, 2]
7+
affiliation: [1, 2, 4]
88
orcid: 0000-0002-9455-0796
99
corresponding: true
1010
- name: Juanjo Bazán
@@ -22,6 +22,9 @@ affiliations:
2222
name: Pandoc Development Team
2323
- index: 3
2424
name: GitHub
25+
- index: 4
26+
name: Technische Universitaet Hamburg
27+
ror: 04bs1pb34
2528
date: 2022-06-29
2629
bibliography: paper.bib
2730
tags:
@@ -363,6 +366,29 @@ authors:
363366
<!-- given-names: 瀧 -->
364367
<!-- surname: 立花 -->
365368

369+
## Affiliations
370+
371+
Each affiliation requires an `index` and `name`.
372+
373+
Optionally, the Research Organization Registry (ROR) identifier for the top-level
374+
organization can be annotated with the `ror` key. Note that ROR does not include
375+
departments in its [scope](https://ror.org/registry/#scope-and-criteria-for-inclusion),
376+
so ROR annotations are typically made to the top-level organization.
377+
378+
```yaml
379+
authors:
380+
- name: Albert Krewinkel
381+
affiliation: [ 1, 2, 3 ]
382+
383+
affiliations:
384+
- index: 1
385+
name: Open Journals
386+
- index: 2
387+
name: Pandoc Development Team
388+
- index: 3
389+
name: Technische Universitaet Hamburg
390+
ror: 04bs1pb34
391+
```
366392

367393
# Internal references
368394

test/expected-paper.jats/paper.jats

+31
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ publishing pipeline</article-title>
3131
<email>[email protected]</email>
3232
<xref ref-type="aff" rid="aff-1"/>
3333
<xref ref-type="aff" rid="aff-2"/>
34+
<xref ref-type="aff" rid="aff-4"/>
3435
<xref ref-type="corresp" rid="cor-1"><sup>*</sup></xref>
3536
</contrib>
3637
<contrib contrib-type="author" equal-contrib="yes">
@@ -65,6 +66,12 @@ publishing pipeline</article-title>
6566
<institution>GitHub</institution>
6667
</institution-wrap>
6768
</aff>
69+
<aff id="aff-4">
70+
<institution-wrap>
71+
<institution>Technische Universitaet Hamburg</institution>
72+
<institution-id institution-id-type="ROR">04bs1pb34</institution-id>
73+
</institution-wrap>
74+
</aff>
6875
</contrib-group>
6976
<author-notes>
7077
<corresp id="cor-1">* E-mail: <email>[email protected]</email></corresp>
@@ -513,6 +520,30 @@ Software should use an OSI-approved license.
513520
<p> </p>
514521
</sec>
515522
</sec>
523+
<sec id="affiliations">
524+
<title>Affiliations</title>
525+
<p>Each affiliation requires an <monospace>index</monospace> and
526+
<monospace>name</monospace>.</p>
527+
<p>Optionally, the Research Organization Registry (ROR) identifier
528+
for the top-level organization can be annotated with the
529+
<monospace>ror</monospace> key. Note that ROR does not include
530+
departments in its
531+
<ext-link ext-link-type="uri" xlink:href="https://ror.org/registry/#scope-and-criteria-for-inclusion">scope</ext-link>,
532+
so ROR annotations are typically made to the top-level
533+
organization.</p>
534+
<code language="yaml">authors:
535+
- name: Albert Krewinkel
536+
affiliation: [ 1, 2, 3 ]
537+
538+
affiliations:
539+
- index: 1
540+
name: Open Journals
541+
- index: 2
542+
name: Pandoc Development Team
543+
- index: 3
544+
name: Technische Universitaet Hamburg
545+
ror: 04bs1pb34</code>
546+
</sec>
516547
</sec>
517548
<sec id="internal-references">
518549
<title>Internal references</title>

0 commit comments

Comments
 (0)