zotero-better-bibtex icon indicating copy to clipboard operation
zotero-better-bibtex copied to clipboard

Cannot manually set extensions.zotero.translators.better-bibtex.citekeyFormat

Open okomestudio opened this issue 4 months ago • 0 comments

Debug log ID

R94LWSHU-fio-DEooU4BeJLPn

What happened?

I'm using a configuration manager (Ansible) to bootstrap Zotero installation. For each installation, I update the user.js file (which influences prefs.js) to set the app config settings automatically for my personal configuration.

This works for most settings, but for some reason I cannot get it to update extensions.zotero.translators.better-bibtex.citekeyFormat (and extensions.zotero.translators.better-bibtex.citekeyFormatEdit, for which I'm not sure how they are related). This is the setting for citekey generation formula. It seems to always reset to "auth.lower + shorttitle(3,3) + year" no matter how I set this config item.

I can update these fields manually using GUI. The issue is that I cannot directly update prefs.js or user.js to have the same effect.

There is a somewhat similar field extensions.zotero.translators.better-bibtex.postscript which takes in JavaScript snippet, which I can manually set without any issue.

This is a follow-up ticket for a converstation here.

okomestudio avatar Oct 02 '24 17:10 okomestudio