see, for example, https://people.eecs.berkeley.edu/~fateman/papers/mly-psmath.pdf
for a discussion. It is really a consideration of "optical character recognition" of math equations, where the characters are mostly perfectly represented, and the spacing is perfectly represented. But what is the meaning of, say, a superscript? To find info, consider that google is your friend. RJF On Wednesday, June 14, 2017 at 3:24:25 PM UTC-7, Jason Moore wrote: > > Here is one option: https://github.com/augustt198/latex2sympy > > moorepants.info > +01 530-601-9791 > > On Wed, Jun 14, 2017 at 12:22 AM, Christophe BAL (via GMAIL) < > [email protected] <javascript:>> wrote: > >> Hello. >> >> Because LaTeX is not mathmetically semantic, you can't have a perfect >> converter from LaTeX to SymPy. >> >> >> >> >> Le 14/06/2017 à 06:09, [email protected] <javascript:> a écrit : >> >> I have a lot of latex expression, such as: >> a+b+c=0 >> abc>0 >> \frac{1}{a}+\frac{1}{b}+\frac{1}{c} >> \left({a+b+c}\right)^2=a^2+b^2+c^2+2ab+2bc+2ac=0 >> >> I want a function, let's say latex2sympy(latex), to convert latex to >> sympy expression? >> >> how can i do that? >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] <javascript:> >> . >> Visit this group at https://groups.google.com/group/sympy. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/5f86b9c7-1ace-410c-aeb7-c57f505c42ff%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sympy/5f86b9c7-1ace-410c-aeb7-c57f505c42ff%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- >> Christophe BAL >> Enseignant Agrégé de Mathématiques >> Programmeur Python Amateur >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] <javascript:> >> . >> Visit this group at https://groups.google.com/group/sympy. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/9dedee5e-10c9-6ef5-2a33-2c1f3591323c%40gmail.com >> >> <https://groups.google.com/d/msgid/sympy/9dedee5e-10c9-6ef5-2a33-2c1f3591323c%40gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/db292e42-f453-4b0a-a97a-957f068db953%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
