- Package natbib Warning: Citation xxx undefined,或编译后的引用文献出现问号[?]
- 把bibtex放在首个编译,操作如下:在settings.json中
“latex-workshop.latex.recipes” 修改为:"latex-workshop.latex.recipes": [ { "name": "xelatex", "tools": [ "xelatex" ], }, { "name": "pdflatex", "tools": [ "pdflatex" ] }, { "name": "bib->xe->xe", "tools": [ "bibtex", "xelatex", "xelatex" ] }, { "name": "bib->pdf->pdf", "tools": [ "bibtex", "pdflatex", "pdflatex" ] } ],
- 取消自动删除.aux文件,在settings.json注释掉,如果依然删除则设置
"latex-workshop.latex.autoClean.run": "never"
- 把bibtex放在首个编译,操作如下:在settings.json中
- Package natbib: Bibliography not compatible with author-year citations.
- 加入
\usepackage{natbib}
,\setcitestyle{numbers, square}
- 加入
vscode latex 常见问题
于 2025-03-06 17:23:46 首次发布