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

latexmlmath breaks at "%" #884

Closed
giovanni111 opened this Issue Nov 15, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@giovanni111

giovanni111 commented Nov 15, 2017

Calling

latexmlmath --mathimage=f.png \\begin{array}{l}1\\%\\\\0.01\\end{array}

fails with the messge

Couldn't find image for 'DirectMathImages:png:\beginDISPLAY \begin{array}[]{l}1\0.01\end{array}\endDISPLAY'

I presume that some re-formatting of the LaTeX code does not handle the % adequately.

@brucemiller

This comment has been minimized.

Owner

brucemiller commented Nov 15, 2017

Yikes, indeed a % preceded by a single slash shouldn't get stripped out, but 2 slashes? Actually only when preceded by an even number of slashes; Regexp Funtime!! I think I got it though; Thanks for the report!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment