From ddd88dc1791891f9b55e0452e72f3f9f8654b479 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 26 Feb 2020 22:50:59 +0000 Subject: try an enspace for \, tex4ht r668 git-svn-id: svn://tug.org/texlive/trunk@53934 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/html4.4ht | 10 +++++----- Master/texmf-dist/tex/generic/tex4ht/latex.4ht | 8 +++++--- Master/texmf-dist/tex/generic/tex4ht/mathml.4ht | 18 +++++++++++++----- Master/texmf-dist/tex/generic/tex4ht/plain.4ht | 7 ++++--- 4 files changed, 27 insertions(+), 16 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht index 9b2e1cc4d55..c052c05c5e8 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht @@ -1,5 +1,5 @@ -% html4.4ht (2020-02-14-14:21), generated from tex4ht-html4.tex -% Copyright 2009-2019 TeX Users Group +% html4.4ht (2020-02-26-14:46), generated from tex4ht-html4.tex +% Copyright 2009-2020 TeX Users Group % Copyright 1997-2009 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-02-14-14:21} +\immediate\write-1{version 2020-02-26-14:46} \exit:ifnot{8859-6,% CJK,% @@ -1529,7 +1529,7 @@ switches of tex4ht.c) {\HCode{}} {\:xhtml{\EndP}\IgnorePar\HCode{}\ShowPar\par} \Css{div.newtheorem { margin-bottom: 2em; margin-top: 2em;}} -\Configure{ }{\:nbsp} +\Configure{ }{\:ensp} \def\end:TTT{\ifvmode\IgnorePar\fi \EndP\HCode{}} \:CheckOption{new-accents} \if:Option \else @@ -20032,7 +20032,7 @@ Y{0178}\i{00EF}% \fi \let\^^_\v -\Configure{ }{\:nbsp} +\Configure{ }{\:ensp} \def\end:TTT{\ifvmode\IgnorePar\fi \EndP\HCode{}} \:CheckOption{new-accents} \if:Option \else diff --git a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht index f917cd7f8ae..a1b4bf6c129 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht @@ -1,6 +1,6 @@ -% latex.4ht (2019-08-26-14:22), generated from tex4ht-4ht.tex +% latex.4ht (2020-02-26-14:25), generated from tex4ht-4ht.tex % Copyright 1997-2009 Eitan M. Gurari -% Copyright 2009-2019 TeX Users Group +% Copyright 2009-2020 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2019-08-26-14:22} +\immediate\write-1{version 2020-02-26-14:25} \ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi @@ -1983,8 +1983,10 @@ $\vcenter \NewConfigure{ }[1]{\def\:temp{#1}% \ifx \:temp\empty \let\a:sp\sp:c\else\def\a:sp{#1}\fi} \def\:nbsp{\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x} +\def\:ensp{\leavevmode\special{t4ht@+\string&{35}x2002{59}}x} \Configure{ }{\:nbsp} +\let\nobreakspace\:nbsp diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht index 8fcc91d8e19..899c60f188d 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht @@ -1,5 +1,5 @@ -% mathml.4ht (2019-12-30-14:10), generated from tex4ht-mathml.tex -% Copyright 2009-2019 TeX Users Group +% mathml.4ht (2020-02-26-14:46), generated from tex4ht-mathml.tex +% Copyright 2009-2020 TeX Users Group % Copyright 1999-2009 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 2019-12-30-14:10} +\immediate\write-1{version 2020-02-26-14:46} \exit:ifnot{Preamble,% accents,% @@ -823,7 +823,7 @@ accent="true">&\#x0332;}% \Configure{ } {\ifmathml \ifmtext \space \else\Tg<\a:mathml mspace width="0.33em" \mml:class="nbsp" />\fi - \else \:nbsp\fi} + \else \:ensp\fi} % redefine macro from unicode.4ht to produce better accents \def\unicode:mathop#1{\PauseMathClass\HCode{<\a:mathml mo accent="true">}#1\HCode{}\EndPauseMathClass} @@ -1300,6 +1300,10 @@ accent="true">&\#x0332;}% \else\ifmathml \Tg<\a:mathml mspace />\else \leavevmode\special{t4ht@+\string&{35}x00A0{59}}x% \fi\fi} +\def\:ensp{\ifmtext \leavevmode\special{t4ht@+\string&{35}x2002{59}}x% +\else\ifmathml + \Tg<\a:mathml mspace />\else \leavevmode\special{t4ht@+\string&{35}x2002{59}}x% +\fi\fi} \Configure{cases} {}{} {\Tg<\a:mathml mtable>}{\Tg} {\Tg<\a:mathml mtr>}{\Tg} @@ -2663,7 +2667,7 @@ accent="true">&\#x0332;}% \Configure{ } {\ifmathml \ifmtext \space \else\Tg<\a:mathml mspace width="0.33em" \mml:class="nbsp" />\fi - \else \:nbsp\fi} + \else \:ensp\fi} % redefine macro from unicode.4ht to produce better accents \def\unicode:mathop#1{\PauseMathClass\HCode{<\a:mathml mo accent="true">}#1\HCode{}\EndPauseMathClass} @@ -3140,6 +3144,10 @@ accent="true">&\#x0332;}% \else\ifmathml \Tg<\a:mathml mspace />\else \leavevmode\special{t4ht@+\string&{35}x00A0{59}}x% \fi\fi} +\def\:ensp{\ifmtext \leavevmode\special{t4ht@+\string&{35}x2002{59}}x% +\else\ifmathml + \Tg<\a:mathml mspace />\else \leavevmode\special{t4ht@+\string&{35}x2002{59}}x% +\fi\fi} \Configure{cases} {}{} {\Tg<\a:mathml mtable>}{\Tg} {\Tg<\a:mathml mtr>}{\Tg} diff --git a/Master/texmf-dist/tex/generic/tex4ht/plain.4ht b/Master/texmf-dist/tex/generic/tex4ht/plain.4ht index 6fef50d988b..ccc1e234e6e 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/plain.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/plain.4ht @@ -1,6 +1,6 @@ -% plain.4ht (2018-11-06-15:55), generated from tex4ht-4ht.tex +% plain.4ht (2020-02-26-14:25), generated from tex4ht-4ht.tex % Copyright 1997-2009 Eitan M. Gurari -% Copyright 2009-2018 TeX Users Group +% Copyright 2009-2020 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2018-11-06-15:55} +\immediate\write-1{version 2020-02-26-14:25} \ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi @@ -263,6 +263,7 @@ \NewConfigure{ }[1]{\def\:temp{#1}% \ifx \:temp\empty \let\a:sp\sp:c\else\def\a:sp{#1}\fi} \def\:nbsp{\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x} +\def\:ensp{\leavevmode\special{t4ht@+\string&{35}x2002{59}}x} \Configure{ }{\:nbsp} % \expandafter\let\csname beginsection\endcsname\relax -- cgit v1.2.3