Only show ISSN when there are no article IDs
This commit is contained in:
parent
bd68a9118e
commit
57d21267c7
2 changed files with 10 additions and 1 deletions
|
|
@ -717,6 +717,15 @@ local function _cite_q (citeq_args)
|
||||||
if not citeq_args.isbn then
|
if not citeq_args.isbn then
|
||||||
citeq_args.publisher = nil
|
citeq_args.publisher = nil
|
||||||
end
|
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
|
elseif is_thesis then
|
||||||
template = template or "thesis"
|
template = template or "thesis"
|
||||||
elseif citeq_args.isbn then
|
elseif citeq_args.isbn then
|
||||||
|
|
|
||||||
|
|
@ -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)
|
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},
|
['article-number'] = {id = "P2322", maxvals = 1, populate_from_journal = true},
|
||||||
isbn = {id = "P212", maxvals = 1, populate_from_journal = true}, -- ISBN 13
|
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)
|
-- 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)
|
-- sbn = {id = "P?", maxvals = 1}, -- Standard Book Number (predecessor of ISBN, not ICCU)
|
||||||
-- message-id = {id = "P?", maxvals = 1}, -- Usenet message ID
|
-- message-id = {id = "P?", maxvals = 1}, -- Usenet message ID
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue