Changes
Jump to navigation
Jump to search
Added ref processing.
local DOI= args.doi or args.DOI
local Authors = args.authors
local Ref = args.ref or args.Ref
if ( Chapter ~= nil ) then Chapter = " \"" .. Chapter .. "\"." else Chapter = "" end
if ( Title ~= nil ) then Title = " ''" .. Title .. "''." else Title = "" end
Authors = Authors .. authorprefix(Surname7, Given7, Authorlink7, "; ")
Authors = Authors .. authorprefix(Surname8, Given8, Authorlink8, "; ")
Authors = Authors .. authorprefix(Surname9, Given9, Authorlink9, "; ").. " "
end
local text = Authors .. "(" .. Date .. ")." .. Title .. Publisher
if ( ISBN ~= nil ) then text = text .. " ISBN " .. ISBN end
if ( DOI ~= nil ) then text = text .. " " .. doi(frame, DOI) end
if ( Ref ~= nil ) then
local args = { class="citation " .. config.CitationClass, id=anchorid(args) }
text = tag(frame, {name="span", contents=text, params=args})
end
return text
end