From 74f6f70d419882bab88db62a4e5b2fb585b3e966 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 26 Aug 2019 21:35:45 +0000 Subject: math space command support, tex4ht r594 git-svn-id: svn://tug.org/texlive/trunk@51965 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/latex.4ht | 14 +++++-- Master/texmf-dist/tex/generic/tex4ht/mathml.4ht | 55 ++++++++++++++++++++----- 2 files changed, 56 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/tex/generic') diff --git a/Master/texmf-dist/tex/generic/tex4ht/latex.4ht b/Master/texmf-dist/tex/generic/tex4ht/latex.4ht index 52e613ba278..f917cd7f8ae 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 (2018-12-05-15:46), generated from tex4ht-4ht.tex +% latex.4ht (2019-08-26-14:22), generated from tex4ht-4ht.tex % Copyright 1997-2009 Eitan M. Gurari -% Copyright 2009-2018 TeX Users Group +% Copyright 2009-2019 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-12-05-15:46} +\immediate\write-1{version 2019-08-26-14:22} \ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi @@ -770,6 +770,14 @@ \HLet\overline\:temp \NewConfigure{overline}{2} +\def\:tempc{\csname a:>\endcsname} \HLet\>\:tempc +\def\:tempc{\csname a:;\endcsname} \HLet\;\:tempc +\def\:tempc{\csname a:!\endcsname} \HLet\!\:tempc +\def\:tempc{\csname a::\endcsname} \HLet\:\:tempc +\NewConfigure{>}{1} \Configure{>}{\csname o:>\endcsname} +\NewConfigure{;}{1} \Configure{;}{\csname o:;\endcsname} +\NewConfigure{!}{1} \Configure{!}{\csname o:!\endcsname} +\NewConfigure{:}{1} \Configure{:}{\csname o::\endcsname} \def\:tempc{\relax\ifmmode\csname a:,\endcsname\else\thinspace\fi} \expandafter\HLet\csname , \endcsname=\:tempc \def\:tempc{\relax diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht index 98c58a0e618..cbfd22ba7cf 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht @@ -1,4 +1,4 @@ -% mathml.4ht (2018-04-10-14:34), generated from tex4ht-mathml.tex +% mathml.4ht (2019-08-26-14:22), generated from tex4ht-mathml.tex % Copyright 2009-2018 TeX Users Group % Copyright 1999-2009 Eitan M. Gurari % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2018-04-10-14:34} +\immediate\write-1{version 2019-08-26-14:22} \exit:ifnot{Preamble,% accents,% @@ -822,7 +822,7 @@ accent="true">&\#x0332;}% \let\mathml:on\relax \Configure{ } {\ifmathml \ifmtext \space \else\Tg<\a:mathml mspace - width="1em" \mml:class="nbsp" />\fi + width="0.33em" \mml:class="nbsp" />\fi \else \:nbsp\fi} \:CheckOption{new-accents} \if:Option \else \Configure{accent}\widetilde\widetilde{{}{}} @@ -1319,7 +1319,15 @@ accent="true">&\#x0332;}% {\HCode{<\a:mathml mspace width="2em" \mml:class="qquad"/>}}\fi \else \o:qquad: \fi}} \Configure{,} - {{\HCode{<\a:mathml mspace width="0em" \mml:class="thinspace"/>}}} + {{\HCode{<\a:mathml mspace width="0.17em" \mml:class="thinspace"/>}}} +\Configure{:} + {{\HCode{<\a:mathml mspace width="0.22em" \mml:class="thinspace"/>}}} +\Configure{;} + {{\HCode{<\a:mathml mspace width="0.28em" \mml:class="thickpace"/>}}} +\Configure{>} + {{\HCode{<\a:mathml mspace width="0.30em" \mml:class="medspace"/>}}} +\Configure{!} + {{\HCode{<\a:mathml mspace width="-0.17em" \mml:class="negthinspace"/>}}} \def\:tempb#1{% \expandafter\let\expandafter\:tempc\csname #1\endcsname @@ -1707,6 +1715,8 @@ accent="true">&\#x0332;}% + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsbsy} @@ -2074,6 +2084,7 @@ accent="true">&\#x0332;}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsfonts} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2158,6 +2169,7 @@ accent="true">&\#x0332;}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amstex} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2324,6 +2336,8 @@ accent="true">&\#x0332;}% + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{plain} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2641,7 +2655,7 @@ accent="true">&\#x0332;}% \let\mathml:on\relax \Configure{ } {\ifmathml \ifmtext \space \else\Tg<\a:mathml mspace - width="1em" \mml:class="nbsp" />\fi + width="0.33em" \mml:class="nbsp" />\fi \else \:nbsp\fi} \:CheckOption{new-accents} \if:Option \else \Configure{accent}\widetilde\widetilde{{}{}} @@ -3138,7 +3152,15 @@ accent="true">&\#x0332;}% {\HCode{<\a:mathml mspace width="2em" \mml:class="qquad"/>}}\fi \else \o:qquad: \fi}} \Configure{,} - {{\HCode{<\a:mathml mspace width="0em" \mml:class="thinspace"/>}}} + {{\HCode{<\a:mathml mspace width="0.17em" \mml:class="thinspace"/>}}} +\Configure{:} + {{\HCode{<\a:mathml mspace width="0.22em" \mml:class="thinspace"/>}}} +\Configure{;} + {{\HCode{<\a:mathml mspace width="0.28em" \mml:class="thickpace"/>}}} +\Configure{>} + {{\HCode{<\a:mathml mspace width="0.30em" \mml:class="medspace"/>}}} +\Configure{!} + {{\HCode{<\a:mathml mspace width="-0.17em" \mml:class="negthinspace"/>}}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3209,6 +3231,8 @@ accent="true">&\#x0332;}% + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3282,6 +3306,9 @@ accent="true">&\#x0332;}% + + + @@ -3339,6 +3366,7 @@ accent="true">&\#x0332;}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{vanilla} @@ -3373,6 +3401,8 @@ accent="true">&\#x0332;}% + + @@ -3663,8 +3693,6 @@ accent="true">&\#x0332;}% - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{rlbabel} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3766,7 +3794,6 @@ accent="true">&\#x0332;}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3899,7 +3926,6 @@ accent="true">&\#x0332;}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -4157,6 +4183,15 @@ accent="true">&\#x0332;}% + + + + + + + + + -- cgit v1.2.3