[tex4ht] make4ht does not find build file using -e option unless full path is given

Nasser M. Abbasi nma at 12000.org
Sun Dec 1 04:56:02 CET 2024


I have MAIN.mk4 build file for make4ht. It is seen by

kpsewhich -all MAIN.mk4

There is only one copy of this file in the whole system.

But when I use

make4ht --shell-escape -ulm default -a warning -e MAIN.mk4  index.tex "mathjax,html"

The file MAIN.mk4 is not found. I know this, since I have print
statements in MAIN.mk4 which do not show.

However, if I hardcode the path in the call, like this

make4ht --shell-escape  -ulm default -a warning -e /mnt/g/texmf/tex/latex/MAIN.mk4  index.tex "mathjax,html"

Now it sees it, since I see the print statements on the terminal.

I have thought that -e will find the build file if it is seen
also by kpsewhich?

make4ht --version

says v0.4b

Latest TL update. Linux OS.

Thanks
--Nasser



More information about the tex4ht mailing list.