summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-11-04 21:12:19 +0000
committerKarl Berry <karl@freefriends.org>2021-11-04 21:12:19 +0000
commita32e446cfab75699d279edc1c7fec7ba6a2c7cdc (patch)
tree58dc60cdace11c667afb1d879b5ee258fd5c1722 /Master/texmf-dist/source/generic
parentbe1ce1d52289cd50b0dcfdbbdcbd226aa825cecc (diff)
fix for paragraphs after ams proof, tex4ht r1008
git-svn-id: svn://tug.org/texlive/trunk@60952 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog6
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex14
2 files changed, 14 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index c12cbded3e6..93917213431 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/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/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}{}{}
>>>