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

Citation key formula field has no effect #3038

Closed ghbrown closed 3 weeks ago

ghbrown commented 3 weeks ago

Debug log ID

ZVR3IKCV-refs-euc/6.7.248-7

What happened?

The citation key formula does not seem to affect the resulting output. Specifically, it seems that the output is stuck on the BB default.

github-actions[bot] commented 3 weeks ago

:robot: this is your friendly neighborhood build bot announcing test build 6.7.248.7236 ("log refresh")

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.248.7236, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

retorquere commented 3 weeks ago

Can you install build 7236, right-click an item, choose "refresh" from the BBT submenu, and send a new log?

ghbrown commented 3 weeks ago

This should do it: 66BER5ZM-refs-euc/6.7.248.7236-7

retorquere commented 3 weeks ago

your citekey formula is set to just title, and the refresh has set the citekey accordingly; unchanged from what it was, but refreshed nonetheless. Is it not displaying measurecriticalvaluesdifferentiablemaps? Or had you expected another value for the key?

ghbrown commented 3 weeks ago

Yes, I was just using title to mess around, so I expected a key like that. And when I export the single item the .bib file contains the appropriate key. However, I had only been checking the output of the whole collection, which was not (and is still not) using title as the formula.

retorquere commented 3 weeks ago

OK, but did you refresh those items? Changing the formula has no effect on existing keys.

ghbrown commented 3 weeks ago

I did not realize this, sorry for the hassle. Refreshing the entries of the collection produces the desired result. I read the docs but this fact was in a section I skimmed over too fast. Thanks for the help!

github-actions[bot] commented 3 weeks ago

Thanks for the feedback! Just so you know, GitHub doesn't let me control who can close issues, and @retorquere likes to leave bug reports and enhancements open as a nudge to merge them into the next release.