summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/generic')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog6
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex10
2 files changed, 15 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 60905beb60f..cea3d34c63a 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,9 @@
+2022-08-11 Michal Hoftich <michal.h21@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@gmail.com>
* tex4ht-4ht.tex (latex.4ht): revert to the original definition of
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex
index 72dc22a7530..761e9968fd6 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html5.tex 1062 2022-01-23 15:51:43Z karl $
+% $Id: tex4ht-html5.tex 1182 2022-08-11 19:21:27Z michal_h21 $
% compile 3 times: latex tex4ht-moz
% or xhlatex tex4ht-moz "html,3,sections+"
%
@@ -336,6 +336,14 @@ Configure HTML5 figures. Floats are converted as captions too.
\: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;}}