[tex4ht] [bug #315] Invalid html generated for longtable

Ulrich Müller ulm at gentoo.org
Thu Jun 16 07:18:52 CEST 2016


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

                 Summary: Invalid html generated for longtable
                 Project: tex4ht
            Submitted by: ulm
            Submitted on: Do 16 Jun 2016 08:18:52 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:

Processing attached bug.tex with "mk4ht xhlatex bug" once results in the
following invalid html output (see bug1.html):

<tr  
 style="vertical-align:baseline;" id="TBL-1-1-"><td colspan="3"
style="white-space:nowrap; text-align:left;" id="TBL-1-1-1"  
class="td11"></td><div class="multicolumn"  style="white-space:nowrap;
text-align:center;"> <div class="caption" 
><span class="id">Table&#x00A0;1: </span><span  
class="content">A longtable</span></div><!--tex4ht:label?: x1-2r1 -->         
                                                </div><a 
 id="x1-3"></a>
</tr>

Note that the div element starts after the td element is closed. Also, colspan
is only 3 while it should be 7.

After running "mk4ht xhlatex bug" three times, html output is finally valid,
see bug3.html.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Do 16 Jun 2016 08:18:52 EEST  Name: bug.tex  Size: 147B   By: ulm

<http://puszcza.gnu.org.ua/bugs/download.php?file_id=248>
-------------------------------------------------------
Date: Do 16 Jun 2016 08:18:52 EEST  Name: bug1.html  Size: 3kB   By: ulm

<http://puszcza.gnu.org.ua/bugs/download.php?file_id=249>
-------------------------------------------------------
Date: Do 16 Jun 2016 08:18:52 EEST  Name: bug3.html  Size: 3kB   By: ulm

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Puszcza
  http://puszcza.gnu.org.ua/



More information about the tex4ht mailing list