-
Notifications
You must be signed in to change notification settings - Fork 1
LaTeXDaemon with VSCode LatexWorkshop
There is now a very good Latex plugin for the Visual Studio Code editor: LaTeX Workshop Like with any other editor, LaTeXDaemon just works out of the box with it. You can however tweaks your configuration to make best use of both tools.
In particular, LaTeX Workshop already offers a feature to kick off latex every time you save your main document. (It does not automatically capture .tex dependencies, however, like LatexDaemon does.) If you would like to use this feature then you can still make use of LaTexDaemon to speed up the latex process via precompilation of the preamble. For this you just need to configure the VSCode plugin as follows:
{
"latex-workshop.latex.toolchain": [
{
"command": "latexdaemon",
"args": [
"-watch=no",
"-exit",
"-aux-directory=TexAux",
"%DOC%.tex"
]
}
]
}It's important to specify the -exit switch to make sure not to run in daemon mode: latexdaemon.exe will exit immediately after compiling your document.