Merge pull request #1 from VoidShooter/master
支持在模板VScode编辑器中进行编辑、编译;增加使用VScode的设置方法及配置文件
This commit is contained in:
commit
263014eb77
|
|
@ -17,4 +17,7 @@ LaTeX 论文写作填坑/拓展指南 & 模板简介可参考Helper_manual/Helpe
|
|||
- 打印中文信息的命令更改为\makeChineseInfo,在盲审模式下不显示中英文个人信息。
|
||||
- 修改英文信息中下划线的长度。
|
||||
|
||||
|
||||
## 使用VScode编辑论文模板方法
|
||||
- 下载安装VScode,搜索安装LaTeX WorkShop插件
|
||||
- 选择“文件-首选项-设置”进入设置界面,搜索“setting.json”打开,添加项目中“setting.json”文件内容
|
||||
- 使用VScode时,选择LATEX-COMMANDS-Build LaTeX project-Recipe:BIT_thesis,保存文档后编辑器会根据设置自动编译更新。
|
||||
|
|
|
|||
|
|
@ -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