-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Description
Right so I wanted to chain multiple Or and And operators it works when I swith them but shows error when using only one kind.
(a<b) && (a<5) && (b<10) not okay
(a<b) && (a<5) || (b<10) okay
Steps to Reproduce
- https://cortexjs.io/mathlive/demo/
- insert \left(0<b\right)\land\left(a<b\right)\land\left(a<-1\right)

4. insert \left(0<b\right)\land\left(a<b\right)\lor\left(a<-1\right)
5.

6. insert \left(0<b\right)\lor\left(a<b\right)\lor\left(a<-1\right)
7.

8. Try to solve it with parenthesis does not help insert \left(0<b\right)\lor\left(\left(a<b\right)\lor\left(a<-1\right)\right)
9.

Actual Behavior
From the steps above you can see when parsing multiple And and Or operators I get 'unexpcted-argument'.
Expected Behavior
Chaining multiple And statements and Or statements should be possible.
Environment
MathLive version If using the cortexjs.io site, the version is displayed
at the bottom of the page. If using the library, the version is available as
MathfieldElement.version
From the bottom of the site.
MathLive version
0.95.5
Updated
September 22, 2023
Operating System macOS, Windows, iOS. Include the version
OS Win11
Browser Safari, Chrome, Edge, Firefox, etc... Try several browsers and note
if there are differences between browsers.
Tried several browsers does not have an impact on the result.