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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Feb 4 15:15:32 CET 2022


Author: michal_h21
Date: 2022-02-04 14:15:32 +0000 (Fri, 04 Feb 2022)
New Revision: 1072

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
Log:
use CSS grid for enumitem lists

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-02-03 14:27:43 UTC (rev 1071)
+++ trunk/lit/ChangeLog	2022-02-04 14:15:32 UTC (rev 1072)
@@ -1,3 +1,8 @@
+2022-02-04  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html4.tex (html4.4ht): use CSS grid for Enumitem lists.
+	https://tex.stackexchange.com/a/632681/2891
+
 2022-02-03  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4.4ht): fixed support for vertical rules in

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2022-02-03 14:27:43 UTC (rev 1071)
+++ trunk/lit/tex4ht-html4.tex	2022-02-04 14:15:32 UTC (rev 1072)
@@ -16475,8 +16475,7 @@
    {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
         class="enumerate-enumitem">}\bgroup \bf}
    {\egroup\EndP\HCode{</dt><dd\Hnewline class="enumerate-enumitem">}}
-\Css{dt.enumerate-enumitem{float:left; clear:left;
-                           margin-left:1em; margin-right:1em;}}
+\Css{dl.enumerate-enumitem{display:grid; grid-template-columns: 3ch 1fr;}}
 >>>
 
 



More information about the tex4ht-commits mailing list.