From a32e446cfab75699d279edc1c7fec7ba6a2c7cdc Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 4 Nov 2021 21:12:19 +0000
Subject: fix for paragraphs after ams proof, tex4ht r1008

git-svn-id: svn://tug.org/texlive/trunk@60952 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

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

diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
index 4e604c5efdc..332e0022ff1 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1000 2021-10-20 11:32:53Z michal_h21 $
+% $Id: tex4ht-html4.tex 1008 2021-11-04 20:14:13Z michal_h21 $
 % Compile 4 times: latex tex4ht-html4
 % Copy html4.4ht into the work directory before all but the last compilation.
 %
@@ -9043,11 +9043,13 @@ The hbox is for avoiding the start of a new paragraph, if in vmode.
 
 \<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}{}{}
 >>>
 
 
-- 
cgit v1.2.3

