[tex4ht] [bug #368] Tabularx package makes \\[...] to produce faulty code inside array
Jarno Parviainen
jarno.parviainen at gmail.com
Sat Sep 9 00:20:02 CEST 2017
URL:
<http://puszcza.gnu.org.ua/bugs/?368>
Summary: Tabularx package makes \\[...] to produce faulty
code inside array
Project: tex4ht
Submitted by: jarno_c137
Submitted on: Sat 09 Sep 2017 01:16:30 AM 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:
mwe.tex:
---
\documentclass{article}
\usepackage{tabularx}%If this is commented out then everything works as
expected
\begin{document}
\[\begin{array}{c}
abc \\[1ex]
def
\end{array}\]
\end{document}
---
mwe.cfg:
---
\Preamble{xhtml,mathml-,html5}
\begin{document}
\EndPreamble
---
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> </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.
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?368>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/
More information about the tex4ht
mailing list