diff --git a/module_citeq.lua b/module_citeq.lua index 9c0fa0b..3c3530c 100644 --- a/module_citeq.lua +++ b/module_citeq.lua @@ -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 diff --git a/module_citeq_config.lua b/module_citeq_config.lua index 8a53038..d3a72c3 100644 --- a/module_citeq_config.lua +++ b/module_citeq_config.lua @@ -83,7 +83,7 @@ local simple_properties_t = { asin = {id = "P5749", maxvals = 1}, -- What about |asin-tld=? (WD examples resolve to .com at present, but may change) ['article-number'] = {id = "P2322", maxvals = 1, populate_from_journal = true}, isbn = {id = "P212", maxvals = 1, populate_from_journal = true}, -- ISBN 13 --- issn = {id = "P236", maxvals = 1, populate_from_journal = true}, -- distinguish from |eissn= for electronic issues? + issn = {id = "P236", maxvals = 1, populate_from_journal = true}, -- distinguish from |eissn= for electronic issues? -- jfm = {id = "P?", maxvals = 1}, -- Jahrbuch über die Fortschritte der Mathematik (not Zbl) -- sbn = {id = "P?", maxvals = 1}, -- Standard Book Number (predecessor of ISBN, not ICCU) -- message-id = {id = "P?", maxvals = 1}, -- Usenet message ID