Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import latex error #161

Open
lucasres opened this issue Oct 21, 2019 · 2 comments
Open

Import latex error #161

lucasres opened this issue Oct 21, 2019 · 2 comments

Comments

@lucasres
Copy link

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
Copy link
Contributor

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
Copy link
Author

lucasres commented Oct 24, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants