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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Sep 22 17:05:34 CEST 2022


Author: michal_h21
Date: 2022-09-22 15:05:34 +0000 (Thu, 22 Sep 2022)
New Revision: 1198

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
Log:
use css grid for enumerate environment

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-09-22 14:58:10 UTC (rev 1197)
+++ trunk/lit/ChangeLog	2022-09-22 15:05:34 UTC (rev 1198)
@@ -1,5 +1,8 @@
 2022-09-22  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-html4.tex (html4.4ht): use CSS grid for description list
+	based enumerate environments.
+
 	* tex4ht-html4.tex (html4.4ht): prevent reseting of list
 	environments that are placed inside multicols environment.
 	https://tex.stackexchange.com/q/659089/2891

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2022-09-22 14:58:10 UTC (rev 1197)
+++ trunk/lit/tex4ht-html4.tex	2022-09-22 15:05:34 UTC (rev 1198)
@@ -2942,12 +2942,13 @@
    {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt  
         class="enumerate">}\bgroup \bf}  
    {\egroup\EndP\HCode{</dt><dd\Hnewline class="enumerate">}|<list par|>} 
-\Css{dd.enumerate {margin-left: 2em;}} 
-\Css{dt.enumerate {float:left;   
-              clear:left;   
-              margin-right:0.5em;   
-              margin-left:0.5em;   
-              text-align:right; }}
+\Css{dl.enumerate {display:grid; grid-template-columns: 3ch 1fr; align-items: top; row-gap:1ch;}}
+% \Css{dd.enumerate {margin-left: 2em;}} 
+% \Css{dt.enumerate {float:left;   
+%               clear:left;   
+%               margin-right:0.5em;   
+%               margin-left:0.5em;   
+%               text-align:right; }}
 >>>
 
 \<description-based enumerate list note\><<<



More information about the tex4ht-commits mailing list.