MINGW-packages: latexmk/runscript doesn't handle arguments correctly in mingw64
When trying to pass arguments to runscript or trying to call latexmk directly from command line, it can’t seem to interpret the arguments correctly. I run this command directly where main two.tex
is.
C:\Users\simon\Downloads\test\SSB Build>latexmk -verbose -file-line-error -synctex=1 -interaction=nonstopmode -pdf -pvc "main two.tex"
C:\SK\msys64\mingw64\bin\runscript.tlu:935: C:\SK\msys64\mingw64\bin\runscript.tlu:581: unknown option: -verbose
runscript wrapper utility (rev. 54353, 2020-03-16)
usage: runscript script-name [arguments]
try -help [-v] for more information
this all happens while mingw64/bin
is in PATH. I’ve tried to replicate the issue with a standalone texlive installation, but when I do that it compiles correctly. It also works if there are no space in my filenames so this works. So this:
C:\Users\simon\Downloads\test\SSB Build>latexmk -verbose -file-line-error -synctex=1 -interaction=nonstopmode -pdf -pvc "main.tex"
compiles correctly.
I also seem to have the problem that I can’t invoke C:\SK\msys64\mingw64\bin\latexmk.exe
unless ming64\bin
is in my PATH.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (9 by maintainers)
Commits related to this issue
- texlive-bin: fix launchers fixes https://github.com/msys2/MINGW-packages/issues/8821 — committed to naveen521kk/MINGW-packages by naveen521kk 3 years ago
- texlive-bin: fix launchers fixes https://github.com/msys2/MINGW-packages/issues/8821 — committed to naveen521kk/MINGW-packages by naveen521kk 3 years ago
Never-mind it worked after a reinstall.
Hmm, looks like quoting issue or something similar to me. I will have a look at it later.