mover should have 2 children: <mover accent='true'> <mi>sin</mi> <mo>⁡</mo> <mo stretchy='true'>~</mo> </mover>
Context
I'm extracting LaTeX from the alt attributes of (probably) MathJAX-generated images, converting them to MathML using KaTeX and then trying to run MathCAT. For the most part it goes well, but this error leaves me stumped.
Actually, I figured it out. The <mo>⁡</mo> gets added by MathML to ensure spacing, but in a mover that's illegal according to the spec. The solution is to simply strip the offending mo.
I'm unsure what to do with this error message. Maybe you can help me figure it out.
Original LaTeX
Which, when rendered, looks like this:
$$ y:= \widetilde{\sin } x:= \text {rd}(\sin x) = (\sin x) (1 + \tau _y). $$
KaTeX output
Note: Only the output from
<math
until</math>
(both inclusive) gets passed to MathCAT.MathCAT error:
Context
I'm extracting LaTeX from the
alt
attributes of (probably) MathJAX-generated images, converting them to MathML using KaTeX and then trying to run MathCAT. For the most part it goes well, but this error leaves me stumped.