I am using Pandoc for writing texts with Latex or Markdown and converting them to Word (because of no reason everyone else still wants this word-shit). Now I have to convert my citations into footnote style. I have found the filter mode notes-after-punctuation but don't know how I should implement this into my call, e.g. from Rmd to doc:

pandoc -f markdown -t docx --reference-doc=JJL.dotx --resource-path=.:figures --filter pandoc-crossref --filter pandoc-citeproc --bibliography=sample.bib -o output.docx doc.Rmd

Manipulation the output of the citations via Latex didn't work with the following:

  • With biblatex, you have the \footcite command, if I understand well your problem. – Bernard Jul 21 '19 at 12:23
  • yes, that could be a solution, but only for latex not for markdown – לאה פּאַסטעך Jul 21 '19 at 12:32
  • 1
    It was of course just a suggestion, as I don't know markdown. Another suggestion: can you use the footbib package? – Bernard Jul 21 '19 at 12:36
  • 1
    You can only use bib(la)tex if the output format is latex and you have to use --bibtex or --biblatex instead of pandoc-citeproc. If you are using pandoc-citeproc, which is needed for .docx, then you have to find a suitable CSL style that matches your requirements. You can access a huge database of available styles here: Zotero Style Repository. Filter for format note – DG' Jul 21 '19 at 19:33
  • 1
    Thank you! this Zotero Style is a great repository! – לאה פּאַסטעך Jul 21 '19 at 21:03

As @DG' writes one can load a citation style from a csl-file from the Zotero Style Repository. The code would be like:

pandoc -f latex -t docx --bibliography=sample.bib --csl journal-of-linguistics.csl  -o output.docx text.tex 
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.