增加模板对于VScode编辑器的支持
在VScode的setting中增加BIT_thesis编译模式,选中模式后,在VScode中编辑保存后自动调用编译命令更新PDF。
This commit is contained in:
parent
dabde4986c
commit
3926d8be5e
|
|
@ -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"
|
||||
],
|
||||
}
|
||||
Loading…
Reference in New Issue