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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sat Jun 12 11:15:23 CEST 2021


Author: michal_h21
Date: 2021-06-12 09:15:22 +0000 (Sat, 12 Jun 2021)
New Revision: 946

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
Log:
fixed vertical spaces in \item

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-06-06 16:18:27 UTC (rev 945)
+++ trunk/lit/ChangeLog	2021-06-12 09:15:22 UTC (rev 946)
@@ -1,3 +1,9 @@
+2021-06-12  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html4.tex (html4.4ht): remove vertical space in \item items that
+	contain just one paragraph.
+	https://tug.org/pipermail/tex4ht/2021q2/002997.html
+
 2021-06-06  Karl Berry  <karl at freefriends.org>
 
 	* tex4ht-4ht.tex (moreverb.4ht, verbatim.4ht, fancyvrb.4ht,

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2021-06-06 16:18:27 UTC (rev 945)
+++ trunk/lit/tex4ht-html4.tex	2021-06-12 09:15:22 UTC (rev 946)
@@ -2805,7 +2805,10 @@
 \<configure html4 latex\><<<
 \Css{li p.indent { text-indent: 0em }}
 \Css{li p:first-child{ margin-top:0em; }}
+\Css{li p:first-child{ margin-bottom; }}
 \Css{li p:last-child, li div:last-child { margin-bottom:0.5em; }}
+% fix for <li> with only one paragraph
+\Css{li p:first-child{ margin-bottom:0; }}
 \Css{li p\string ~ul:last-child, 
      li p\string ~ol:last-child{ margin-bottom:0.5em; }}
 >>>



More information about the tex4ht-commits mailing list.