[tex4ht-commits] [SCM] tex4ht updated: r1026 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Dec 9 15:22:09 CET 2021


Author: michal_h21
Date: 2021-12-09 14:22:08 +0000 (Thu, 09 Dec 2021)
New Revision: 1026

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-ooffice.tex
Log:
Remove spurious space after inline math in ODT output

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-12-08 13:40:02 UTC (rev 1025)
+++ trunk/lit/ChangeLog	2021-12-09 14:22:08 UTC (rev 1026)
@@ -1,3 +1,9 @@
+2021-12-09  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-ooffice.tex (ooffice-mml.4ht): remove spurious space after inline
+	math.
+	https://github.com/michal-h21/make4ht/issues/55
+
 2021-12-08  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (hyperref-hooks.4ht): reintroduced loading of Nameref due

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2021-12-08 13:40:02 UTC (rev 1025)
+++ trunk/lit/tex4ht-ooffice.tex	2021-12-09 14:22:08 UTC (rev 1026)
@@ -927,10 +927,13 @@
 
 
 \<config mathml object file\><<<
+\ht:special{t4ht@(}% For some strange reason, spurious space is produced
+%                    for inline math. We use TeX4ht specials to remove it.
 \Configure{DOCTYPE}{\HCode{<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">}}%
 |<oo math xtpipes|>%
 \Configure{HTML}{}{\noindent}%
 \Configure{BODY}{}{}%
+\ht:special{t4ht@)}%
 >>>
 
 



More information about the tex4ht-commits mailing list.