[tex4ht] [bug #219] tex4ht mathml invalid text-align css attribute value

Chris Horler puszcza-hackers at gnu.org.ua
Thu Jun 26 00:56:45 CEST 2014


Follow-up Comment #2, bug #219 (project tex4ht):

Having investigated a bit and read Michals email and devised a new test case -
see new attachment.  The quickest fix appears to be the following:

replace
   {t}{ifmathltx HCode{ style="text-align:top;" }fi}
   {b}{ifmathltx HCode{ style="text-align:baseline;" }fi}
   {c}{ifmathltx HCode{ style="text-align:axis;" }fi}
with
   {t}{ifmathltx HCode{ align="baseline 1" }fi}
   {b}{ifmathltx HCode{ align="baseline -1" }fi}
   {c}{ifmathltx HCode{ align="axis" }fi}

tested in Firefox 30, the result is comparible to what is produced by PDFLatex
- baselines of text appear to be aligned the same.

    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?219>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/




More information about the tex4ht mailing list