Skip to content

Round trip conversion leads to invalid LaTeX #57

@Smurf-IV

Description

@Smurf-IV

Describe the bug

To Reproduce
Use the following as the source of the LaTeX
F_n=\frac{5V_m}{\sqrt{g}}

            MathListBuilder mlb = new MathListBuilder(inputLaTeX);
           Trace.Write(mathList.StringValue);

Output is this:
F_{n}=\\atop{0,515V_{m}}{\\Sqrt{g⋅L_{WL}}}

which is invalid

Expected behavior
Source LaTex produces this
image

Round Trip produces this:
image

These images are from http://www.wiris.com/editor/demo/en/developers

Environment (please complete the following information):
using CSharpMath.Atoms;
using CSharpMath.Enumerations;
using CSharpMath.Interfaces;
.Net Core 2.2

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions