zotero-better-bibtex
zotero-better-bibtex copied to clipboard
Citekey fails to fully refresh if pattern changed before restarting Zotero
Debug log ID
MWP4MBT9-fio-ISSA4sfP2y8i
What happened?
This has always been the behavior of
shortTitle
.shortTitle
picks from the ZoteroTitle
field of the item, and by instructing it to take two words, you end up withSemanticsBiblical
. If you want the ZoteroShort title
in the citekey, you must useShortTitle
. The leading capital instructs BBT to take a Zotero field, verbatim.
Thanks so much! I've been searching for this off and on. One thing I'm seeing though in Zotero 7.0.5 stable and 7.0.6 beta (Windows 10) is that if I
- already have an item with a citekey,
- change the citekey from a different pattern to use
ShortTitle
, and - refresh a citeky with this new pattern,
then the citekey
- still displays as the old citekey in the library pane and
- the citation key box in the item info pane goes blank
It is just a matter of the display to the user, though. The change to the citekey actually does get applied. If I duplicate the item, it will that duplicate will reflect the old citekey. If I then refresh the duplicate's citekey to apply the new pattern to it, I'll get a
to differentiate it from the old item. And after restarting Zotero after the change in the citekey pattern, the display to the user shows the current citekeys for both items and other citekey refreshes display instantly as expected.
Originally posted by @dstark in https://github.com/retorquere/zotero-better-bibtex/issues/2985#issuecomment-2361188672