Having spent an inordinate about of time working out a functional workflow from Scrivener to Word through pandoc with Zotero references, I am left with one weird problem that I have not been able to solve despite searching all relevant manuals and user forums. (Actually, I have a couple of other issues too, but first things first.) Since I really don’t know whether this problem is more relevant to Scrivener or pandoc, I’m posting this to both forums and will share any answers I get.
To set the scene:
- I am using the most recent version of all three programs.
- I have used zotpick-pandoc_Scrivener to create citekey references in Scrivener.
- I have created an export .bib file from Zotero using BetterBibLaTex.
- I compile using an edited version of MultiMarkdown.
- In case it matters, I prefer using free-floating footnote references (so I use a tilda as an anchor rather than a highlighted word.)
- I do the pandoc conversion using the following command line in terminal: pandoc --bibliography=MY_Zotero_refs.bib -s MY_compiled_doc.txt -o output.docx --csl=chicago.csl -f markdown -t docx. (Note: I started figuring out to do this using the following web site, but I couldn’t make the code work as it was described here: survivestatistics.com/scrivener- … mac-users/. Much googling later, I came up with this syntax, which seems to work fine.)
- I have what seems to be an otherwise perfectly functional reference.docx in my .pandoc hidden folder.
My Problem: Rogue (and seemingly random) footnote errors
Most of my footnotes have been translated more or less perfectly (a total of 155 footnotes). (I’m sure there is always a bit of tweaking that will need to be done. But either the Multimarkdown compile format I am using or the pandoc translation (I have no idea which) is gagging on precisely seven, seemingly quite different types of Zotero references. I get no error when I run pandoc, but the footnote is empty, and then any subsequent citations of that reference have only a single digit, followed by a comma and the page range (which I entered manually into Scrivener). I have attached a PDF of the Word output file. (I stripped the text down to the minimum and added a second page with the bibliographic output for the affected citations creating using the “Create Bibliography from items” command directly from Zotero.) I’ve pasted the BetterBibLaTex output for these citations below my message. You can see that this file does turn up some error messages, but there is no logic to too them (similar error messages did not lead to problems with other citations), I did manage to fix a couple of similarly affected citations by tweaking the information in Zotero. (In one case, a title that started with a word in All-caps seemed to be the problem.) But I cannot figure out what is going on with the rest of them.
Does anyone have any idea what might be going on here?
footnote problem.pdf (80.1 KB)