[tex4ht-commits] [SCM] tex4ht updated: r1398 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Oct 25 22:40:51 CEST 2023


Author: michal_h21
Date: 2023-10-25 20:40:50 +0000 (Wed, 25 Oct 2023)
New Revision: 1398

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
   trunk/lit/tex4ht-html4.tex
Log:
fixed row id attributes in tabularray

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-10-24 19:39:36 UTC (rev 1397)
+++ trunk/lit/ChangeLog	2023-10-25 20:40:50 UTC (rev 1398)
@@ -1,3 +1,8 @@
+2023-10-25  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (tabularray.4ht),
+	* tex4ht-html4.tex (html4.4ht): fixed row id attributes.
+
 2023-10-24  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (latex.4ht): make the \@wrindex command robust.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2023-10-24 19:39:36 UTC (rev 1397)
+++ trunk/lit/tex4ht-4ht.tex	2023-10-25 20:40:50 UTC (rev 1398)
@@ -11121,7 +11121,7 @@
 }
 \HLet\__tblr_environ_code:nnnn\:tempa
 
-\long\def\:tempa#1{\xdef\HRow{\@arabic\c at rownum}\c:tabularray\o:__tblr_build_row:N:{#1}\d:tabularray}
+\long\def\:tempa#1{\int_set:Nn \c at rownum {#1}\xdef\HRow{\@arabic\c at rownum}\c:tabularray\o:__tblr_build_row:N:{#1}\d:tabularray}
 \HLet\__tblr_build_row:N\:tempa
 \ExplSyntaxOff
 >>>

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2023-10-24 19:39:36 UTC (rev 1397)
+++ trunk/lit/tex4ht-html4.tex	2023-10-25 20:40:50 UTC (rev 1398)
@@ -2249,7 +2249,7 @@
   \gHAdvance\Next:TableNo by 1 \global\let\TableNo=\Next:TableNo%
   \HCode{<table class="tabularray \@currenvir" id="tbl-\TableNo">}
 }{\ifvmode\IgnorePar\fi\EndP\HCode{</table>}}
-{\HCode{<tr id="row-\TableNo\HRow-">}}{\HCode{</tr>}}
+{\HCode{<tr id="row-\TableNo-\HRow-">}}{\HCode{</tr>}}
 {\HCode{<td id="cell\TableNo-\HRow-\HCol" style="\CellStyle" \CellAttributes>}}{\HCode{</td>}}
 {\Configure{tabularrayattributes}{rowspan="\HRowspan"}}
 {\Configure{tabularrayattributes}{colspan="\HMultispan"}}{}



More information about the tex4ht-commits mailing list.