Juris-M / citeproc-js

A JavaScript implementation of the Citation Style Language (CSL) https://citeproc-js.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue Processing Abbreviations.json with Publication Titles Including "The"

dstark opened this issue · comments

There seems to be something amiss with Zotero's use of abbreviations.json when a publication title includes the word "the". Titles appear not to get matched properly if there's a "the" involved as shown in this demo. The issue persists in the current Zotero beta (5.0.97-beta.63+035aac30f).

Or is this a case of user error and I'm just not seeing what I'm doing wrong?

Thank you so much for any thoughts you may have or better places to look for what's behind this issue.

N.B.: I've previously posted about this issue in the Zotero forums (1, 2) but began to wonder whether I shouldn't mention it here.

Can you post a CSL JSON file with an affected item and your abbreviations.JSON file?

Sure. Here's the abbreviations.json file, and here's a sample item.

Both have an extra .txt extension appended so that they'd upload to github. If I can provide anything further, please feel free to ask.

Thanks so much for having a look!

@bwiernik, would you happen to have had the chance to see if you get the same issue with abbreviating titles with "the"?

I know you have plenty going on (and then some). So, not to pester—just curious about what you may have found. More than happy to troubleshoot or provide whatever else I can, though I'm afraid looking at how abbreviations are getting processed is beyond me. :-(

Thanks again for having a peak and seeing if anything stands out to you.