Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid commands #233

Open
lucapanella-wacebo opened this issue Mar 26, 2024 · 2 comments
Open

Invalid commands #233

lucapanella-wacebo opened this issue Mar 26, 2024 · 2 comments
Labels
Status/1. Ready This issue has been confirmed and is ready to be worked on. Type/Enhancement

Comments

@lucapanella-wacebo
Copy link

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
@lucapanella-wacebo lucapanella-wacebo added Status/0. New This issue is new and is awaiting confirmation from the maintainers. Type/Bug labels Mar 26, 2024
@Happypig375
Copy link
Collaborator

This is a feature request, not a bug.

@Happypig375 Happypig375 added Type/Enhancement Status/1. Ready This issue has been confirmed and is ready to be worked on. and removed Type/Bug Status/0. New This issue is new and is awaiting confirmation from the maintainers. labels Mar 26, 2024
@lucapanella-wacebo
Copy link
Author

Ok, I think the most important thing among those reported is to support the "\not" command. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status/1. Ready This issue has been confirmed and is ready to be worked on. Type/Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants