-
Notifications
You must be signed in to change notification settings - Fork 14
Coming from VSCode LaTeX workshop
Here are some instructions for doing some of the stuff available in the VSCode UI and LaTeX workshop settings.
Most of these are pointing the user to use a configuration file for latexmk (latexmkrc).
These assume that you are using latexmk (the default for this extension) for your project.
|
you can clean auxiliary and other files by running this in the terminal: latexmk -CThe LaTeX compiler can be set in a $pdf_mode = 1; # to use pdflatex
$pdf_mode = 2; # tex -> ps -> pdf
$pdf_mode = 2; # tex -> dvi -> pdf
$pdf_mode = 4; # to use lualatex
$pdf_mode = 5; # to use xelatex |
|
"latex-workshop.docker.image.latex" setting |
See this section of the build page in this wiki. |
|
"latex-workshop.formatting.latex" |
|
|
"latex-workshop.latex.texDirs" |
Set |
|
"latex-workshop.latex.clean.command" |
There is no in-editor UI or shortcut for cleaning. You could use |
|
"latex-workshop.latex.external.build.command" |
See this section |
|
"latex-workshop.latex.outDir" |
Specify in latexmkrc with |
|
"latex-workshop.latex.rootFile.*" |
Specify in latexmkrc with |
|
"latex-workshop.latex.verbatimEnvs" |
There is a texlab workspace configuration for this. Note that there also other similar texlab configurations for bespoke commands and environments that should be recognised as a certain "type". |
- Home
- Build Document
- Preview
- Formatting
- Texlab
- Miscellaneous features
- Help when coming from: