I am curious about how to convert MathML to LaTeX in C# (.net framework).
For example, if we look at the root formula…
Input string (MathML)
<math display="block" class="tml-display" style="display:block math;">
<mfrac>
<mrow>
<mo lspace="0em" rspace="0em">−</mo>
<mi>b</mi>
<mo>±</mo>
<msqrt>
<mrow>
<msup>
<mi>b</mi>
<mn>2</mn>
</msup>
<mo>−</mo>
<mn>4</mn>
<mi>a</mi>
<mi>c</mi>
</mrow>
</msqrt>
</mrow>
<mrow>
<mn>2</mn>
<mi>a</mi>
</mrow>
</mfrac>
</math>
I want output string (LaTeX)
frac{-bpmsqrt{b^{2}-4ac}}{2a}
Is there any nuget package or good solution that performs this conversion function?
(Additionally, I would also like to know how to perform the reverse conversion function (LaTeX to MathML))