summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog6
-rw-r--r--support/TeX4ht/source/tex4ht-ooffice.tex5
2 files changed, 10 insertions, 1 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 2788f1da95..207345d82c 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,9 @@
+2021-12-09 Michal Hoftich <michal.h21@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@gmail.com>
* tex4ht-4ht.tex (hyperref-hooks.4ht): reintroduced loading of Nameref due
diff --git a/support/TeX4ht/source/tex4ht-ooffice.tex b/support/TeX4ht/source/tex4ht-ooffice.tex
index 3e23f6ff89..868747488c 100644
--- a/support/TeX4ht/source/tex4ht-ooffice.tex
+++ b/support/TeX4ht/source/tex4ht-ooffice.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-ooffice.tex 999 2021-10-20 07:25:51Z michal_h21 $
+% $Id: tex4ht-ooffice.tex 1026 2021-12-09 14:22:08Z michal_h21 $
% compile 3 times: latex tex4ht-ooffice
% htlatex tex4ht-ooffice "xhtml,4,sections+"
%
@@ -927,10 +927,13 @@ TeX4ht from \jobname.tex,
\<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@)}%
>>>