Closed bleachpuppy closed 2 years ago
Thanks for the report. I don't use Windows and Miktex, so I cannot test this behaviour, but I updated mkparams.lua
with a escaping function that behaves diferently on Windows and on different operating systems? Could you please try if it fixes the issue? If yes, does it also work for files that have special character in their names? Like hello(world).tex
?
I've tested the fix on Mitkex and it seems to work.
Great, thanks! (Sorry I was offline for a couple days.)
Just tried it and it fixes the issue, and still works for hello[world]_abc(123){456}.tex
. Anything else you want me to test?
That's good to hear! I've already pushed the fix to CTAN, as there was code freeze for TeX Live few days ago. I hope that the fix will be included in Miktex soon.
I believe 3bca65f4a1b6d31668c93b48f0d68771f040fd42 broke things, and I can't use make4ht at all anymore.
I'm using MikTex with Windows 10, and make4ht version v0.3k.
Here's my MWE:
File "doc.tex":
Command line:
Here are the files it made:
So I'm giving it an input file without quotes, but it's adding single quotes to the output file names. As far as I can tell (or guess), the failure looks like it's because subsequent steps within make4ht can't find the intermediate files because they aren't expecting a single quote in the name.
(Side-issue, it'd also be great if the FATAL message would give a better hint as to why did things fail. It doesn't actually show any errors messages that I can see, just warnings. And adding "-a debug" doesn't give any better hints, that I can find at least.)
My previous version (don't know what that was, unfortunately) used to work before updating to the latest version. I haven't tried reverting it but just skimming the recent commits I'd suspect that 3bca65f4a1b6d31668c93b48f0d68771f040fd42 is what broke things.