Closed walei88 closed 4 years ago
I’ve faced a problem with latex2mathml in transferring a matrices
Environment os: MacOS 10.13.6 python version 3.7.0 latex2mathml version 2.8.0 IDE using spyder 4.0.0
this is my code: d = latex2mathml.converter.convert("\begin{matrix}a & b \ c & d \end{matrix}") print(d)
missing “>” in one of block.
even I add ">", it is still different between the result and the example in "readme"
I figure out the problem is that I didn't use "raw strings".
latex_input = r'\begin{matrix}a & b \ c & d \end{matrix}' g = latex2mathml.converter.convert(latex_input) print(g)
then the result is correct:
I’ve faced a problem with latex2mathml in transferring a matrices
Environment os: MacOS 10.13.6 python version 3.7.0 latex2mathml version 2.8.0 IDE using spyder 4.0.0
this is my code: d = latex2mathml.converter.convert("\begin{matrix}a & b \ c & d \end{matrix}") print(d)
missing “>” in one of block.
even I add ">", it is still different between the result and the example in "readme"