我一直在尝试将Mendeley生成的参考书目附加到RMarkdown文档中,但它会产生字体错误。我按照here的说明进行操作。
这是错误:
[WARNING] Missing character: There is no  in font [lmroman12-
regular]:mapping=tex-text;!
[WARNING] Missing character: There is no  in font [lmroman12-
regular]:mapping=tex-text;!
[WARNING] Missing character: There is no  in font [lmroman12-
regular]:mapping=tex-text;!
[WARNING] Missing character: There is no  in font [lmroman12-
regular]:mapping=tex-text;!
这是我的YAML的样子:
title: "Title"
author: "Author"
header-includes: \usepackage{setspace}\doublespacing
output:
pdf_document:
latex_engine: xelatex
fontsize: 12pt
bibliography: bib.bib
以下是Mendeley的bib输出样本:
@article{Bandelj2012,
abstract = {abstract {\textcopyright} The Author(s) 2012.},
author = {Bandelj, N. and Mahutga, M. C.},
doi = {10.1177/0020715212465097},
file = {:path/Bandelj, Mahutga - 2012 - Structures of globalization Evidence
from the worldwide network of bilateral investment treaties (1959-
2009).pdf:pdf},
isbn = {0020-7152},
issn = {0020-7152},
journal = {International Journal of Comparative Sociology},
number = {2},
pages = {95--123},
title = {{Structures of globalization: Evidence from the worldwide network of
bilateral investment treaties (1959-2009)}},
url = {http://cos.sagepub.com/cgi/doi/10.1177/0020715212465097},
volume = {54},
year = {2012}
}
任何人都有关于如何解决此问题的任何提示?任何帮助非常感谢!很高兴提供更多信息。
答案 0 :(得分:0)
老实说,我没有答案,但我发现你在周四没有任何答案,所以也许我可以帮助一下。尝试使用Mendeley使用Rmarkdown生成的.bib时,我遇到了其他问题,并发现this是修复Mendeley生成的.bib文件的一种方法。它没有解决我的问题,但也许你可以尝试一下。 由于它没有帮助我,我正在转向zotero,也许那个经理会创建一个合适的.bib。