Changes
Fixed function name and configuration defaults.
local pages = args.pp or args.pages or nil
if ( page ~= nil ) then
local pagesep = config.PageSep or ", p. "
text = text .. pagesep .. page
end
if ( pages ~= nil ) then
local pagessep = config.PagesSep or ", pp. "
text = text .. pagessep .. pages
end
function p.citation(frame)
local pframe = frame:getParent()
return citationcitation0(frame, pframe.args)
end