CSharpMath icon indicating copy to clipboard operation
CSharpMath copied to clipboard

`@"= \, -1"` parses but throws on display

Open charlesroddie opened this issue 3 years ago • 2 comments

@"= \, -1" parses (CSharpMath.Atom.LaTeXParser.MathListFromLaTeX) but throws on display.

CSharpMath.Structures.InvalidCodePathException: Invalid space between Relation and Binary Operator

charlesroddie avatar Jun 24 '22 17:06 charlesroddie

A code search leads to https://github.com/verybadcat/CSharpMath/blob/a7e11bae0e5f37d0de61d2442c72f270522de3cb/CSharpMath/Display/InterElementSpaces.cs but this code isn't intelligible to me.

charlesroddie avatar Jun 24 '22 17:06 charlesroddie

Right. This was refactored a little bit but much of the logic is from iosMath which I never understood.

Happypig375 avatar Jun 25 '22 07:06 Happypig375