texlive[61262] Master/texmf-dist: spurious space in odt, tex4ht r1026

commits+karl at tug.org commits+karl at tug.org
Thu Dec 9 22:35:39 CET 2021


Revision: 61262
          http://tug.org/svn/texlive?view=revision&revision=61262
Author:   karl
Date:     2021-12-09 22:35:39 +0100 (Thu, 09 Dec 2021)
Log Message:
-----------
spurious space in odt, tex4ht r1026

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1026

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2021-12-09 21:05:32 UTC (rev 61261)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2021-12-09 21:35:39 UTC (rev 61262)
@@ -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/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex	2021-12-09 21:05:32 UTC (rev 61261)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-ooffice.tex	2021-12-09 21:35:39 UTC (rev 61262)
@@ -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 @@
 
 
 \<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@)}%
 >>>
 
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht	2021-12-09 21:05:32 UTC (rev 61261)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht	2021-12-09 21:35:39 UTC (rev 61262)
@@ -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 @@
     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 @@
 <!-- \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 @@
 %
 \Configure{HTML}{}{\noindent}%
 \Configure{BODY}{}{}%
+\ht:special{t4ht@)}%
 %
     \edef\sv:ignore{\if:nopar
     \noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
@@ -486,6 +489,8 @@
 
 
 
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsmath}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -631,8 +636,6 @@
 
 
 
-
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{array}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -756,6 +759,7 @@
 
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{rlbabel}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -825,6 +829,20 @@
 
 
 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 



More information about the tex-live-commits mailing list.