qq整人網站怎么做百度首頁百度一下
vscode配置latex
1.安裝vscode,并添加環(huán)境變量路徑
2.安裝latex,bin文件夾添加到環(huán)境變量路徑
3.vscode安裝插件
4.vscode->文件->首選項->顯示配置內容->setting.json文件,查看其位置目錄,通過我的電腦找到此文件(不要使用vscode修改,因為vscode無權限,會導致修改失敗)
5.setting.json通過記事本打開,覆寫文件內容
記得修改位置
"latex-workshop.view.pdf.external.viewer.command":"D:\\Program Files\\SumatraPDF\\SumatraPDF.exe","\"D:/Program Files/vscode/Microsoft VS Code/Code.exe\" \"D:/Program Files/vscode/Microsoft VS Code/resources/app/out/cli.js\" -r -g \"%f:%l\"","%PDF%"
以下進行復制
{"latex-workshop.hover.preview.enabled":true,"latex-workshop.hover.preview.scale":0.8,"latex-workshop.latex.autoBuild.run": "onFileChange","latex-workshop.showContextMenu": true,"latex-workshop.intellisense.package.enabled": true,"latex-workshop.message.error.show": false,"latex-workshop.message.warning.show": false,"latex-workshop.latex.autoClean.run": "onFailed","latex-workshop.latex.recipe.default": "lastUsed",//"latex-workshop.view.pdf.viewer": "tab","latex-workshop.view.pdf.internal.synctex.keybinding": "double-click","editor.minimap.enabled": true, //控制是否顯示縮略圖。"latex-workshop.latex.tools": [{"name": "xelatex","command": "xelatex","args": ["-synctex=1","-interaction=nonstopmode","-file-line-error","%DOCFILE%"]},{"name": "pdflatex","command": "pdflatex","args": ["-synctex=1","-interaction=nonstopmode","-file-line-error","%DOCFILE%"]},{"name": "latexmk","command": "latexmk","args": ["-synctex=1","-interaction=nonstopmode","-file-line-error","-pdf","-outdir=%OUTDIR%","%DOCFILE%"]},{"name": "bibtex","command": "bibtex","args": ["%DOCFILE%"]}],"latex-workshop.latex.recipes": [{"name": "XeLaTeX","tools": ["xelatex"]},{"name": "PDFLaTeX","tools": ["pdflatex"]},{"name": "BibTeX","tools": ["bibtex"]},{"name": "LaTeXmk","tools": ["latexmk"]},{"name": "(bib-chain)xelatex -> bibtex -> xelatex -> xelatex","tools": ["xelatex","bibtex","xelatex","xelatex"]},{"name": "(bib-chain)pdflatex -> bibtex -> pdflatex -> pdflatex","tools": ["pdflatex","bibtex","pdflatex","pdflatex"]},],"latex-workshop.view.pdf.viewer": "external","latex-workshop.view.pdf.external.viewer.command":"D:\\Program Files\\SumatraPDF\\SumatraPDF.exe","latex-workshop.view.pdf.external.viewer.args": ["-forward-search","%TEX%","%LINE%","-reuse-instance","-inverse-search","\"D:/Program Files/vscode/Microsoft VS Code/Code.exe\" \"D:/Program Files/vscode/Microsoft VS Code/resources/app/out/cli.js\" -r -g \"%f:%l\"","%PDF%"],"latex-workshop.latex.clean.enabled": true,"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","*.synctex.gz""*.gz""*.aux"],
}
運行過程中可能會出現perl缺失,但是不影響使用(一些附屬文件無法自動刪除),安裝后把perl安裝目錄設置為環(huán)境變量路徑。