VScode Latex 设置 debug 总结

it2025-01-29  29

全部以 “settings.json” 中代码的形式呈现。

自动换行

“editor.wordWrap”: “on”

couldn’t open .aux file

找了一个小时原因,最后发现是bib文件里面缺了一个逗号。具体问题可以点Latex extension 里面的 View Log Messages 找到。出了问题一定要仔细看日志。

Error: File ended while scanning use of

Error: File ended while scanning use of XXX XXX是什么不重要。这个错误一般都是大括号 {} 缺了一边。具体在哪缺的 看日志!

完整代码备份(包括Latex部分)

{ "latex-workshop.latex.tools": [ { "name": "pdflatex", "command": "pdflatex", "args": [ "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOC%" ] }, { "name": "xelatex", "command": "xelatex", "args": [ "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOC%" ] }, { "name": "bibtex", "command": "bibtex", "args": [ "%DOCFILE%" ] } ], "latex-workshop.latex.recipes": [ { "name": "PDFLaTeX", "tools": [ "pdflatex" ] }, { "name": "XeLaTeX", "tools": [ "xelatex" ] }, { "name": "latexmk", "tools": [ "latexmk" ] }, { "name": "BibTeX", "tools": [ "bibtex" ] }, { "name": "pdflatex -> bibtex -> pdflatex*2", "tools": [ "pdflatex", "bibtex", "pdflatex", "pdflatex" ] }, { "name": "xelatex -> bibtex -> xelatex*2", "tools": [ "xelatex", "bibtex", "xelatex", "xelatex" ] } ], "explorer.confirmDelete": false, "latex-workshop.view.pdf.viewer": "tab", "editor.accessibilitySupport": "off", "editor.wordWrap": "on" }
最新回复(0)