[tex4ht-commits] [SCM] tex4ht updated: r1182 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Thu Aug 11 21:21:27 CEST 2022
Author: michal_h21
Date: 2022-08-11 19:21:27 +0000 (Thu, 11 Aug 2022)
New Revision: 1182
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-html5.tex
Log:
fixed support for the figure* environment
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-08-04 17:27:58 UTC (rev 1181)
+++ trunk/lit/ChangeLog 2022-08-11 19:21:27 UTC (rev 1182)
@@ -1,3 +1,9 @@
+2022-08-11 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-html5.tex (html5.4ht): fixed support for the figure*
+ environment.
+ https://tex.stackexchange.com/q/653084/2891
+
2022-08-04 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (latex.4ht): revert to the original definition of
Modified: trunk/lit/tex4ht-html5.tex
===================================================================
--- trunk/lit/tex4ht-html5.tex 2022-08-04 17:27:58 UTC (rev 1181)
+++ trunk/lit/tex4ht-html5.tex 2022-08-11 19:21:27 UTC (rev 1182)
@@ -336,6 +336,14 @@
\:xhtml{\IgnorePar\EndP}\HCode{</figure>}|<try env inline par|>\par}
{}{}
+\ConfigureEnv{figure*}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+ \bgroup \Configure{float}{\ShowPar}{}{}%
+ }
+ {\egroup
+ \:xhtml{\IgnorePar\EndP}\HCode{</figure>}|<try env inline par|>\par}
+ {}{}
+
\Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
\Css{figure.figure {text-align:center;}}
More information about the tex4ht-commits
mailing list.