Speech-Rule-Engine/speech-rule-engine

[Nemeth] \leqslant gives empty string

pkra opened this issue · 4 comments

pkra commented

Using MathJax v4-beta.4 or SRE 4.1.0-beta.7, $\leqslant$ returns no braille output (but e.g., less than or slanted equals with mathspeak).

This seems to happen more generally, e.g., $\implies$, $\Longleftarrow$, $\iff$,$\dotplus$, $\coloneq$, $\square$, ${\vcenter{\img[][...][...][{some alt text}]{something.svg}}}$

pkra commented

Two more cases: \blacktriangleleft, \blacktriangleright.

pkra commented

There's also "partial" braille output, e.g., x \leqslant y will come out ⠭⠀⠀⠽ which is harder to detect and probably worse for readers.

@zorkow I'm wondering which direction you might end up going. Perhaps a fallback to speech strings is appropriate when nemeth cannot provide a reasonable presentation.

\leqslant works for me in beta.8. I have a Nemeth update in the pipeline, which should make it into MJ4 final. Still needs some work on linebreaking.