Hello,
I found a bug in the LaTeX devcontainer template at templates/src/latex/.devcontainer.json.
The latex-workshop.latex.tools section uses:
"-${templateOption:latexEngine}"
However, the option value for the xetex engine is -xelatex, not xetex. As a result, the generated LaTeX Workshop config passes -xetex to latexmk, which fails with:
Latexmk: -xetex unknown option
Rc files read:
NONE
Latexmk: Bad options specified
Use
latexmk -help
to get usage information
Expected behavior:
The xetex engine should map to the correct latexmk argument -xelatex, or the template should use a matching value for the latexEngine option.
Steps to reproduce:
- Use the LaTeX devcontainer template.
- Select the
xetex engine option.
- Build the project with LaTeX Workshop.
- The build fails with the error above.
Thanks!
Hello,
I found a bug in the LaTeX devcontainer template at
templates/src/latex/.devcontainer.json.The
latex-workshop.latex.toolssection uses:"-${templateOption:latexEngine}"However, the option value for the
xetexengine is-xelatex, notxetex. As a result, the generated LaTeX Workshop config passes-xetextolatexmk, which fails with:Expected behavior:
The
xetexengine should map to the correctlatexmkargument-xelatex, or the template should use a matching value for thelatexEngineoption.Steps to reproduce:
xetexengine option.Thanks!