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

Remove Error noise from Clojure MathJSON representation when equation is valid #11

Open
jefffriesen opened this issue Dec 3, 2022 · 1 comment

Comments

@jefffriesen
Copy link

I started typing into a Mathfield and made a syntax mistake. Specifically, I didn't realize the parens autocompleted, so I wrote:

1+x+cos()y

Instead of

1+x+cos(y)

I went back and fixed it. But the Clojure representation included a lot of Errors in it even though rendered Tex looked fine. I refreshed the page, typed it in correctly the first time, and didn't get all of the Error cruft. See screenshots.

With initial error

Screenshot 2022-12-03 at 3 19 55 PM

Typed without errors

Screenshot 2022-12-03 at 3 22 19 PM

@sritchie
Copy link
Member

sritchie commented Dec 4, 2022

Thank you for this! I filed a ticket with the mathlive repo (linked above), so we should reach paren-shifting nirvana soon. What we really need is paredit in the browser :)

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