I have a markdown file test.md like this:
---
title: zotxt test
zotero-bibliography: bib.json
---
[@soper_LegalTheoryObligation_1977]
If I run pandoc like this:
pandoc test.md -o test.docx --standalone --lua-filter=pandoc-zotxt.lua --citeproc
then everything works fine. pandoc-zotxt creates a references file called bib.json and adds passes it as a bibliography to citeproc. The outcome is a properly formatted document with all citations in place as expected.
However, if I add another citation to test.md, things go wrong. bib.json is not updated with the new reference.
Additionally, pandoc-zotxt no longer passes the reference file to citeproc, because even the references that were properly processed before are now missing, and replaced with the citation keys appended by question marks, implying that citeproc cannot find the references. If I add bibliography=bib.json to the metadata, then citeproc can find the file again, but still doesn't process the citation(s) added after the original creation of the reference file, which is never updated.
I have tested this with docx and html output with the same result. I have also tested passing citeproc as a lua filter rather than a regular switch. That doesn't make a difference either.
Thanks for a wonderful project. I'd be grateful for your thoughts.
I have a markdown file
test.mdlike this:If I run pandoc like this:
then everything works fine. pandoc-zotxt creates a references file called
bib.jsonand adds passes it as a bibliography to citeproc. The outcome is a properly formatted document with all citations in place as expected.However, if I add another citation to
test.md, things go wrong.bib.jsonis not updated with the new reference.Additionally, pandoc-zotxt no longer passes the reference file to citeproc, because even the references that were properly processed before are now missing, and replaced with the citation keys appended by question marks, implying that citeproc cannot find the references. If I add
bibliography=bib.jsonto the metadata, then citeproc can find the file again, but still doesn't process the citation(s) added after the original creation of the reference file, which is never updated.I have tested this with
docxandhtmloutput with the same result. I have also tested passingciteprocas a lua filter rather than a regular switch. That doesn't make a difference either.Thanks for a wonderful project. I'd be grateful for your thoughts.