bugtex4ht - Bugs: bug #368, Tabularx package makes \\[...] to...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #368: Tabularx package makes \\[...] to produce faulty code inside array

Submitted by:  Jarno Parviainen <jarno_c137>
Submitted on:  Fri Sep 8 22:16:30 2017  
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun Sep 10 02:08:05 2017, comment #4:

committed to tl (r45261), sorry for the delay.

Karl Berry <karl>
Project Administrator
Sun Sep 10 00:13:34 2017, comment #3:

Some additional info of my setup:

TeX Live version: (most recent that is available at Arch Linux repository)

$ tex --version
TeX 3.14159265 (TeX Live 2017/Arch Linux)
kpathsea version 6.2.3
Copyright 2017 D.E. Knuth.

html-mml.4ht: (2014-06-27-08:16)

Jarno Parviainen <jarno_c137>
Sun Sep 10 00:00:05 2017, comment #2:

html-mml.4ht giver error:

! Undefined control sequence.
\a:putHBorder ->\bgroup \ifmathml \mathml:hborder
\fi \HCode {\HBorder }\egr...
l.5 a
bc \\[1ex]

I have very little experience in (tex) programming so cannot figure out where the problem is.

Jarno Parviainen <jarno_c137>
Sat Sep 9 17:10:12 2017, comment #1:

This issue was fixed in the sources, but it seems that it isn't in the TL yet. Please try the attached html-mml.4ht file.

(file #282)

Michal Hoftich <michal_h21>
Project Member
Fri Sep 8 22:16:30 2017, original submission:


\usepackage{tabularx}%If this is commented out then everything works as expected

abc \\[1ex]


Compilation with:

$ make4ht -u -c mwe.cfg mwe.tex


What works: The example above works as expected if tabularx package is not loaded. The line change inside array produces html that looks like this:

<mtr class="vspace" style="font-size:4.30554pt"><mtd></mtd></mtr>

The problem: When tabularx is loaded the line produced by line change inside array produces to this:

<tr class="vspace" style="font-size:4.30554pt"><td>&nbsp;</td></tr>

The mtr and mtd tags have changed to tr and td which are not a valid mathml tags. It produces error when rendered with MahtJax.

Jarno Parviainen <jarno_c137>


Attached Files
file #282:  html-mml.4ht added by michal_h21 (27kB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by michal_h21 (Updated the item)
  • -unavailable- added by jarno_c137 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    2 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Sep 10 02:08:05 2017karlOpen/ClosedOpen=>Closed
    Sat Sep 9 17:10:12 2017michal_h21Attached File-=>Added html-mml.4ht, #282
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray