From a2b4f5efb45d8cfd656ced114daa29d16efc3432 Mon Sep 17 00:00:00 2001 From: DansYU Date: Wed, 26 Jun 2019 11:28:04 +0800 Subject: [PATCH] ADD MAKEINDEX ADD MAKEINDEX --- .vscode/settings.json | 25 +++++++++++++++++++++++-- README.md | 2 +- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 4d0174d..962a831 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -30,7 +30,18 @@ "-synctex=1", "-interaction=nonstopmode", "-file-line-error", - "%DOC%" + "%DOCFILE%" + ] + }, + { + "name": "makeindex", + "command": "makeindex", + "args": [ + "%DOCFILE%.nlo", + "-s", + "nomencl.ist", + "-o", + "%DOCFILE%.nls" ] }, { @@ -55,6 +66,16 @@ "xelatex" ] }, + { + "name": "xe->mkind->bib->xe*2", + "tools": [ + "xelatex", + "makeindex", + "biber", + "xelatex", + "xelatex" + ] + }, { "name": "xe->bib->xe->xe", "tools": [ @@ -99,4 +120,4 @@ ] }, "files.autoGuessEncoding": true, -} +} \ No newline at end of file diff --git a/README.md b/README.md index ddf62d0..064c836 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ ## 编译方式 -采用的编译方式为 **XELATEX -→ BIBER -→ XELATEX -→ XELATEX** +采用的编译方式为 **XELATEX -→ MAKEINDEX -→ BIBER -→ XELATEX -→ XELATEX** 若使用vscode作为LaTeX编译器,可以使用.vscode/setting里面的配置文件