diff options
author | Karl Berry <karl@freefriends.org> | 2021-11-04 21:12:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-11-04 21:12:19 +0000 |
commit | a32e446cfab75699d279edc1c7fec7ba6a2c7cdc (patch) | |
tree | 58dc60cdace11c667afb1d879b5ee258fd5c1722 /Master | |
parent | be1ce1d52289cd50b0dcfdbbdcbd226aa825cecc (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')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 6 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | 14 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/html4.4ht | 52 |
3 files changed, 44 insertions, 28 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}{}{} >>> diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht index 128af275b04..622b7303f26 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht @@ -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 @@ height="\expandafter\int:pt\the\Gin@req@height!*?: " \ifx \deferred@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 @@ s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}% \ifx \deferred@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 @@ s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}% \ifx \deferred@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 @@ s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \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}{}{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |