I'm trying to get Pandoc to convert markdown citation keys (e.g. [@xxx]) to full citations (in .odt or .docx) but for some reason it isn't working.
I have the following files in the relevant directory: xxx.md, xxx.bib, xxx.csl. I have pandoc and pandoc-citeproc installed (in Ubuntu).
I run the following command or similar:
pandoc --filter pandoc-citeproc -s -o test.odt xxx.md
The document test.odt is produced, and the markdown is converted appropriately, but the citation keys remain untouched. In the .odt document they still appear as [@xxx] and the #References list is unpopulated. It's like the keys haven't been recognised as citations at all.
The YAML data in my xxx.md file references the .bib and .csl files in the directory. In case it's relevant, the .bib file is generated by exporting from Zotero.
I'm sure I'm making some really basic error with how I use pandoc, but for the life of me I can't work out what it is that I'm doing wrong.
Other similar questions such as this and this don't seem to address the same issue.
Any help would be very gratefully received!