Follow-up Comment #5, bug #488 (project tex4ht):
I've done some more experiments and come with an interesting solution: convert
MathML to HTML and render it using CSS. I've used this project as the basis
for CSS: https://github.com/fred-wang/mathml.css/
Not everything is good. Fractions look OK, ordinary inline math too, but for
example integrals are completely wrong. I've tried to set fence sizes using
some simple heuristics, I am not sure how well it works for a more complicated
stuff.
Anyway, sample.tex contains some dummy examples, sample.mk4 code for make4ht
that does the conversion, and mathml.css is a modified version of Fred Wang's
CSS file.
sample.tex can be compiled using the following command:
make4ht -m draft sample.tex "mathml"
(file #366, file #367, file #368)
_______________________________________________________
Additional Item Attachment:
File name: sample.tex Size:0 KB
File name: sample.mk4 Size:2 KB
File name: mathml.css Size:5 KB
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?488>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/