daisy / daisy/MathCAT

No separation in Nemeth braille output between content of neighboring lines in multiline aligned equations

Open
#43 14 comments 0 reactions 0 assignees View on GitHub
braille bug needs check
Dominant language
Rust
Stars
114
Forks
85
Avg merge
1d 11h
Merged PRs (30d)
42

Description

The Nemeth braille rendered by MathCAT from the MathML for these two aligned equations:
![image](https://user-images.githubusercontent.com/117550/174190302-affb3f4f-d17a-4130-b060-9d697c1e0408.png)
results in braille that has no separation between the '5' at the end of the first line and the '3.1x' at the start of the second line:
```
⠼⠦⠨⠲⠲⠭⠬⠢⠢⠽⠀⠨⠅⠀⠼⠢⠒⠨⠂⠭⠤⠴⠨⠶⠀⠨⠅⠀⠤⠼⠂⠨⠂
```
The braille is roughly equivalent to "8.44 x plus 55 y equals **53.1 x** minus 0.7 equals negative 1.1"

_Note the **53.1 x** in the braille output instead of a separation between the two equations._

### Expected output
At a minimum, a space between the two equations is needed:
```
⠼⠦⠨⠲⠲⠭⠬⠢⠢⠽⠀⠨⠅⠀⠼⠢ ⠼⠒⠨⠂⠭⠤⠴⠨⠶⠀⠨⠅⠀⠤⠼⠂⠨⠂
```
Such multiline content is problematic. Unfortunately, it does not appear that Nemeth code has a mechanism for rendering a new line indicator. It would be worth researching if adding "Line 1: " ... "Line 2:", (or similar indication) would be appreciated.

### To reproduce

The LaTeX was:
```tex
\begin{aligned}
8.44x + 55y &= 5\\
3.1x - 0.7 &= -1.1
\end{aligned}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.