This setting "latex-workshop.latex.outDir": "%DIR%/.tmp" does not work with % !TEX TS-program = xelatex but does work with pdflatex. Any ideas?
Have a look at the wiki to know how to pass options to a magic command. You need to specify --output-directory=%OUTDIR%. Alternatively, you can define a xelatex recipe.
@jlelong Thanks! This worked!
"latex-workshop.latex.outDir": "%DIR%/.tmp",
"latex-workshop.latex.magic.args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"--output-directory=%OUTDIR%",
"%DOC%"
],
Most helpful comment
@jlelong Thanks! This worked!