Seems to be broken by Bookends 15.2.1
The search functionality all still seems to work, but it will not copy any info from bookends. At most, it pastes The unique ID “-1” is invalid, if anything.
Rolling back to the next available Bookends version 15.1.7 in the version history fixes the issue. I think all was well in 15.2, but it isn't available to download.
Can anyone confirm?
Cheers,
Hi, I will have a look tomorrow. Script debugger is now free to download which helps for debugging the issue: https://latenightsw.com/sd8/download/ - it has been ages since I looked at the code...
OK it seems that the JSON field uniqueID has been renamed to uniqueid, and this broke the pasting of the temp citation. To make the fix backwards compatible we need an if, so to fix it:
https://github.com/iandol/bookends-tools/blob/master/source/findReferences.rb#L107
Try V1.3.10 of the workflow see if it now works: https://github.com/iandol/bookends-tools/releases/tag/V1.3.10
Hi, pasting is fixed, cheers, but the string for the citation ID is replaced with -1. So {Harman, 2009 #175109} becomes {Harman, 2009, #-1}. This seems to also effect the Bookends version I rolled back to.
Ha ok, I only tested pandoc output, probably missing some more fixes for the bookends citation mode
I'm no coder, but if I can provide you with anything to help diagnose etcetera, just let me know and I'll do my best.
try this version I just pushed but not released: https://github.com/iandol/bookends-tools/blob/master/bookends-tools.alfredworkflow
I made a better fix to ignore the case of the json key for the unique ID, let me know if it works.
Looks promising! On first inspection, everything seems to be back to normal.
Thank you for the quick work! I'm just trying to finish putting together my thesis. Lesson learned: Really, I should stop updating things during crunch time.
I'll leave this open for now, just in case. Good luck with the thesis!!!