# [tex4ht] Problem using mjcli on Cygwin

Francis Wright f.j.wright at live.co.uk
Tue Mar 30 19:16:03 CEST 2021

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex4ht/attachments/20210330/73f9b733/attachment.html>