retorquere / zotero-better-bibtex

Make Zotero effective for us LaTeX holdouts
https://retorque.re/zotero-better-bibtex/
MIT License
5.39k stars 290 forks source link

Export: field zotero.autoJournalAbbreviation only available when zotero.journalAbbreviation is empty #3046

Open OVlasiuk opened 2 weeks ago

OVlasiuk commented 2 weeks ago

Debug log ID

V7QGXH3F-euc/6.7.248-7

What happened?

Thanks for the great plugin.

As the subject line says, when the journalAbbreviation field is populated for an item, the autoJournalAbbreviation is not. It would be useful to have the latter available as well. For example, items saved via Zotero connector will sometimes have journalAbbreviation simply equal to what is in publicationTitle, which is incorrect. I personally would rather always use autoJournalAbbreviation for consistency.

A workaround would be to run a script clearing all journalAbbreviation fields, as your own zotero-clear-journal-abbrev does, but perhaps you could call Zotero abbreviator even with journalAbbreviation filled and always provide autoJournalAbbreviation as backup?

Edit: I should add that this is in the context of BibTeX export (via quick copy), since I see that citekey generation already has the auto parameter allowing to "skip explicit journal abbreviation even if present".

github-actions[bot] commented 11 hours ago

:robot: this is your friendly neighborhood build bot announcing test build 6.7.253.7320 ("always store autoJournalAbbreviation")

This update may name other issues, but the build just dropped here is for you; it just means problems already fixed in other issues have been folded into the work we are doing here. Install in Zotero by downloading test build 6.7.253.7320, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".