First off, excellent work with this package. I am able to convert a rather complex document to html5 with lots of equations and images. Ultimately my target is to get back to a Word document from a latex document. I think I am not far off.
That said, latexml always borks when I try to tell it to use svg or png equations (with --mathsvg or --mathimages respectively). The HTML5 equations will obviously be no good in Word.
I always get this error:
Fatal:perl:die Perl died
Postprocessing LaTeXML::Post::MathML::Presentation Paper.html
Wide character in subroutine entry at /usr/share/perl5/LaTeXML/Post.pm line 1188.
It would be nicer if the error would not kill LateXML, rather it would just skip that equation.
The text was updated successfully, but these errors were encountered:
It was in the original LaTeX document. Actually, I had converted a Word document to LaTeX by copy-paste (not the most elegant solution, but the fine-tuning was simple enough). I think that's how the character ended up there. The en-dash are a real pain from the copy-paste standpoint.
hmm, it seems that tied hashes don't like to get utf passed to them? I've patched that up and it runs without error (or even warning). However, I wonder that it gives what you want: LaTeX (even outside of LaTeXML) essentially ignores the en-dash; perhaps it was intended to be a minus?