Created
March 28, 2021 07:38
-
-
Save zaki-joho/d7d5bb74cce1faab0e17f949e237a020 to your computer and use it in GitHub Desktop.
TexLive (in Visual Studio Code) settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"latex-workshop.latex.tools": [ | |
{ | |
"name": "platex", | |
"command": "platex", | |
"args": [ | |
"-synctex=1", | |
"-interaction=nonstopmode", | |
"-file-line-error", | |
"%DOC%" | |
] | |
}, | |
{ | |
"name": "dvipdfmx", | |
"command": "dvipdfmx", | |
"args": [ | |
"%DOCFILE%.dvi" | |
] | |
}, | |
{ | |
"name": "latexmk", | |
"command": "latexmk", | |
"args": [ | |
"-synctex=1", | |
"-interaction=nonstopmode", | |
"-file-line-error", | |
"-xelatex", | |
"-shell-escape", | |
"-outdir=%OUTDIR%", | |
"%DOC%" | |
], | |
"env": {} | |
}, | |
{ | |
"name": "lualatexmk", | |
"command": "latexmk", | |
"args": [ | |
"-synctex=1", | |
"-interaction=nonstopmode", | |
"-file-line-error", | |
"-lualatex", | |
"-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": "jnw2texmintex", | |
"command": "julia", | |
"args": [ | |
"-e", | |
"using Weave; weave(\"%DOC_EXT%\", doctype=\"texminted\")" | |
], | |
"env": {} | |
} | |
], | |
"latex-workshop.latex.recipes": [ | |
{ | |
"name": "platex", | |
"tools": [ | |
"platex", | |
"platex", | |
"dvipdfmx" | |
] | |
}, | |
{ | |
"name": "latexmk 🔃", | |
"tools": [ | |
"latexmk" | |
] | |
}, | |
{ | |
"name": "latexmk (latexmkrc)", | |
"tools": [ | |
"latexmk_rconly" | |
] | |
}, | |
{ | |
"name": "latexmk (lualatex)", | |
"tools": [ | |
"lualatexmk" | |
] | |
}, | |
{ | |
"name": "pdflatex ➞ bibtex ➞ pdflatex × 2", | |
"tools": [ | |
"pdflatex", | |
"bibtex", | |
"pdflatex", | |
"pdflatex" | |
] | |
}, | |
{ | |
"name": "Compile Rnw files", | |
"tools": [ | |
"rnw2tex", | |
"latexmk" | |
] | |
}, | |
{ | |
"name": "Compile Jnw files", | |
"tools": [ | |
"jnw2tex", | |
"latexmk" | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tex Workshop
latex-workshop.latex.tools
latex-workshop.latex.recipes