pandoc/markdown:使引用编译为 \cite 而不是 \autocite

pandoc/markdown:使引用编译为 \cite 而不是 \autocite

我正在使用自定义 R Markdown Latex 模板和 BibTex,但在使参考书目发挥作用方面遇到了问题。

使用默认的 pandoc-citeproc 我收到错误:

pandoc-citeproc: Error parsing references: expected [a], encountered Object

这发生在 .tex 文件生成之前,而不是在 .tex 文件的编译过程中。我尝试卸载并重新安装 pandoc,但没有帮助。

当我添加--biblatex为 pandoc 参数时,出现 .tex 文件生成后发生的新错误:

! Undefined control sequence.
l.41 We are writing this using LaTeX \autocite

如果我在 .tex 文件中用 \cite 替换 \autocite,编译效果会很好。如果我可以让 pandoc/biblatex 使用 \cite 而不是 \autocite,那就太好了,这样我就不必手动干预了。我是不是误解了什么?

相关内容