-
-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better CSL does not extract extra variables #2963
Comments
I can't yet reproduce this. I get the simple log message as expected. I don't yet know by what path this could end up as a field "postscript" in the output CSL. Can you send a new log and tick the "include cache" option?
No relation. |
Debug log IDK9FUKTI3-euc/6.7.226-7 Resubmitted with cache attached. Thanks! |
A debug build will drop here in a few minutes, please install it, export again, and send a new log. |
🤖 this is your friendly neighborhood build bot announcing test build 6.7.226.6867 ("logging") 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.226.6867, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...". |
Debug log IDR52FBFKP-euc/6.7.226.6867-7 |
Can you reset the cache from the BBT preferences (under misc), export again, and send a new log? |
Debug log IDK6J9AYUD-apse/6.7.226.6867-7 |
I don't see the translator running. A new build will drop soon, please generate a new log from that. |
🤖 this is your friendly neighborhood build bot announcing test build 6.7.226.6870 ("log translator id") 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.226.6870, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...". |
Debug log IDNW6FZ38F-euc/6.7.226.6870-7 |
before and after the postscript has ran. A new build will drop soon, please generate a new log, but can you also post the actual output you are getting? |
🤖 this is your friendly neighborhood build bot announcing test build 6.7.226.6875 ("log final result") 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.226.6875, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...". |
Debug log IDJCYNWNHC-euc/6.7.226.6875-7 json attached. Thanks! |
You are exporting as |
Thanks. I've set the export format to Better CSL JSON, and I don't see the postscript anymore. But, I've tried adding my actual JS to the scripting section and I'm still not seeing my CSL variable ("GSCC") listed under the "notes" field. JSON attached. Here's the script I've added:
FYI, my ultimate goal is to get this field to show up in Obsidian using the Zotero Integration plugin. |
The script you posted will only do stuff in the
|
I am not sure what you mean by this. |
In the JSON I see the CSL variable under "note":"GSCC: 0021819 \nmy-note: testing" which includes everything in the Extra field. I tried the script
But that's not pulling it out. I looked at your Extra fields doc and the Scripting doc, but I'm lost. Should the code above be enough to pass a new CSL variable that's used in the Extra field? |
so there's nothing to pull out. |
But there is an error somewhere. I'll look into it tomorrow. |
🤖 this is your friendly neighborhood build bot announcing test build 6.7.226.6896 ("testcase") 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.226.6896, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...". |
This will do it now:
the |
Thanks! GSCC is showing up in the json export. Now I need to figure out how to get the Zotero Integration plugin to recognize it. For another day! |
Debug log ID
8HMFT7MM-refs-euc/6.7.226-7
What happened?
Hi there. Thanks so much for this terrific plugin!
I'm trying to get add a postscript to BBT to export a CSL variable from the Extra field. However, any script I add is exported as as the field "postscript": [code]. I've included a short debug script in the debug example I uploaded.
I expect this has to do with the "ae:sql:get: undefined is not a string but a undefined" error, but I'm a total noob.
Thanks in advance for your guidance!
The text was updated successfully, but these errors were encountered: