Import latex error
lucasres opened this issue · 2 comments
lucasres commented
When i run Guppy('g1').import_latex('\sqrt{20}')
I have error: Uncaught Unrecognised symbol: sqrt.
But i search in Guppy.engine.symbols and have sqrt
JMSS-Unknown commented
The LaTeX importer doesn't technically import actual LaTeX, so you would instead have to do
import_latex('squareroot{20}')
There has been a lot of discussion on why this is the case, which you can see in other issues. If you need anything more I would recommend to use a different form or to write your own lexer and parser.
lucasres commented
but the guppy returns /sqrt{} in latex i think that same return is also should will loadded by guppy
but dont work :(
if have one method that convert the return of guppy for guppy load solve my problemn