[tex4ht] [bug #640] After 199 rows, tex4ht do not add closing \hline to table

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Sat Nov 9 07:17:19 CET 2024


URL:
  <https://puszcza.gnu.org.ua/bugs/?640>

                 Summary: After 199 rows, tex4ht do not add closing \hline to
table
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Sat Nov  9 06:17:19 2024
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

screen shots at
https://tex.stackexchange.com/questions/730418/what-is-so-special-about-199-rows-in-tex4ht-after-199-rows-tex4ht-do-not-add-c

-----------------------------------

In TL 2024, I have long table. When there are 199 rows or more, the table
generated by tex4ht loses the closing \hline at the bottom of the table.

Here is screen shot of the end of a 198 rows table

enter image description here

Here is screen shot of the end of a 199 rows table (notice, missing final
hline)

enter image description here

Here is MWE to produce the above

----------------------
\documentclass[12pt]{book}
\usepackage{longtable}
\usepackage{xinttools}

%see
https://tex.stackexchange.com/questions/165126/how-do-i-use-the-ampersand-inside-a-foreach-or-conditional-or-other-group-e
%for loop code below
\newcommand{\nRows}{199} %change this to change number of rows

\begin{document}

\chapter{long tables}
\section{Problems not solved}

\begin{longtable}{|p{0.35in}|p{2.6in}|p{2.2in}|p{.4in}|p{.4in}|}\hline
\# & ODE&  CAS classification& Maple solved? &  Mma solved? \\\hline
 \xintFor* #1 in {\xintSeq {1}{\nRows}}
    \do
    {  A&B&C&D&E \\\hline }
\end{longtable}

\end{document}
-----------------

Command used is

 make4ht -ulm default -a debug index.tex 'mathjax,htm'

TL 2024 on Linux Ubuntu






    _______________________________________________________

Reply to this item at: <https://puszcza.gnu.org.ua/bugs/?640>

_______________________________________________
Message sent via/by Puszcza <https://puszcza.gnu.org.ua/>



More information about the tex4ht mailing list.