James-Yu / LaTeX-Workshop

Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.
MIT License
10.63k stars 529 forks source link

Stop working with latexmk 4.84 - Upstream bug (Workaround) #4221

Closed BaumiCoder closed 6 months ago

BaumiCoder commented 6 months ago

Situation

latexmk in version 4.84 does not work with the option -outdir / -output-directory. The maintainer of latexmk is informed. If you run latexmk without this option, there are no problems. So some users maybe thing, that it is a bug in LaTeX-Workshop. So I create this issue to inform the users of the plugin about the root of the problem.

Workaround

The workaround is to avoid the problematic option. For LaTeX-Workshop you have to go to the latex-workshop.latex.tools in the settings.json. There remove the lines:

"-outdir=%OUTDIR%",

for all entries with the command latexmk or at least the entries you are using.

Updates

I will update this issue if I get feedback from the maintainer and when there is a bug fix available for latexmk.

James-Yu commented 6 months ago

https://github.com/James-Yu/LaTeX-Workshop/issues/4219#issuecomment-2033021354