You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using either MathJax 3.2.2 or 4.0.0-beta.3 when generating speech text for LaTeX that generates multi-char <mi> content, MathSpeak grammar of any verbosity inappropriately spaces runs of non-space text sequences into individual characters. For example, for the following expression: $h_{\text{per mole in kJ}} = 3.99 \times 10^{-13} \mathrm{kJ} \times \mathrm{s} \times \mathrm{mol}^{-1}$,
notice that the text generated for the \mathrm{mol} part of h_{\text{per mole in kJ}} = 3.99 \times 10^{-13} \mathrm{kJ} \times \mathrm{s} \times \mathrm{mol}^{-1}, is "m o l" when the SRE is configured for MathSpeak brief:
h Sub per mole in kJ Base equals 3.99 times 10 Sup negative 13 Base k upper J times normal s times m o l Sup negative 1
This is instead of the expected:
h Sub per mole in kJ Base equals 3.99 times 10 Sup negative 13 Base k upper J times normal s times mol Sup negative 1
Side question: Is there a more appropriate way to encode units in LaTeX expressions for MathJax (so the mi elements are generated with mathvariant='normal' class='MathML-Unit')?
Using either MathJax 3.2.2 or 4.0.0-beta.3 when generating speech text for LaTeX that generates multi-char <mi> content, MathSpeak grammar of any verbosity inappropriately spaces runs of non-space text sequences into individual characters. For example, for the following expression:$h_{\text{per mole in kJ}} = 3.99 \times 10^{-13} \mathrm{kJ} \times \mathrm{s} \times \mathrm{mol}^{-1}$ ,
notice that the text generated for the
\mathrm{mol}
part ofh_{\text{per mole in kJ}} = 3.99 \times 10^{-13} \mathrm{kJ} \times \mathrm{s} \times \mathrm{mol}^{-1}
, is "m o l" when the SRE is configured for MathSpeak brief:This is instead of the expected:
View the MathML MathJax created for the example
Note that ClearSpeak Auto for the same expression correctly returns "mol":
The text was updated successfully, but these errors were encountered: