I have set up the native Windows version of node.js and installed mjcli, which 
appears to work using both the cmd.exe and Cygwin bash shells. For example, 
using Cygwin bash, I get

$ node -v
v14.16.0

$ mjcli --version
1.0.0

I have also installed TeX Live (2020 but with a lot of fairly recent updates) 
for Cygwin, which I have been using for some time. But when I run

$ make4ht -f html5+mjcli manual reduce-sf,3,xhtml,mathjax " -cunihtf -utf8" 
-cvalidate

I get

[WARNING] mkutils: Cannot load extension: mjcli

Without the mjcli extension, this command runs fine. I don't understand why 
mjcli seems to run directly from the shell but not via make4ht. Could it be a 
path issue? Cygwin bash presumably passes a Cygwin-style path to make4ht, but 
since I'm using native Windows node.js it might expect a Windows-style path. 
But if so, why does it run directly from Cygwin bash? I would be grateful for 
any suggestions how to fix or debug this.

If necessary, I'll try building node.js for Cygwin, but I'm hoping to avoid 
that.

Thanks, Francis

Reply via email to