Support log ID:
9UQVJKRI-euc
Expected behavior:
When using the citation style "Better BibTeX Citekeys" with citeprocNoteCitekey TRUE, citations should appear as citekeys
Actual behavior:
Citations appear as the following error: "[[CSL STYLE ERROR: reference with no printed form.]]".
This used to work for me as of ~6 months ago. I've also looked into previous questions regarding this error, which in those peoples cases was resolved by properly changing citeprocNoteCitekey, however, it is properly enabled here.
Thanks for any help,
:robot: this is your friendly neighborhood build bot announcing test build 5.4.20.990 ("add logging")
Install in Zotero by downloading test build 5.4.20.990, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".
Can you get me a new log from build 990 after reproducing the problem?
Log after installing build 990: 6D6WLLLM-euc
Does a refresh from the Zotero toolbar in word help? I don't see Zotero handing out new reference data, so it might be that the rendering process is re-using the reference data stored inside word.
No, refreshing doesn't help and in fact what I am doing prior to sending you the log is switching the citation style from Chicago to Better BibTeX Citekeys, so it should have refreshed already.
Apparently that doesn't cause the Word plugin to re-fetch the CSL data, which is required to get the patched data. I'll ask on the Zotero forums.
A new build will drop here shortly -- can you get me a new log?
:robot: this is your friendly neighborhood build bot announcing test build 5.4.20.991 ("more logging")
Install in Zotero by downloading test build 5.4.20.991, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".
Log after installing build 991 Z3KJYMX3-euc
We'll have to wait for this.
Sounds good, perhaps a silly question though, if citeprocNoteCitekey==TRUE, should I be able to see the citekey in the "Notes" tab/field in Zotero? Because most of the notes fields are blank? Or are you saying that the note field is only filled with the citekey upon update and that's the problem?
Not silly, this is all pretty arcane; Zotero converts its items to CSL-JSON format before sending it to word, and uses that CSL-JSON format to create the citations/bibliography. CSL knows about a limited number of fields, but one of the supported fields is note, so I apply a run-time-patch to zotero when citeprocNoteCitekey==TRUE to replace the contents of the note field with the citekey on the fly as it creates the CSL-JSON from the item, but that requires Zotero to actually call that method. Currently it does not, and I don't know how to make it do so - that's the question I posted on the forums.
This on-the-fly transformation only happens to the transient CSL-JSON representation of the item, it won't show up anywhere else.