Add Settings for vscodium latex extensions
Remove the "-pdf" for the latexmk (the default compiler), so that it does no force the pdfLaTeX Compiler. This enforcement in the extension is not a "bug": https://github.com/James-Yu/LaTeX-Workshop/issues/1019
This commit is contained in:
parent
0c40190403
commit
4d03370c6c
189
.vscode/settings.json
vendored
Normal file
189
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,189 @@
|
||||||
|
{
|
||||||
|
"latex-workshop.latex.recipes": [
|
||||||
|
{
|
||||||
|
"name": "latexmk",
|
||||||
|
"tools": [
|
||||||
|
"latexmk"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "latexmk (latexmkrc)",
|
||||||
|
"tools": [
|
||||||
|
"latexmk_rconly"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "latexmk (lualatex)",
|
||||||
|
"tools": [
|
||||||
|
"lualatexmk"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "latexmk (xelatex)",
|
||||||
|
"tools": [
|
||||||
|
"xelatexmk"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pdflatex -> bibtex -> pdflatex * 2",
|
||||||
|
"tools": [
|
||||||
|
"pdflatex",
|
||||||
|
"bibtex",
|
||||||
|
"pdflatex",
|
||||||
|
"pdflatex"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Compile Rnw files",
|
||||||
|
"tools": [
|
||||||
|
"rnw2tex",
|
||||||
|
"latexmk"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Compile Jnw files",
|
||||||
|
"tools": [
|
||||||
|
"jnw2tex",
|
||||||
|
"latexmk"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Compile Pnw files",
|
||||||
|
"tools": [
|
||||||
|
"pnw2tex",
|
||||||
|
"latexmk"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "tectonic",
|
||||||
|
"tools": [
|
||||||
|
"tectonic"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"latex-workshop.latex.tools": [
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "latexmk",
|
||||||
|
"command": "latexmk",
|
||||||
|
"args": [
|
||||||
|
"-synctex=1",
|
||||||
|
"-interaction=nonstopmode",
|
||||||
|
"-file-line-error",
|
||||||
|
"-outdir=%OUTDIR%",
|
||||||
|
"%DOC%"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "lualatexmk",
|
||||||
|
"command": "latexmk",
|
||||||
|
"args": [
|
||||||
|
"-synctex=1",
|
||||||
|
"-interaction=nonstopmode",
|
||||||
|
"-file-line-error",
|
||||||
|
"-lualatex",
|
||||||
|
"-outdir=%OUTDIR%",
|
||||||
|
"%DOC%"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "xelatexmk",
|
||||||
|
"command": "latexmk",
|
||||||
|
"args": [
|
||||||
|
"-synctex=1",
|
||||||
|
"-interaction=nonstopmode",
|
||||||
|
"-file-line-error",
|
||||||
|
"-xelatex",
|
||||||
|
"-outdir=%OUTDIR%",
|
||||||
|
"%DOC%"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "latexmk_rconly",
|
||||||
|
"command": "latexmk",
|
||||||
|
"args": [
|
||||||
|
"%DOC%"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pdflatex",
|
||||||
|
"command": "pdflatex",
|
||||||
|
"args": [
|
||||||
|
"-synctex=1",
|
||||||
|
"-interaction=nonstopmode",
|
||||||
|
"-file-line-error",
|
||||||
|
"%DOC%"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "bibtex",
|
||||||
|
"command": "bibtex",
|
||||||
|
"args": [
|
||||||
|
"%DOCFILE%"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "rnw2tex",
|
||||||
|
"command": "Rscript",
|
||||||
|
"args": [
|
||||||
|
"-e",
|
||||||
|
"knitr::opts_knit$set(concordance = TRUE); knitr::knit('%DOCFILE_EXT%')"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jnw2tex",
|
||||||
|
"command": "julia",
|
||||||
|
"args": [
|
||||||
|
"-e",
|
||||||
|
"using Weave; weave(\"%DOC_EXT%\", doctype=\"tex\")"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "jnw2texminted",
|
||||||
|
"command": "julia",
|
||||||
|
"args": [
|
||||||
|
"-e",
|
||||||
|
"using Weave; weave(\"%DOC_EXT%\", doctype=\"texminted\")"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pnw2tex",
|
||||||
|
"command": "pweave",
|
||||||
|
"args": [
|
||||||
|
"-f",
|
||||||
|
"tex",
|
||||||
|
"%DOC_EXT%"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pnw2texminted",
|
||||||
|
"command": "pweave",
|
||||||
|
"args": [
|
||||||
|
"-f",
|
||||||
|
"texminted",
|
||||||
|
"%DOC_EXT%"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "tectonic",
|
||||||
|
"command": "tectonic",
|
||||||
|
"args": [
|
||||||
|
"--synctex",
|
||||||
|
"--keep-logs",
|
||||||
|
"%DOC%.tex"
|
||||||
|
],
|
||||||
|
"env": {}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue