[tex4ht-commits] [SCM] tex4ht updated: r1008 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Nov 4 21:14:13 CET 2021


Author: michal_h21
Date: 2021-11-04 20:14:13 +0000 (Thu, 04 Nov 2021)
New Revision: 1008

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
Log:
fix for amsart proof paragraphs

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-10-28 11:48:10 UTC (rev 1007)
+++ trunk/lit/ChangeLog	2021-11-04 20:14:13 UTC (rev 1008)
@@ -1,3 +1,9 @@
+2021-11-04  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html4.tex (html4.4ht): fix for paragraphs after AMS classes proof
+	environment.
+	https://tex.stackexchange.com/a/621370/2891
+
 2021-10-28  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (biblatex-hooks.4ht): use LaTeX package hooks to load

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2021-10-28 11:48:10 UTC (rev 1007)
+++ trunk/lit/tex4ht-html4.tex	2021-11-04 20:14:13 UTC (rev 1008)
@@ -9043,11 +9043,13 @@
 
 \<shared ams thm/cls\><<<
 \Configure{proof}
-   {\ifvmode \IgnorePar \fi \EndP
-       \HCode{<div class="proof">}\par\ShowPar
-       \HCode{<span class="head">}\IgnorePar}
-   {\HCode{</span>}\ShowPar}
-   {\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par}
+   {\ifvmode\IgnorePar\fi\EndP\HCode{<div class="proof">}\par\ShowPar
+       \HCode{<span class="head">}\HtmlParOff}
+   {\HCode{</span>}\HtmlParOn}
+   {\ifvmode\IgnorePar\fi\EndP\HCode{</div>}\par}
+% it seems that paragraphs are not started after the proof environment
+% this configuration helps
+\ConfigureEnv{proof}{}{\par\ShowPar}{}{}
 >>>
 
 



More information about the tex4ht-commits mailing list.