现在我有一个 RMarkdown 文件,当单击参考文献的引文时,我希望读者能够导航到参考书目中相应的参考文献。
---
title: "My Title"
author: "my name"
date: "2020/2/6"
output:
pdf_document:
keep_tex: true
header-includes:
- \hypersetup{colorlinks = false,pdfborder={1 1 1}}
bibliography: bibfile.bib
---
[Stack Overflow](https://stackoverflow.com/)
This is my reference[@Breiman2001].
我想要的效果可以是这样的:
这是.bib
file:
@article{Breiman2001,
title={Random Forests},
author={Breiman, Leo},
journal={Machine Learning},
volume={45},
number={1},
pages={5-32},
year={2001},
}
您应该能够通过添加来解决此问题link-citations: true
在您的 YAML 中。
有关更多详细信息,请参阅 SO 上的另一个问题:Rmarkdown 删除引用超链接 https://stackoverflow.com/questions/33233827/rmarkdown-removes-citation-hyperlink
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)