I am using a custom R Markdown Latex Template, and BibTex, but I am having trouble getting the bibliography to work.
With the default pandoc-citeproc I get the error:
pandoc-citeproc: Error parsing references: expected [a], encountered Object
Which occurs before the .tex file is generated, not during the compilation of the .tex file. I've tried uninstalling and reinstalling pandoc, which doesn't help.
When I add --biblatex as a pandoc argument I get a new error that occurs after the .tex file is generated:
! Undefined control sequence.
l.41 We are writing this using LaTeX \autocite
If I replace \autocite with \cite in the .tex file it compiles nicely. It would be nice if I could get pandoc/biblatex to use \cite instead of \autocite so I don't have to manually intervene. Am I misunderstanding something?
--natbibthen, as suggested here http://tex.stackexchange.com/a/279739/95109 – Christoph S Feb 09 '17 at 21:02\autocitewould be undefined when you loadbiblatex. Can you show us a minimal example of a generated.texfile (with the call tobiblatexand all the options)? – moewe Feb 10 '17 at 06:39.texfile, there is not much we can do. I will probably vote to close this question if nothing more happens in due time. – moewe Mar 25 '17 at 16:32