Quote:
Originally Posted by KevinH
Toxaris,
How do you convert MS math to an SVG or PNG? Can it be done on the fly? I have looked at a number of projects that try to convert mathml to svg but these are typically MathJax based javascript routines that are not easy to integrate into Sigil.
Thanks,
Kevin
|
I can either extract it from a Word document in the OMath format and convert that to MathML and subsequent to SVG. The SVG can be converted to PNG.
The MathML to SVG code is based on SVGMath I believe it was, which is written in Python. I have converted it to C# for easier integration. However, the current version of my add-in uses a compiled version of SVGMath, but that is going away in the new version. Then I will use my library.