LaTeXML icon indicating copy to clipboard operation
LaTeXML copied to clipboard

epub on cygwin fails

Open brucemiller opened this issue 2 years ago • 4 comments

See the cygwin fail on http://matrix.cpantesters.org/?dist=LaTeXML. It apparently only gets 7 files in the epub but expects 9.

Any of you ePub experts, @dginev @xworld21, have an idea?

Would be good to get cpantesters happy before release :>

brucemiller avatar Dec 13 '22 18:12 brucemiller

Reading the log, it's missing 2 files expected in the test:

  • OPS\/LaTeXML-epub\.css
  • OPS\/LaTeXML\.css

And the OPS directory is there, so likely CSS-specific. Now why that happens is a mystery. Maybe something subtle about paths in cygwin?

Edit: reread and updated.

dginev avatar Dec 13 '22 19:12 dginev

I didn't even think LaTeXML worked in cygwin! My last (and only) attempt to install generated an invalid grammar. Or something like that -- the error message was completely obscure to me at the time.

Paths make sense for the epub error, because cygwin used / as separator I think. Some code might be using the wrong Windows detection.

Happy to take a look, in a few days though.

xworld21 avatar Dec 13 '22 19:12 xworld21

I guess I just assumed it worked, since it did once upon a time, and cygwin tries to be unixy. On the other hand, it appears to have seldom if ever tested on cpantesters, and nobody's complained, so it's hardly a critical bug. However, on the third hand, it only failed that one test, which suggests it shouldn't be too hard to make it work (at least for someone fluent in cygwin & epub :> )

But I don't really want to impose a deadline on you, so I'll just bump the milestone for now.

brucemiller avatar Dec 15 '22 17:12 brucemiller

I would like to officially suggest closing with "wontfix", since cygwin is a hard target for official support. In 2023 it is a lot more tempting to recommend WSL to Windows users seeking a Linux environment.

But no rush, for now I will bump the milestone.

dginev avatar Jan 28 '24 16:01 dginev