Latex not able to convert into SVG

31 views
Skip to first unread message

ganesh chandra

unread,
Apr 16, 2025, 6:43:44 AM4/16/25
to MathJax Users
Hi Team/Users,

I have the latex of some symbols, and I am trying to convert them into SVG files, and I am not able to convert them into SVG. My symbol's format is this: <span aria-label=\"5\">\\(5\\)</span> And I checked other math formulas and symbols. These are converting fine. The structure is this:

<span class="math_expression"><span aria-label=\"5\"><math alttext="5"><mstyle><mrow><mi>5</mi></mrow></mstyle></math></span></span>


Please have a look and give me some support, if anyone can.
And just FYI: I am using Version 3 of Mathjax.
Thanksin advance.









































Davide Cervone

unread,
Apr 23, 2025, 4:55:10 AM4/23/25
to mathja...@googlegroups.com
There is not enough information here to diagnose your problem.  What does "I am not able to convert them into SVG" mean in this case?  You don't give any information about how you are actually using MathJax in this case (e.g., are you doing this in a browser, or in a node script server side?  What is yiyr configuration and how are you cal ing MathJax itself?), or what you have tried, or what problem is actually occurring (e.g., are you getting an error message, or what?).

It appears that you are using some LaTeX to MathML conversion other than MathJax to go from your symbol format in your foist HTML snippet to the "structure" in your second one, as that is not MathJax output.  So I assume you are trying to useMathJax to do MathML to SVG?  So you are using the mml-svg.js component when you load MathJax?  It is hard to tell, since you don't give the details.

Sorry, there is just not enough here to give you a meaningful answer.

Davide

--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mathjax-users/df29d964-21dc-4174-a533-6d69dafca1c8n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages