Only show ISSN when there are no article IDs

This commit is contained in:
Jonathan Harker 2026-09-20 11:01:29 +12:00
parent bd68a9118e
commit 57d21267c7
2 changed files with 10 additions and 1 deletions

View file

@ -717,6 +717,15 @@ local function _cite_q (citeq_args)
if not citeq_args.isbn then
citeq_args.publisher = nil
end
-- only display ISSN if there are no article identifiers
if citeq_args.issn then
if citeq_args.doi or citeq_args.pmid or citeq_args.pmc or citeq_args.arxiv or
citeq_args.bibcode or citeq_args.jstor or citeq_args.ssrn or citeq_args.s2cid or
citeq_args.hdl or citeq_args.biorxiv or citeq_args.osti or citeq_args.zbl or
citeq_args.jfm or citeq_args.mr then
citeq_args.issn = nil
end
end
elseif is_thesis then
template = template or "thesis"
elseif citeq_args.isbn then