[tex4ht] Using make4ht on windows. How to handle .config/ files?

Nasser M. Abbasi nma at 12000.org
Sun Nov 17 06:59:38 CET 2024


I am trying make4ht on windows 10 directly to measure its performance
vs. virtual box/Linux.

I am using miktex.  I assume I can use tex4ht and make4ht OK with miktex
and I do not need to install texlive.

The issue is that on Linux, there is a config.lua that is automatically
read by make4ht which is in

     $HOME/.config/make4ht/config.lua

Ofcourse on windows 10 there is no such folder.

For TEXMFHOME  I defined env. variable for windows, so miktex
sees my other files such as .cfg and these are read OK by make4ht.

But where should one put the hidden config.lua file on windows
so that make4ht can read it?  I can not use -e flag, since
I am already using -e to read yet another make4ht config file.

My command is

make4ht -ulm default -a debug
       -c nma_mathjax.cfg -e MAIN.mk4 A.tex 'mathjax,htm'

In the above the files nma_mathjax.cfg, MAIN.mk4 are in my
$TEXMFHOME path.  So there are OK.  But how to tell make4ht
now to find config.lua on windows?

Thanks
--Nasser




More information about the tex4ht mailing list.