pandoc not converting latex style citations correctly

倖福魔咒の 提交于 2019-12-03 03:24:21

The --biblatex option is not for writing biblatex directly in markdown. What it does is convert native pandoc markdown citations, like

[@Gepasil1993, p. 5] 

to biblatex citations in LaTeX output.

If you use pandoc markdown citations instead of the LaTeX ones, you'll find that the citations work. Use this command:

pandoc test.md --biblio test.bib --csl chicago-author-date.csl -o test.pdf 

with this input:

I want to reference this: [@Gepasi1993] 

Pandoc's citation format is documented in the Pandoc User's Guide.

If you really want to use raw biblatex citations in your markdown input, you can, but then you need to take care of the bibliography stuff yourself. You'd do it this way:

pandoc test.md --parse-raw -t latex -s > test.tex 
pdflatex test 
biber test 
pdflatex test 
pdfltatex test 
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!