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.
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 :)
I started typing into a Mathfield and made a syntax mistake. Specifically, I didn't realize the parens autocompleted, so I wrote:
Instead of
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
Typed without errors