由于BibTex

时间:2019-11-14 22:07:21

标签: visual-studio-code latex bibtex

我在通过VS Code使用LaTex编写编辑书时遇到问题,以下是我收到的错误消息:

Latexmk: Summary of warnings from last run of (pdf)latex:
Latex failed to resolve 15 reference(s)
Latex failed to resolve 4 citation(s)
Collected error summary (may duplicate other messages):
bibtex waysofmentalprayer: Could not open bibtex log file for 'waysofmentalprayer'
Latexmk: Errors, so I did not complete making targets

看来问题出在bibtex。我在玩耍,决定将文件扩展名从.bib重命名为.tex,并且可以正常工作。但是,当我使用Rstudio时,它可以使用文件扩展名.bib完美编译。为什么会这样?

更新:文档在Rstudio上编译,但引用无效。出现的只是?,而不是引用。

更新2 :似乎在我的本地计算机上,它无法识别bibtex。我下载了TeXworks,但是bibtex选项为灰色,即我无法使用它。这是否意味着我不能使用bibtex?如何安装?

1 个答案:

答案 0 :(得分:0)

我找到了解决方案。我已经here回答了。基本上,我使用biblatex而不是natbib。