You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
3.5 KiB

// vim: set ts=4 sw=4 et fdm=marker:
{
"latex-workshop.latex.autoBuild.run": "onSave", //"never",
"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.outDir": "%DIR%/output",
//{{{: Tools
"latex-workshop.latex.tools": [
{
"name": "arara",
"command": "arara",
"args": [
"%DOCFILE%"
]
},
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-shell-escape",
"-outdir=%OUTDIR%"
]
},
{
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-shell-escape",
"-file-line-error",
"-output-directory=%OUTDIR%",
"%DOCFILE%"
]
},
{
"name": "lualatex",
"command": "lualatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-shell-escape",
"-file-line-error",
"-output-directory=%OUTDIR%",
"%DOCFILE%"
]
}
],
//}}}
//{{{: Recipes
"latex-workshop.latex.recipes": [
{
"name": "LaTexMK",
"tools": [
"latexmk"
]
},
{
"name": "Arara",
"tools": [
"arara"
]
},
{
"name": "LuaLaTeX -> BibTeX -> LuaLaTeX",
"tools": [
"lualatex",
"bibtex",
"lualatex",
"lualatex"
]
},
{
"name": "XeLaTeX -> BibTeX -> XeLaTeX",
"tools": [
"xelatex",
"bibtex",
"xelatex",
"xelatex"
]
}
],
//}}}
//{{{: Temperature files
"latex-workshop.latex.clean.fileTypes": [
"*.aux",
"*.bbl",
"*.blg",
"*.idx",
"*.ind",
"*.ilg",
"*.lof",
"*.lot",
"*.out",
"*.toc",
"*.acn",
"*.acr",
"*.alg",
"*.glg",
"*.glo",
"*.gls",
"*.ist",
"*.fls",
"*.log",
"*.fdb_latexmk",
"*.nav",
"*.xdv",
"*.pyg",
"*.ver",
"*.hst"
],
//}}}
"latex-workshop.latex.autoClean.run": "onBuilt",
"latex-workshop.latex.recipe.default": "lastUsed",
"latex-workshop.view.pdf.internal.synctex.keybinding": "double-click",
//{{{: sumatrapdf settings
"latex-workshop.view.pdf.viewer": "tab", // "external", // "tab",
"latex-workshop.view.pdf.ref.viewer": "auto",
"latex-workshop.view.pdf.external.viewer.command": "SumatraPDF.exe",
"latex-workshop.view.pdf.external.viewer.args": [
"%PDF%"
],
// sumatraPDF:
// "D:/VSCode/Code.exe" "D:/VSCode/resources/app/out/cli.js" --ms-enable-electron-run-as-node -r -g "%f:%l"
"latex-workshop.view.pdf.external.synctex.command": "SumatraPDF.exe", // /path/to/sumatrapdf
"latex-workshop.view.pdf.external.synctex.args": [
"-forward-search",
"%TEX%",
"%LINE%",
"-reuse-instance",
"-inverse-search",
"\"D:/VSCode/Code.exe\" \"D:/VSCode/resources/app/out/cli.js\" --ms-enable-electron-run-as-node -r -g \"%f:%l\"", // change path
"%PDF%"
],
//}}}
//{{{: files exclude
"files.exclude": {
".gitignore": true,
"output": true,
"fonts": true,
"arara": true,
".vscode": true,
"pdf": true,
"style": false,
"araraconfig.yaml": true,
"latexmkrc": true
},
//}}}
// synctex
"latex-workshop.synctex.afterBuild.enabled": true
//}}}
}