Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio code 由于BibTex,LaTex未在VS代码上编译_Visual Studio Code_Latex_Bibtex - Fatal编程技术网

Visual studio code 由于BibTex,LaTex未在VS代码上编译

Visual studio code 由于BibTex,LaTex未在VS代码上编译,visual-studio-code,latex,bibtex,Visual Studio Code,Latex,Bibtex,我无法通过VS代码编译使用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 waysofmentalpr

我无法通过VS代码编译使用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??如何安装它?

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