[tex4ht] [bug #614] tex4ht in TL 2023 generates funny characters in table

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Wed Nov 1 05:16:14 CET 2023


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

                 Summary: tex4ht in TL 2023 generates funny characters in
table
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Wed Nov  1 04:16:14 2023
                Category: None
                Priority: 5 - Normal
                Severity: 7 - Important
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

reference and screen shots at 

https://tex.stackexchange.com/questions/700090/why-tex4ht-in-tl-2023-generates-funny-characters-in-table-when-using-beginsmal

I noticed tex4ht generates funny characters now in table when surrounding
table with \begin{small}...\end{small} and at same time using p-width as
option. This happens only in TL 2023. Here is MWE and command to reproduce it

----------------------
\documentclass[12pt]{book}
\begin{document}
\begin{small}
\begin{tabular}[c]{|p{0.9in}|l|c c c c c c c c|}\hline
1& Optimal&Rubi&MMA&Maple&Maxima&Fricas&Sympy&Giac&Mupad\\ \hline
\end{tabular}
\end{small}
\end{document}
----------------

Compiled using

make4ht  -ulm default -a debug foo.tex "mathjax,htm,nostyle,p-width"

Gives

enter image description here

During compilation it says

----------------------
INFO]    make4ht-lib: parse_lg process file: foo.htm
[WARNING] domfilter: DOM parsing of foo.htm failed:
[WARNING] domfilter:
...ive/2023/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced
Tag (/span) [char=1256]
-----------------------

Two ways to fix this, Either remove the p-width option, or remove the
\begin{small}....\end{small}. So this MWE

-------------------------
\documentclass[12pt]{book}
\begin{document}
\begin{tabular}[c]{|p{0.9in}|l|c c c c c c c c|}\hline
1& Optimal&Rubi&MMA&Maple&Maxima&Fricas&Sympy&Giac&Mupad\\ \hline
\end{tabular}
\end{document}
--------------------------
And using same exact command to compile gives

enter image description here

The above happens only in TL 2023. I tested in under TL 2022 and it works OK
in both cases.

Why does this happen? I use p-width all the time, here is reference and this
is first time I see this problem. Btw, replacing \begin{small}...\end{small}
with \small ....\normalsize does not fix the problem. So this MWE still gives
same problem on TL 2023

------------------
\documentclass[12pt]{book}
\begin{document}
\small 
\begin{tabular}[c]{|p{0.9in}|l|c c c c c c c c|}\hline
1& Optimal&Rubi&MMA&Maple&Maxima&Fricas&Sympy&Giac&Mupad\\ \hline
\end{tabular}
\normalsize
\end{document}
-------------------







    _______________________________________________________

Reply to this item at:

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

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



More information about the tex4ht mailing list.