我正在尝试使用RMarkdown的bibtex功能进行引用,但我的引用未被呈现。
我正在使用最新版本的R、RStudio和RMarkdown。
我的rmd文件如下所示:
---
title: "Music Recommender Systems"
output:
html_document:
theme: united
toc: yes
pdf_document:
toc: yes
word_document: default
bibliography: bibliography.bib
---
Blah blah @778431
我的bibtex文件“bibliography.bib”保存在.rmd文件旁边,看起来像这样:
@inproceedings{778431,
author = {Lesaffre, Micheline and Leman, Marc and Martens, Jean-Pierre},
booktitle = {Dagstuhl Seminar Proceedings},
editor = {Crawford, T. and Veltkamp, R.C.},
issn = {1862-4405},
language = {eng},
location = {Dagstuhl, Germany},
pages = {1--11},
publisher = {Internationales Begegnungs- und Forschungszentrum fur Informatik (IBFI), Schloss},
title = {A user-oriented approach to music information retrieval},
url = {http://drops.dagstuhl.de/vollt...},
year = {2006},
}
输出结果中没有引用文献,只有:
嘟嘟嘟 @778431
发生了什么?请查看http://rmarkdown.rstudio.com/authoring_bibliographies_and_citations.html以获得格式建议。我相信我的设置都是正确的,但如果我错过了一些小错误,我很乐意接受指正。
注意,我最初在文件中尝试使用[@778431]。