Speech-Rule-Engine / speech-rule-engine

Generating speech descriptions for XML structures
https://zorkow.github.io/speech-rule-engine/
Apache License 2.0
73 stars 39 forks source link

[Nemeth] \leqslant gives empty string #736

Open pkra opened 9 months ago

pkra commented 9 months ago

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).

pkra commented 8 months ago

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

pkra commented 4 months ago

Two more cases: \blacktriangleleft, \blacktriangleright.

pkra commented 4 months ago

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.

zorkow commented 3 months ago

\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.