Closed Loligplayer33 closed 2 years ago
Thanks for spotting this! I added a declaration for \ensuremath{...}
in latex2text, so your issue should be fixed with my latest commit. Feel free to re-open if problem persists.
Works like a charm! Thank you
First of all thank you very much for this project. It saved me from a lot of hassle with all the special characters!
I have a small issue with the processing of {\ensuremath{xxx]}:
My input to
LatesNodes2Text().latex_to_text()
is f.e.What gets returned is:
-> The whole ensuremath gets removed
I saw that this case was handled the other way around (encoding unicode) here:https://pylatexenc.readthedocs.io/en/latest/latexencode/
But was unable to resolve this problem.