texlive[64099] Master/texmf-dist: figure* fix in html5, tex4ht r1182

commits+karl at tug.org commits+karl at tug.org
Thu Aug 11 23:19:34 CEST 2022


Revision: 64099
          http://tug.org/svn/texlive?view=revision&revision=64099
Author:   karl
Date:     2022-08-11 23:19:34 +0200 (Thu, 11 Aug 2022)
Log Message:
-----------
figure* fix in html5, tex4ht r1182

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1182

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/html5.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-08-11 20:45:58 UTC (rev 64098)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-08-11 21:19:34 UTC (rev 64099)
@@ -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/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex	2022-08-11 20:45:58 UTC (rev 64098)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex	2022-08-11 21:19:34 UTC (rev 64099)
@@ -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 @@
    \: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;}}
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html5.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html5.4ht	2022-08-11 20:45:58 UTC (rev 64098)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html5.4ht	2022-08-11 21:19:34 UTC (rev 64099)
@@ -1,4 +1,4 @@
-% html5.4ht (2022-01-23-07:51), generated from tex4ht-html5.tex
+% html5.4ht (2022-08-11-14:16), generated from tex4ht-html5.tex
 % Copyright 2016-2022 TeX Users Group
 %
 % This work may be distributed and/or modified under the
@@ -16,7 +16,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-01-23-07:51}
+\immediate\write-1{version 2022-08-11-14:16}
 
 \exit:ifnot{amsart,% 
 amsbook,% 
@@ -218,6 +218,15 @@
 \par}
    {}{}
 
+\ConfigureEnv{figure*}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
+
 \Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
 \Css{figure.figure {text-align:center;}}
 
@@ -256,6 +265,15 @@
 \par}
    {}{}
 
+\ConfigureEnv{figure*}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
+
 \Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
 \Css{figure.figure {text-align:center;}}
 
@@ -301,6 +319,15 @@
 \par}
    {}{}
 
+\ConfigureEnv{figure*}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
+
 \Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
 \Css{figure.figure {text-align:center;}}
 
@@ -360,6 +387,15 @@
 \par}
    {}{}
 
+\ConfigureEnv{figure*}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
+
 \Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
 \Css{figure.figure {text-align:center;}}
 
@@ -380,6 +416,7 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsbook}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -398,6 +435,15 @@
 \par}
    {}{}
 
+\ConfigureEnv{figure*}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
+
 \Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
 \Css{figure.figure {text-align:center;}}
 
@@ -436,6 +482,15 @@
 \par}
    {}{}
 
+\ConfigureEnv{figure*}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
+
 \Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
 \Css{figure.figure {text-align:center;}}
 
@@ -564,6 +619,9 @@
 
 
 
+
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{memoir}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -582,6 +640,15 @@
 \par}
    {}{}
 
+\ConfigureEnv{figure*}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
+
 \Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
 \Css{figure.figure {text-align:center;}}
 
@@ -692,6 +759,15 @@
 \par}
    {}{}
 
+\ConfigureEnv{figure*}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
+
 \Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
 \Css{figure.figure {text-align:center;}}
 
@@ -712,7 +788,6 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{scrartcl}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -731,6 +806,15 @@
 \par}
    {}{}
 
+\ConfigureEnv{figure*}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
+
 \Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
 \Css{figure.figure {text-align:center;}}
 
@@ -751,6 +835,7 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{scrreprt}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -769,6 +854,15 @@
 \par}
    {}{}
 
+\ConfigureEnv{figure*}
+{\:xhtml{\IgnorePar\EndP}\HCode{<figure class="figure">\Hnewline}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+   \:xhtml{\IgnorePar\EndP}\HCode{</figure>}\ShowPar
+\par}
+   {}{}
+
 \Css{figure.float, div.figure {margin-left: auto; margin-right: auto;}}
 \Css{figure.figure {text-align:center;}}
 
@@ -838,6 +932,13 @@
 
 
 
+
+
+
+
+
+
+
 
 
 



More information about the tex-live-commits mailing list.