去年,我能够创建名为testbib.yaml的yaml文件,其中包括以下内容:
---
references:
- id: fenner2012a
title: One-click science marketing
author:
- family: Fenner
given: Martin
container-title: Nature Materials
volume: 11
URL: 'http://dx.doi.org/10.1038/nmat3283'
DOI: 10.1038/nmat3283
issue: 4
publisher: Nature Publishing Group
page: 261-263
type: article-journal
issued:
year: 2012
month: 3
---
在我刚刚添加的yaml标头中
---
title: "Sample Document"
output: pdf_document
bibliography: testbib.yaml
---
它奏效了。我可以在.Rmd中使用@fenner2012a
,它引用了该引用。我现在正在尝试,它给了我错误:
Error running filter pandoc-citeproc:
Filter returned error status 1
Error: pandoc document conversion failed with error 83
请参阅rmarkdown: yaml references to bibliography
有人知道我怎样才能使它重新工作吗?
谢谢