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

sanitize more possible input schemata of frac #246

Merged
merged 3 commits into from
Dec 12, 2021

Conversation

julianuu
Copy link
Contributor

@julianuu julianuu commented Nov 6, 2021

This is not polished yet.

It sanitizes the cases in #50 and more, such as

\documentclass{article}
\begin{document}
\begin{equation}
x = \frac \lambda b
\end{equation}
\begin{equation}
x = \frac12
\end{equation}
\end{document}

with spaces added and removed at will.

It still gives warnings because it tries to print capture group variables which haven't captured anything. It also does not deal with newlines or comment symbols yet. I am not sure what is the best way to fix either of these issues.

@julianuu julianuu changed the title sanitizing more possible input schemata of frac sanitize more possible input schemata of frac Nov 6, 2021
@julianuu
Copy link
Contributor Author

julianuu commented Nov 6, 2021

now it also works for comment symbols with newlines

@julianuu
Copy link
Contributor Author

julianuu commented Nov 8, 2021

Now I am happy with it.

@ftilmann ftilmann merged commit 480d06f into ftilmann:master Dec 12, 2021
@ftilmann
Copy link
Owner

Sorry for delay in dealing with this.

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

Successfully merging this pull request may close these issues.

2 participants