On 5/28/2016 11:23 AM, Michal Hoftich wrote:


I've changed the behaviour of make4ht, check the Github repo. It in fact
uses OS commands to copy files (cp on Unix, copy on Windows), so I've
just replaced it with mv, resp move. Could you please test it on
Windows?


Thanks Michal;

Just to be clear, since I am using make4ht that is part of TL 2015,
I see on

https://github.com/michal-h21/make4ht

the file "mkutils.lua" has just been changed. Can I just download this
one file, and replace:

kpsewhich mkutils.lua
/usr/local/texlive/2015/texmf-dist/scripts/make4ht/mkutils.lua

with it?  Will this be enough to do this patch?  Just wanted to make
sure. I do not want to end up with 2 versions of make4ht if I install
everything, it will get confusing unless one have to do this.

Regarding htlatex, you can modify the tex4ht.env file:

Mmv %%1 %%2%%3
Cmv %%1 %%2%3"

to

Mmv %%1 %%2%%3
Cmv %%1 "%%2/%%1"

(this is Unix version, it will be different for Windows). Beware that
the output directory must exist, make4ht will create it automatically.


It is very hard to clean all these files automatically in makefiles
after the build, since one can easily delete wrong files by mistake
and I am not sure which files I should be deleting also.

You can grep the .lg file for output files.


Best regards,
Michal


thanks,
--Nasser

Reply via email to