-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Pandoc Lua Filter for live references: Does not find items in non-default library #1647
Comments
I've found the problem. I'm going to have to puzzle a bit for a fix. |
🤖 this is your friendly neighborhood build bot announcing test build 5.2.71.7171 ("fixed #1647") Install in Zotero by downloading test build 5.2.71.7171, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...". |
I can confirm that it's working as expected now. Many thanks for your stellar work on BBT! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Better BibTeX version: 5.2.68
Zotero version: 5.0.91-beta.3+c5f01bc2f
pandoc --version: pandoc 2.10.1
Report ID: TBACV33E-euc
Exporter used: Pandoc Lua Filter, following instructions from here
Expected behavior:
I'm trying to create a .docx with (live) Zotero references. It works flawlessly with items in my default library ("My Library"). However, it does not work with other (shared) libraries. For that purpose, I've created an empty group called
test555
on zotero.org, and added a single reference with citekeymarkovicNotMissBoat2030
(I've modified the citekey with 2030 to detect if there is a collision between citekeys from my default library and shared library; however, it does not seem to matter).Then, I'm running the following command:
pandoc -s --lua-filter=zotero.lua --metadata=zotero_scannable_cite:true --metadata=client:jurism --metadata=zotero_library:test555 -o test.docx test.md
zotero.lua
is cloned from heretest.md
contains one line:lorem ipsum [@markovicNotMissBoat2030] dolor
Actual behavior:
When I omit
--metadata=zotero_library:test555
from the command, and use@markovicNotMissBoat2020
(not2030
, which is located intest555
), it works flawlessly (the reference is picked up from my default library). However, when I specify--metadata=zotero_library:test555
(my test library which contains a single reference), it does not seem to do anything except put the content of test.md inside a Word document, with the result looking like this:Further debugging:
Trying to get the entry from the shared library
test555
via curl:Trying to get the entry from the default library (without specifying
library
query param):I'm ready to assist in debugging this. Many thanks for your help!
The text was updated successfully, but these errors were encountered: