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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sun Jun 13 10:57:21 CEST 2021


Author: michal_h21
Date: 2021-06-13 08:57:21 +0000 (Sun, 13 Jun 2021)
New Revision: 949

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html5.tex
Log:
add vertical space between image and caption

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-06-13 08:51:16 UTC (rev 948)
+++ trunk/lit/ChangeLog	2021-06-13 08:57:21 UTC (rev 949)
@@ -3,6 +3,8 @@
 	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): protect more commands from
 	expansion in movable arguments.
 	https://tex.stackexchange.com/a/601062/2891
+	* tex4ht-html5.tex (html5.4ht): add vertical space between image and
+	caption.
 
 2021-06-12  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-html5.tex
===================================================================
--- trunk/lit/tex4ht-html5.tex	2021-06-13 08:51:16 UTC (rev 948)
+++ trunk/lit/tex4ht-html5.tex	2021-06-13 08:57:21 UTC (rev 949)
@@ -349,6 +349,7 @@
 \Css{figcaption.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
                   text-align:center;}}
 \Css{figcaption.caption span.id{font-weight: bold; white-space: nowrap; }}
+\Css{p + figcaption, img + figcaption{margin-top: 1em;}}
 >>>
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.