From ef33bad97037fc5873b5878ca26d0c7c542cae88 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 9 Dec 2021 21:35:39 +0000 Subject: spurious space in odt, tex4ht r1026 git-svn-id: svn://tug.org/texlive/trunk@61262 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 6 ++++ .../source/generic/tex4ht/tex4ht-ooffice.tex | 5 +++- .../texmf-dist/tex/generic/tex4ht/ooffice-mml.4ht | 32 +++++++++++++++++----- 3 files changed, 35 insertions(+), 8 deletions(-) (limited to 'Master') 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 + + * 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 * 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, \<<< +\ht:special{t4ht@(}% For some strange reason, spurious space is produced +% for inline math. We use TeX4ht specials to remove it. \Configure{DOCTYPE}{\HCode{}}% |% \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{}}% + \ht:special{t4ht@(}% For some strange reason, spurious space is produced +% for inline math. We use TeX4ht specials to remove it. +\Configure{DOCTYPE}{\HCode{}}% \:CheckOption{-xtpipes} \if:Option \Log:Note{Use the `-xtpipes' command line option to avoid xtpipes post processing} @@ -110,7 +112,7 @@ 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}% @@ -483,6 +486,8 @@ accent="true">&\#x0332;}% + + @@ -628,8 +633,6 @@ accent="true">&\#x0332;}% - - @@ -754,6 +757,7 @@ accent="true">&\#x0332;}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1057,6 +1061,20 @@ accent="true">&\#x0332;}% + + + + + + + + + + + + + + -- cgit v1.2.3