From 3926d8be5ee897db6f7ac9fdd47c7cc87ed7a4c6 Mon Sep 17 00:00:00 2001 From: VoidShooter <33886139+VoidShooter@users.noreply.github.com> Date: Mon, 20 May 2019 15:09:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=A8=A1=E6=9D=BF=E5=AF=B9?= =?UTF-8?q?=E4=BA=8EVScode=E7=BC=96=E8=BE=91=E5=99=A8=E7=9A=84=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在VScode的setting中增加BIT_thesis编译模式,选中模式后,在VScode中编辑保存后自动调用编译命令更新PDF。 --- settings.json | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 settings.json diff --git a/settings.json b/settings.json new file mode 100644 index 0000000..fce2e73 --- /dev/null +++ b/settings.json @@ -0,0 +1,90 @@ +{ + "latex-workshop.latex.recipes": [{ + "name": "xelatex", + "tools": [ + "xelatex" + ] + }, { + "name": "latexmk", + "tools": [ + "latexmk" + ] + }, + + { + "name": "pdflatex -> bibtex -> pdflatex*2", + "tools": [ + "pdflatex", + "bibtex", + "pdflatex", + "pdflatex" + ] + } + { + "name": "BIT_thesis", + "tools": [ + "xelatex", + "bibtex", + "xelatex", + "xelatex" + ] + } + ], + "latex-workshop.latex.tools": [{ + "name": "latexmk", + "command": "latexmk", + "args": [ + "-synctex=1", + "-interaction=nonstopmode", + "-file-line-error", + "-pdf", + "%DOC%" + ] + }, { + "name": "xelatex", + "command": "xelatex", + "args": [ + "-synctex=1", + "-interaction=nonstopmode", + "-file-line-error", + "%DOC%" + ] + }, { + "name": "pdflatex", + "command": "pdflatex", + "args": [ + "-synctex=1", + "-interaction=nonstopmode", + "-file-line-error", + "%DOC%" + ] + }, { + "name": "bibtex", + "command": "bibtex", + "args": [ + "%DOCFILE%" + ] + }], + "latex-workshop.view.pdf.viewer": "tab", + "latex-workshop.latex.clean.fileTypes": [ + "*.aux", + "*.bbl", + "*.blg", + "*.idx", + "*.ind", + "*.lof", + "*.lot", + "*.out", + "*.toc", + "*.acn", + "*.acr", + "*.alg", + "*.glg", + "*.glo", + "*.gls", + "*.ist", + "*.fls", + "*.log", + "*.fdb_latexmk" + ], + } \ No newline at end of file