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

Chris Horler puszcza-hackers at gnu.org.ua
Tue Jun 24 01:01:32 CEST 2014


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

                 Summary: tex4ht mathml invalid text-align css attribute value
                 Project: tex4ht
            Submitted by: chorler
            Submitted on: Tue 24 Jun 2014 02:01:32 EEST
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

using the command (as per guidelines on the website for producing html/mathml
output)

chorler at linux-foxtrot:~/tex4ht-text-align> htlatex tftalign.tex
"xhtml,mathml,mozilla" -cmozhtf -cvalidate

the resulting html / xml file has elements within with style attribute css of
"text-align:axis;"

The W3 CSS validator reports this as an invalid value for text-align (and I
confirmed this by checking the spec and various mailing list archives).

I'm attaching a simple example latex file that exhibits the problem (cut down
from a much larger document with several occurences of the problem, I can
upload this on request).

The two files of interest in the distribution appear to be:

chorler at linux-foxtrot:~/tex4ht-text-align> rpm -ql texlive-tex4ht | xargs -I
{} grep -l 'text-align:axis' {}
/usr/share/texmf/tex/generic/tex4ht/html-mml.4ht
/usr/share/texmf/tex/generic/tex4ht/mathltx.4ht

chorler at linux-foxtrot:~/tex4ht-text-align> grep -n 'text-align:axis'
/usr/share/texmf/tex/generic/tex4ht/html-mml.4ht
/usr/share/texmf/tex/generic/tex4ht/mathltx.4ht
/usr/share/texmf/tex/generic/tex4ht/html-mml.4ht:96:   {c}{\ifmathml \HCode{
style="text-align:axis;\border:lines
/usr/share/texmf/tex/generic/tex4ht/mathltx.4ht:151:   {c}{\ifmathltx \HCode{
style="text-align:axis;" }\fi}
chorler at linux-foxtrot:~/tex4ht-text-align> 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 24 Jun 2014 02:01:32 EEST  Name: tftalign.tex  Size: 489B   By:
chorler

<http://puszcza.gnu.org.ua/bugs/download.php?file_id=169>
-------------------------------------------------------
Date: Tue 24 Jun 2014 02:01:32 EEST  Name: tftalign.xml  Size: 3kB   By:
chorler

<http://puszcza.gnu.org.ua/bugs/download.php?file_id=170>

    _______________________________________________________

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