xaml-math icon indicating copy to clipboard operation
xaml-math copied to clipboard

MathML input

Open alexreg opened this issue 8 years ago • 4 comments
trafficstars

It might be nice to add support for MathML parsing as an alternative to TeX input. Just a thought. This is certainly not a priority, in my mind.

alexreg avatar Feb 23 '17 15:02 alexreg

If you are still interested in that, could you please check out my MathMktoTexFormula.cs code in my fork.

B3zaleel avatar Jul 10 '18 18:07 B3zaleel

@B3zaleel Y u no use StringBuilder and use string directly D:

Happypig375 avatar Jul 11 '18 00:07 Happypig375

I didn't think about the performance when I started because I thought I would use it for a handful of elements. However, I'm changing some parts of it to use string builder but not all of then can be used. Eg. The index of mroot comes at the end so the first element and it's children need to be stored separately and they are added once we've gotten the base and index.

B3zaleel avatar Jul 11 '18 05:07 B3zaleel

I've taken a very quick look at the code and I don't think that the string/StringBuilder is a big issue there. We could always fix it before merging, the changes required are trivial. We'll need to discuss a proper API for MathML parser though. For now I've no useful ideas.

ForNeVeR avatar Jul 12 '18 18:07 ForNeVeR