RichTextView icon indicating copy to clipboard operation
RichTextView copied to clipboard

Is it possible to add MathML (mml) support in this library. If you have any alternate to show MathML in UIView without webview please help...

Open a2zZuhaib opened this issue 7 years ago • 3 comments

What is the purpose of your issue?

  • [x] Feature Request
  • [ ] Question
  • [ ] Other

Description

Provide as much information possible about the issue below

a2zZuhaib avatar Jan 28 '19 08:01 a2zZuhaib

I am getting the mathml format equations from server.. and trying to show it on the screen wothout using webview. i tried with RichTextView library but i think its not supporting mml.

As i try to find the war to convert mml to tex but i didnt found any solution for it also.

If you have any suggestions or idea about to solve this issue please help me out

a2zZuhaib avatar Jan 28 '19 08:01 a2zZuhaib

@a2zZuhaib this sounds like a good idea. Do you know of any parsing libraries on iOS for MathMML that do not require webviews? Otherwise the alternative would be to build one from scratch, and I would rather hook into an already existing one in order to quickly solve your issue.

aelkady avatar Feb 04 '19 08:02 aelkady

@aelkady I have also same issue that i want to display html text with math equation and mml formula so i have used this library for that. But it's working fine for html text but it's not working for math equation and mml formula.

Do you have any suggestion how to solve that problem? I have tried with webview but it's not giving proper dynamic height inside tableview cell and also it's creating lots of problem in performance side.

My html text is looks like below :

"

<math xmlns="http://www.w3.org/1998/Math/MathML">999 this is test

","<math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="normal">π"

And Output should be like Below : Screenshot 2022-07-05 at 11 33 39 AM

Please help me for finding this solution.

Thank you.

BhavsangJam avatar Jul 05 '22 06:07 BhavsangJam