JSON is a much better format for Pandoc than BIB, when I timed it a few years ago it was ~5X faster to compile with. So get BBT to export CSL JSON and use that instead…
EDIT: IIRC the zotero live citation filter uses the Zotero library directly, so it may even be that the JSON/BIB file is not actually used?
How would you change the argument for pandoc to reflect that?
Also, the .docx file I get has the pandoc command prepended at the top of the document, and brackets surrounding entire sections. I’m wondering what I may have done wrong… I followed the instructions above to the letter.
Final edit - I have it so it’s mostly working, but it still includes the line #!/opt/homebrew/bin/pandoc before the body of the text. Easy to remove from the Word document, but wondering if there’s a way from preventing it from being inserted there in the first place.
I’m not quite sure why @vegetableroast uses the “Edit script” box to enter the pandoc command, but it is more direct to just use the path option directly:
Note to use your JSON the fragment is --bibliography /path/to/zotero.json – wherever you store the file and I personally prefer to not have spaces in the filename (it defaults to My Bibliography.json. Note that i also append the following fragment: > compile.log 2>&1 – this basically redirect the output of the pandoc command to a log file, including any errors so if something goes wrong you can check the log…
Regarding #!/opt/homebrew/bin/pandoc this is a hashbang but is not present I think in his instructions, not sure where this is being added but I don’t see it so there is something in your document or metadata that is inserting this…
You should not see any pandoc command in the output, it does mean something is going wrong. If you can make a simplified minimal project that reproduces your problem zip it up and we can take a look…
Thanks for the suggestion @nontroppo. I’m also not sure why I was using the “Edit Script” box… Using the path option is much better. Since a number of changes have been made to the post above (and I can’t seem to edit the original) I put everything into a Google Doc that reflects the revisions: Steps to Pandoc Workflow: Scrivener and Zotero on MacOS