[tex4ht-commits] [SCM] tex4ht updated: r1565 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Mon Sep 30 11:16:31 CEST 2024
Author: michal_h21
Date: 2024-09-30 09:16:31 +0000 (Mon, 30 Sep 2024)
New Revision: 1565
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
fixed support for colortbl \hline
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2024-09-29 14:56:20 UTC (rev 1564)
+++ trunk/lit/ChangeLog 2024-09-30 09:16:31 UTC (rev 1565)
@@ -1,3 +1,9 @@
+2024-09-30 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (longtable.4ht): fixed support for the Colortbl
+ \hline.
+ https://puszcza.gnu.org.ua/bugs/?636
+
2024-09-27 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-html4.tex (html4-math.4ht),
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2024-09-29 14:56:20 UTC (rev 1564)
+++ trunk/lit/tex4ht-4ht.tex 2024-09-30 09:16:31 UTC (rev 1565)
@@ -10753,13 +10753,32 @@
{\LT at t@bularcr}}
>>>
-\<longtable hline\><<<
+
+
+This code doesn't work well with Colortbl, so we will ignore it.
+\Link[https://puszcza.gnu.org.ua/bugs/?636]{}{}https://puszcza.gnu.org.ua/bugs/?636\EndLink.
+
+\<longtable nohline\><<<
\def\:tempc{%
\o:noalign:{\ifnum0=`}\fi
\penalty\@M
\futurelet\@let at token\LT@@hline}
+>>>
+
+The original code for longtable hline was complex, but it doesn't work
+with the Colortbl package. I've found that the default hline works just
+fine, so we probably don't need to change it at all.
+
+\<longtable hline\><<<
+\def\:tempc{\a:hline}
\HLet\LT at hline\:tempc
+>>>
+
+This code is not used as well.
+
+\<longtable nohline\><<<
\def\:tempc{%
+ \typeout{}
\ifx\@let at token\hline
\global\let\@gtempa\@gobble
\gdef\LT at sep{\penalty-\@medpenalty\vskip\doublerulesep}%
More information about the tex4ht-commits
mailing list.