Changes
checked config.CitationClass for name "web" & set Periodical also for "args.encyclopaedia" & italicized
local ChapterURL = args["chapter-url"] or args.chapterurl
local ConferenceURL = args["conference-url"] or args.conferenceurl
local Periodical = args.journal or args.newspaper or args.magazine or args.work or args.periodical or args.encyclopediaor args.encyclopaedia
local Series = args.series or args.version
local Volume = args.volume
if ( Periodical ~= nil ) then
Title = "\"" .. Title .. "\""
elseif ( config.CitationClass == "web" or config.CitationClass == "news" ) then
Title = "\"" .. Title .. "\""
else
end
-- Several of the above rely upon detecting this as nil, so do it last.
if ( Periodical ~= nil ) then Periodical = " <i>" .. Periodical .. ".</i>" else Periodical = "" end
-- Piece all of the bits together at last. At this point, all of these should be guaranteed non-nil.
-- We build things this way because it is more efficient in LUA not to keep reassigning to the same string variable over and over.
local idcommon = ARXIV .. ASIN .. BIBCODE .. DOI .. ID .. ISBN .. JFM .. JSTOR .. LCCN .. MR .. OCLC .. OL .. OSTI .. PMC .. PMID .. RFC .. SSRN .. URL .. ZBL .. AccessDate .. Archived .. Via .. SubscriptionRequired .. Lay .. Quote .. PostScript