Distributing Custom Abbreviations File
I have been working with the journal Hesperia (https://www.ascsa.edu.gr/uploads/media/Guidelines10-29-18.pdf) to create a style sheet that would allow output into their format. Many of the journals in classics and archaeology (not anthropology) have adopted a specific abbreviation format as defined by the American Journal of Archaeology (https://www.ajaonline.org/submissions/journals-series). Hesperia uses those abbreviations as well. I have created an abbreviations.json file of the AJA abbreviations.
I have uploaded the Style sheet to the repository and it shows up in Zotero as American School of Classical Studies at Athens, but is there a way to distribute the abbreviations.json file to users?
I have uploaded the Style sheet to the repository and it shows up in Zotero as American School of Classical Studies at Athens, but is there a way to distribute the abbreviations.json file to users?
Ultimately custom abbreviation lists should probably be distributed as part of the CSL infrastructure, but CSL styles currently can't define which abbreviations to use, and I'm not aware of documentation of the abbreviation list JSON format. So maybe a different temporary home makes more sense while we address those issues?
(agree on the ultimate goal for CSL, but to be realistic, that's not going to happen in the near future)
We could implement this in Zotero for the time-being — we can adjust abbreviations.json to include additional lists and map them to style ids. For now, we'd only update these on Zotero updates, not via the repo. And I guess we'd have to change the option in the plugin doc prefs to say just "Use journal abbreviations" instead of "Use MEDLINE journal abbreviations".
@dstillman, yes. It's my understanding from https://forums.zotero.org/discussion/comment/275237/#Comment_275237 that users can currently put a modified abbreviations JSON file in the Zotero data directory, but that would presumably affect all installed styles, right? So yes, it would be good to have some mechanism to limit an abbreviation list to a subset of styles. Eventually we should do this the other way around (specify the abbreviation list to use in the CSL style), but that would require a new CSL release which is still a ways off.
"american-journal-of-archaeology/abbreviations.json"
"ncbi/abbreviations.json"
"medline/abbreviations.json"
Let us know if you'd like this to be organized any differently.
Thinking a bit more about this, it probably makes sense for us to just bundle all the abbreviations files separately, with the format unchanged, and then include a separate mapping file that maps style ids to abbreviations files. (It seems like there's some inconsistency between the URIs in some of the files vs. the documentation links in others. I'd be happy with just having an id in the info block to avoid that whole mess and let those be documentation links. We can also update Zotero to work with any structure, so there's no need to keep the original file structure on our account if we want to adjust it before these become more widely used.)
I think having the sources in there is a good idea, but I also think we shouldn't let the perfect be the enemy of the good -- let's not try to solve every current and future problem right now.
-My Zotero install (5.0.88) does not have a /resources/schema/ directory as mentioned by comment https://forums.zotero.org/discussion/comment/275237/#Comment_275237
I do not even have a local abbreviations.json file. Should I (could I) create these directories/files manually? Was that comment maybe relevant to a previous Zotero version, and now obsolete?
-Do I understand correctly that if such a local file is present, it would globally override the MEDLINE abbreviations, for all installed styles, when we activate the "Use MEDLINE journal abbreviations" option?
Thanks!