MathCAT icon indicating copy to clipboard operation
MathCAT copied to clipboard

UEB: Sometimes, two consecutive vertical bars emit Unicode symbol for double vertical bar

Open rob-aph opened this issue 1 year ago • 3 comments

Consider the following:

<math>
	<mo>|</mo>
	<mo>|</mo>
	<mn>-3</mn>
	<mo>|</mo>
	<mo>+</mo>
	<mo>|</mo>
	<mn>2</mn>
	<mo>|</mo>
	<mo>|</mo>
</math>

With this, I get the following output: ‖⠐⠤⠼⠉⠸⠳⠐⠖⠸⠳⠼⠃⠸⠳⠸⠳

rob-aph avatar Aug 10 '23 18:08 rob-aph

The easy fix is to add braille for the Unicode char (U+2016). If it isn't ⠸⠳⠸⠳, let me know. I've checked that in.

The harder problem is that the clean up for two|s in a row is incorrect. The speech is messed up.

NSoiffer avatar Aug 11 '23 05:08 NSoiffer

With this fix, one of the vertical bars is missing in the UEB output. I'm getting: ⠸⠳⠐⠤⠼⠉⠸⠳⠐⠖⠸⠳⠼⠃⠸⠳⠸⠳

Should be: ⠸⠳⠸⠳⠐⠤⠼⠉⠸⠳⠐⠖⠸⠳⠼⠃⠸⠳⠸⠳

Not sure if this is a clue to your speech string problems or not.

rob-aph avatar Aug 11 '23 11:08 rob-aph

Just checking in on this one. Are we any closer to a resolution? Is there anything I can do?

rob-aph avatar Nov 21 '23 11:11 rob-aph