[tex4ht-commits] [SCM] tex4ht updated: r841 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Mon Nov 9 23:25:21 CET 2020
Author: michal_h21
Date: 2020-11-10 00:25:21 +0200 (Tue, 10 Nov 2020)
New Revision: 841
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-html4.tex
Log:
fixed paragraph handling after PicDisplay
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2020-11-08 22:10:29 UTC (rev 840)
+++ trunk/lit/ChangeLog 2020-11-09 22:25:21 UTC (rev 841)
@@ -1,3 +1,9 @@
+2020-11-09 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-html4 (html4-math.4ht): fixed paragraph opening after \PicDisplay.
+ Also don't use the obsolete <center> element.
+ https://tex.stackexchange.com/a/570077/2891
+
2020-11-08 Karl Berry <karl at freefriends.org>
* Makefile (diff_files): also filter-out ht.{unix,bat}.
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2020-11-08 22:10:29 UTC (rev 840)
+++ trunk/lit/tex4ht-html4.tex 2020-11-09 22:25:21 UTC (rev 841)
@@ -21356,8 +21356,9 @@
\let\MathPar|=\empty
\Configure{PicDisplay}
{\edef\MathPar{\ifvmode par-\fi}\IgnorePar\endgraf\EndP
- \HCode{<center class="\MathPar math-display" \a:LRdir >}}
- {\HCode{</center>}} {} {class="\MathPar math-display" }
+ \HCode{<div class="\MathPar math-display" \a:LRdir >}}
+ {\HCode{</div>}\par\ShowPar} {} {class="\MathPar math-display" }
+\Css{div.par-math-display, div.math-display{text-align:center;}}
>>>
% \Css{img.mathdisplay, div.displaymath, img.par-mathdisplay,
More information about the tex4ht-commits
mailing list.