jgm / pandoc

Universal markup converter
https://pandoc.org
Other
34.21k stars 3.36k forks source link

Citation abbreviation partial matches #8972

Open graceanker opened 1 year ago

graceanker commented 1 year ago

Is there any way for the -citation-abbreviations option to parse partial matches for periodicals? In US legal academia, there are long lists of required abbreviations. These apply across the board. So, for any journal that has the word "Scientific" on it, the citation should be abbreviated to "Sci.". Currently, citation-abbreviations only works for full matches. If it worked with partial matches, you could compile a JSON of the lists of required abbreviations and be done with it once and for all.

jgm commented 1 year ago

Our aim is to match the way this feature works in other citeproc implementations, e.g. Zotero. We're not looking to innovate.

graceanker commented 1 year ago

From this description, it seems that Zotero currently also does abbreviations using word lists:

Zotero automatically generates journal abbreviations using the information in the Publication field of items. It first compares them to a list of journal titles from PubMed, then a list of words, and finally an algorithm for abbreviations according to ISO norms. The citation style determines whether these abbreviations will appear with or without periods (J. Natl. Cancer Inst. vs J Natl Cancer Inst).

https://zotero-manual.github.io/citations/#journal-abbreviations

jgm commented 1 year ago

But only with the word processor plugin...if you continue reading what you quoted. There is another method for other uses of Zotero.

tarleb commented 5 months ago

If the was decided to be out of scope, then it could still be implemented via Lua filter.