[tex4ht] [bug #488] \over does not give the same result as equivalent \frac
Michal Hoftich
puszcza-hackers at gnu.org.ua
Sun Nov 1 23:21:26 CET 2020
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/
More information about the tex4ht
mailing list.