[liblouis-liblouisxml] Re: [liblouisutdml] push by john.bo...@xxxxxxxxxxxxxxxxx - fixed mtext bug on 2013-10-11 16:05 GMT

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 11 Oct 2013 11:20:33 -0500

Fixing this bug revealed another. The Braille is not properly formatted. 
I'm attaching a modikfied version of the file that Brandon sent. The 
math should have been inside a paragraph, but this did  not fix the 
formatting. Look for another message from the exterminator.

John

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

<dtbook><book>
<div><p>An example of text within math.
<math xmlns="http://www.w3.org/1998/Math/MathML"; 
display="block"><mtext>An equation</mtext><mstyle 
mathvariant="bold"><mi>w</mi></mstyle><mo>=</mo><msub><mi>α</mi><mn>1</mn></msub><msub><mstyle
 
mathvariant="bold"><mi>v</mi></mstyle><mn>1</mn></msub><mo>+</mo><msub><mi>α</mi><mn>2</mn></msub><msub><mstyle
 
mathvariant="bold"><mi>v</mi></mstyle><mn>2</mn></msub><mo>+</mo><msub><mi>α</mi><mn>3</mn></msub><msub><mstyle
 mathvariant="bold"><mi>v</mi></mstyle><mn>3</mn></msub></math>
</p></div>
</book></dtbook>

Other related posts: