-
Notifications
You must be signed in to change notification settings - Fork 32
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
escape LaTeX special characters #10
Comments
Hey @flying-sheep, can I contribute to this? It looks like you already have the replacement dictionary and functions in place in Would it make sense to add LaTeX escapes to:
I'm happy to pull something together and submit a pull request, I just wanted to check that I'm not missing some other solution you have in place. |
cool, sure! everything that can contain those characters should be escaped in a sensible way. e.g. character strings. |
Are there any other LaTeX things I should escape? Otherwise, this can be closed. |
nope! i think this is the best we can do. LaTeX can never be supported perfectly, because you can toggle every character to be special and therefore execute code. |
we have to do this:
\#
\$
\%
\&
\textbackslash{}
\textasciicircum{}
\_
\{
\}
\textasciitilde{}
The text was updated successfully, but these errors were encountered: