hato
hato

Reputation: 35

Not able to compile when specifying CSL in R Markdown

I'm writing an article in R markdown using a citation library generated in Mendeley. My document compiles fine with references when I'm not specifying citation style.

bibliography: library.bib

When I specify the CSL:

bibliography: library.bib
csl: stroke.csl

I get the following error: pandoc-citeproc.exe: PandocResourceNotFound "stroke.csl" Error running filter C:/PROGRA~1/Pandoc/pandoc-citeproc.exe: Filter returned error status 1 Error: pandoc document conversion failed with error 83 Execution halted

I have tried different citationstyles from: https://github.com/citation-style-language/styles

I appreciate any help.

Upvotes: 2

Views: 1050

Answers (1)

knytt
knytt

Reputation: 593

This error is caused by pandoc-citeproc that cannot find the .CSL file. Check whether the .CSL file stroke.csl is in the same directory as the .RMD file you knit.

Upvotes: 3

Related Questions