Skip to content

Invalid commands #233

Open
Open
@lucapanella-wacebo

Description

@lucapanella-wacebo

Describe the bug

The following commands are not supported and cause an error when parsed:

  • \begin{aligned}
  • \end{aligned}
  • \overleftarrow
  • \overrightarrow
  • \dfrac
  • \udots
  • \not

To Reproduce

When we set the LaTeX property of the CSharpMath.Forms.MathView control with a string containing one of the commands listed above we get an "invalid command" error.

Expected behavior

The parsing to be successful.

Environment

  • Platform: CSharpMath.Forms
  • Package Version or Commit: 0.5.1
  • Device: Android or iOS

Additional information

We can avoid the problem with the following substitutions:

  • \overleftarrow => \vec
  • \overrightarrow => \vec
  • \dfrac => \frac
  • \udots => \dots

We were unable to avoid the problem for the following commands:

  • \begin{aligned}
  • \end{aligned}
  • \not

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions