[Tex/LaTex] Convert LaTeX to SymPy format


I'm trying to convert LaTeX to SymPy understandable format and I feel it's hard to comply all conditions. So Im wondering if you can suggest any tools, free or paid, that will be great.

What I'm looking for is:

  • \frac{1}{3x^{2} + 13x - 10} to (1)/((3*x)**2+13*x-10)
  • \lim_{x\to a}\frac{x}{y} to limit(x/y,x,a)

Best Answer

Here's a parser that does the job for a big subset of Latex:


Related Question