- status: open --> in-the-works
- assigned_to: Christian Schenk
This call of htlatex
G:\Z-Test>htlatex.exe test-utf8 "xhtml,ooffice" "ooffice/! -cmozhtf" "-coo -cvalidate"
leads to the following call of htlatex.bat:
[8888] TRACE htlatex.core - start process: C:\Windows\system32\cmd.exe /s /c "D:\MiKTeX2.9\scripts\tex4ht\htlatex.bat test-utf8 xhtml,ooffice "ooffice/! -cmozhtf" "-coo -cvalidate""
As one can see the quotes around xhtml,ooffice
has been removed. As in batch files commas are argument delimiters this means the arguments are shifted and -coo -cvalidate
is argument %5 instead of %4 and so the script fails.
If one adds a space in the second argument:
`G:\Z-Test>htlatex.exe test-utf8 "xhtml, ooffice" "ooffice/! -cmozhtf" "-coo -cvalidate"``
Then htlatex.exe pass the quotes to the batch file and the compilation succeeds:
[8696] TRACE htlatex.core - start process: C:\Windows\system32\cmd.exe /s /c "D:\MiKTeX2.9\scripts\tex4ht\htlatex.bat test-utf8 "xhtml, ooffice" "ooffice/! -cmozhtf" "-coo -cvalidate""