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

Text should not be parsed #12

Open
stefnotch opened this issue Jun 27, 2021 · 0 comments
Open

Text should not be parsed #12

stefnotch opened this issue Jun 27, 2021 · 0 comments
Assignees

Comments

@stefnotch
Copy link
Contributor

You're probably aware of this already, but text shouldn't get parsed.

image

So, something like the following

\begin{equation*} e^{i\pi\text{nope!?\lparen sum}} \end{equation*}

will get serialized as

 ["Power","ExponentialE",["Multiply","ImaginaryUnit","Pi",["\\text",["Multiply","n","o","p",["Factorial","ExponentialE"]]]]] 

Notice how it ends up being a multiplication and everything after the ? is missing. While text isn't usually part of a rigorous mathematical formula, it does occasionally get used to describe something. Some examples would be:

image
-- Wikipedia

image

@arnog arnog self-assigned this Jun 28, 2021
arnog added a commit that referenced this issue Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants