Content deleted Content added
try array-based output (efficiency difference not noticeable), reject input if two author citations are found in a row (if that's possible) |
add some names, standardize abbreviations after IPNI convention |
||
Line 75:
end
-- Currently using IPNI convention of no spaces after initials.
local author_abbrevs = {
["L."]
["Schldl."] = "Diederich Franz Leonhard von Schlechtendal",
["Cham."]
["B.Boivin"] = "Joseph Robert Bernard Boivin",
["A.J.Eames"] = "Arthur Johnson Eames",
}
function p.standardize_abbrev(abbrev)
return (abbrev:gsub("%.%s+", "."))
end
function p.link_author_citation(citation)
Line 85 ⟶ 92:
citation,
function (author)
if full_name then
return "[[" ..
end
end)
|