liblouis / liblouisutdml

An open-source library providing complete braille transcription services for xml, html and text documents
http://liblouis.io
GNU General Public License v3.0
24 stars 16 forks source link

Nested roots are not converted correctly to Nemeth #63

Open NSoiffer opened 5 years ago

NSoiffer commented 5 years ago

The nested fraction test (mathml_nemeth/test_msqrt_03.test) fails:

Image image
Output >A+>B+>C>D]]]]
Expected >A+.>B+..>C...>D...]..].]]

As with #62, it appears that the code is not dealing with nesting levels. Unlike fractions which announce their complexity at the start/end, radicals count inwards similar to scripts (i.e., the innermost radical repeats the indicator . to indicate the level of nesting.