summaryrefslogtreecommitdiff
path: root/support/TeX4ht
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-11-06 03:01:01 +0000
committerNorbert Preining <norbert@preining.info>2021-11-06 03:01:01 +0000
commit2ea2cee6498139387ba3c0815d105b4344c0fb50 (patch)
treeb72cf54311811e5e1bc41b19179b9a26623f73b9 /support/TeX4ht
parentc628b1aa9cf528de739c1de45acf3739561619ed (diff)
CTAN sync 202111060300
Diffstat (limited to 'support/TeX4ht')
-rw-r--r--support/TeX4ht/source/ChangeLog6
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex14
2 files changed, 14 insertions, 6 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index c12cbded3e..9391721343 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,9 @@
+2021-11-04 Michal Hoftich <michal.h21@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@gmail.com>
* tex4ht-4ht.tex (biblatex-hooks.4ht): use LaTeX package hooks to load
diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index 4e604c5efd..332e0022ff 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/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}{}{}
>>>