summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog6
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex5
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht32
3 files changed, 35 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 2788f1da95d..207345d82c1 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex
index 3e23f6ff892..868747488cc 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/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@)}%
>>>
diff --git a/Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht b/Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht
index 823ddab6447..b6eb18c3e74 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht
@@ -1,5 +1,5 @@
-% ooffice-mml.4ht (2020-11-29-14:07), generated from tex4ht-ooffice.tex
-% Copyright 2009-2019 TeX Users Group
+% ooffice-mml.4ht (2021-12-09-13:21), generated from tex4ht-ooffice.tex
+% Copyright 2009-2021 TeX Users Group
% Copyright 2001-2009 Maarten Wisse, James Naughton, Eitan M. Gurari
%
% This work may be distributed and/or modified under the
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2020-11-29-14:07}
+\immediate\write-1{version 2021-12-09-13:21}
\exit:ifnot{Preamble,%
amsmath,%
@@ -99,7 +99,9 @@ tex4ht}
manifest:full-path="\jobname-m\math:obj
/"/>
}%
- \Configure{DOCTYPE}{\HCode{<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd">}}%
+ \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">}}%
\:CheckOption{-xtpipes} \if:Option
\Log:Note{Use the `-xtpipes' command line option to
avoid xtpipes post processing}
@@ -110,7 +112,7 @@ tex4ht}
<!-- \jobname-m\math:obj
\space
by TeX4ht from \jobname.tex line \the\inputlineno\space
- 2020-11-29-14:07\Hnewline
+ 2021-12-09-13:21\Hnewline
(http://www.cse.ohio-state.edu/\string ~gurari/TeX4ht/)
-->\Hnewline
}%
@@ -119,6 +121,7 @@ tex4ht}
%
\Configure{HTML}{}{\noindent}%
\Configure{BODY}{}{}%
+\ht:special{t4ht@)}%
%
\edef\sv:ignore{\if:nopar
\noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
@@ -486,6 +489,8 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{amsmath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -631,8 +636,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
-
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{array}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -756,6 +759,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{rlbabel}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1072,5 +1076,19 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\endinput