I'm trying to convert a LaTeX document into HTML (or rather, I'm trying to output HTML instead of, say, PDF - is this the right way to say this?)
I used the advice of https://tex.stackexchange.com/a/39458 and tried writing this:
htlatex book.tex html "" -dhtml "--interaction=nonstopmode"
This actually worked great until I got the following error:
System call: copy figs/Correlation_examples.png html. The syntax of the command is incorrect.
I fiddled around with the copy command for a minute and then realized that the problem is that the forward slash (which is fine on Unix) needs to be a backwards slash on Windows (i.e., instead of figs/ it needs to be figs\)
So on the one hand this should be a simple fix, but on other hand I'm having trouble finding which file to modify to make the fix.
My question: Is there a way around this on MiKTeX on Windows? I think that htlatex (and mk4tex, etc, etc) all appear to be compiled executables so I don't think it's possible to modify htlatex.exe myself (short of re-compiling/re-building MikTeX, of course).