Content deleted Content added
name-list-format → name-list-style; |
|last-author-amp=yes → |name-list-style=amp; |
||
Line 222:
if true == etal then
contributors = contributors .. ' et al.'; -- append et al.
elseif '
contributors = contributors:gsub('; ([^;]+)$', ' & %1') -- replace last separator with ' & '
end
Line 357:
args.name_list_style = pframe.args['name-list-style'] or -- when set to 'harv' display contributor list in sfn or harv style
pframe.args['name-list-format']; -- TODO: remove name-list-format
args.
▲ args.last_author_amp = args.last_author_amp:lower(); -- make it case agnostic
if is_set (pframe.args.last) or is_set (pframe.args.last1) or
is_set (pframe.args.author) or is_set (pframe.args.author1) then -- must have at least this to continue
|