Math

Answered

how to convert "application/x-latex" formate to "application/vnd.myscript.jiix" in myscript js or how to import content with "application/x-latex" format

When we are add text "application/x-latex" format in mysql data table after we need to edit myscript text so we are import text in "application/x-latex" formate but not support ""application/x-latex" format import function so please help me how to convert "application/x-latex" formate to "application/vnd.myscript.jiix" in myscript js or how to import content with "application/x-latex" format.

 

We have used this code:

http://prntscr.com/14nv3c2

http://prntscr.com/14nv9l7

 

Would you please help us to solve out this problem.

 

Thanks.   


Best Answer

Dear Sam,


Thank you for contacting us.


Indeed, Math only supports the "JIIX" import: https://developer.myscript.com/docs/interactive-ink/1.4/web/iinkjs/import-and-export/#math-import (the full list of imports/exports is available here: https://developer.myscript.com/docs/interactive-ink/1.4/overview/import-and-export-formats/)


Currently, you can export as both JIIX ('application/vnd.myscript.jiix') and latex, then imprt as JIIX?


You can refer to the import math with JIIX sample we provide:

https://myscript.github.io/iinkJS/examples/v4/import_math_jiix.html

https://github.com/MyScript/iinkJS/blob/master/examples/v4/import_math_jiix.html


If this doesn't help, please explain your scenario ; also, feel free to attach the image in our forum, as I am not able to see your second link.


Thank you,


Best regards,


Olivier

1 Comment

Answer

Dear Sam,


Thank you for contacting us.


Indeed, Math only supports the "JIIX" import: https://developer.myscript.com/docs/interactive-ink/1.4/web/iinkjs/import-and-export/#math-import (the full list of imports/exports is available here: https://developer.myscript.com/docs/interactive-ink/1.4/overview/import-and-export-formats/)


Currently, you can export as both JIIX ('application/vnd.myscript.jiix') and latex, then imprt as JIIX?


You can refer to the import math with JIIX sample we provide:

https://myscript.github.io/iinkJS/examples/v4/import_math_jiix.html

https://github.com/MyScript/iinkJS/blob/master/examples/v4/import_math_jiix.html


If this doesn't help, please explain your scenario ; also, feel free to attach the image in our forum, as I am not able to see your second link.


Thank you,


Best regards,


Olivier

  • Support
  • Forums
  • Math
  • how to convert "application/x-latex" formate to "application/vnd.myscript.jiix" in myscript js or how to import content with "application/x-latex" format