From da86c1db3f8715ae10effa0db947972adbe82624 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 11 Aug 2022 21:19:34 +0000
Subject: figure* fix in html5, tex4ht r1182

git-svn-id: svn://tug.org/texlive/trunk@64099 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

(limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex')

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;}}
 
-- 
cgit v1.2.3

