texlive[60952] Master/texmf-dist: fix for paragraphs after ams proof,
commits+karl at tug.org
commits+karl at tug.org
Thu Nov 4 22:12:19 CET 2021
Revision: 60952
http://tug.org/svn/texlive?view=revision&revision=60952
Author: karl
Date: 2021-11-04 22:12:19 +0100 (Thu, 04 Nov 2021)
Log Message:
-----------
fix for paragraphs after ams proof, tex4ht r1008
Revision Links:
--------------
http://tug.org/svn/texlive?view=revision&revision=1008
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2021-11-04 20:42:24 UTC (rev 60951)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2021-11-04 21:12:19 UTC (rev 60952)
@@ -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/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex 2021-11-04 20:42:24 UTC (rev 60951)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex 2021-11-04 21:12:19 UTC (rev 60952)
@@ -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 @@
\<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}{}{}
>>>
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2021-11-04 20:42:24 UTC (rev 60951)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2021-11-04 21:12:19 UTC (rev 60952)
@@ -1,4 +1,4 @@
-% html4.4ht (2021-10-20-14:28), generated from tex4ht-html4.tex
+% html4.4ht (2021-11-04-14:09), generated from tex4ht-html4.tex
% Copyright 2009-2021 TeX Users Group
% Copyright 1997-2009 Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2021-10-20-14:28}
+\immediate\write-1{version 2021-11-04-14:09}
\exit:ifnot{8859-6,%
CJK,%
@@ -11795,11 +11795,13 @@
\ifx \deferred at thm@head\:UnDef\else
\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}{}{}
\Configure{qed}
{\HCode{<span class="qed">}} {\HCode{</span>}}
@@ -14371,11 +14373,13 @@
\ifx \deferred at thm@head\:UnDef\else
\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}{}{}
\Configure{qed}
{\HCode{<span class="qed">}} {\HCode{</span>}}
@@ -16996,11 +17000,13 @@
\ifx \deferred at thm@head\:UnDef\else
\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}{}{}
\Configure{qed}
{\HCode{<span class="qed">}} {\HCode{</span>}}
@@ -19326,11 +19332,13 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureEnv{proof}{\par\leavevmode}{\par\ShowPar}{}{}
\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 tex-live-commits
mailing list.