Hello,In investigating the bug where brl nodes get placed in the wrong location in UTD, I have now discovered another bug. This one results in brl nodes with no index values. See the attached minimal examples.
I have been debugging liblouisutdml and liblouis by sprinkling lou_logPrint calls through code I am interested in (OK, C experts might say GDB is a better way but I never found a good understandable tutorial to help me learn that, suggest such a tutorial if you are going to say use GDB).
It appears that lou_translate is only ever called twice for liblouisutdml translating this document, but from the number of brl nodes I would expect at least three calls. Also it is interesting to see when these occur, they only happen after the processing of the whole paragraph node, which could explain how Braille content can end up in the wrong brl node.
Michael Whapples
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <dtbook xmlns:m="http://www.w3.org/1998/Math/MathML"; semantics="action,no"><book semantics="style,document"><p semantics="style,para"><strong semantics="action,italicx">Go to <brl><newpage brlnumber="1"/><newline xy="30,10"/>â ¨â â â â ¨â </brl></strong>the Google website<brl>â ®â â â â â â â â â â ºâ â â â â â </brl></p><brl><newline xy="155,202"/><span class="brlonly"> 1<brl>â â â â ¼â </brl></span><newpage brlnumber="2"/></brl></book></dtbook>
<dtbook xmlns:m="http://www.w3.org/1998/Math/MathML";><book> <p><strong>Go to </strong>the Google website</p> </book></dtbook>