bugtex4ht - Bugs: bug #614, tex4ht in TL 2023 generates funny...

 
 
Show feedback again

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

bug #614: tex4ht in TL 2023 generates funny characters in table

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Wed Nov 1 04:16:14 2023  
 
Category: NonePriority: 5 - Normal
Severity: 7 - ImportantStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed Nov 1 11:15:49 2023, comment #1:

Hi Nasser,

thanks for the report. I've fixed this issue in the sources and posted an explanation to TeX.sx.

Michal Hoftich <michal_h21>
Project Member
Wed Nov 1 04:16:14 2023, original submission:

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}
-------------------

Nasser M. Abbasi <nma123>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by nma123 (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):

     

     

    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Nov 2 14:20:03 2023michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray