summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex10
1 files changed, 9 insertions, 1 deletions
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;}}