diff options
7 files changed, 45 insertions, 24 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 6d3301318d1..6a53f48d2fc 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,17 @@ +2021-11-09 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-html4.tex (html4.4ht): added CSS declaration that enables table row + rules. + * tex4ht-html5.tex (html5.4ht): removed CSS rules declaration that was moved + to html4.4ht. + https://tex.stackexchange.com/a/621871/2891 + +2021-11-08 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-mathml.tex (mathml.4ht): use stretchy="false" for math operators + that shouldn't be stretchy. + https://tex.stackexchange.com/a/621839/2891 + 2021-11-05 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (hyperref-hooks.4ht, biblatex-hooks.4ht): diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index 332e0022ff1..2a0568c96fb 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html4.tex 1008 2021-11-04 20:14:13Z michal_h21 $ +% $Id: tex4ht-html4.tex 1011 2021-11-09 09:00:24Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -19663,6 +19663,7 @@ Enable linebreaking in long URLs \Configure{pic-halign}{} \Configure{halignTB<>}{halign}{\HCode{id="TBL-\TableNo" class="halign"\Hnewline }<>} \HAssign\Next:TableNo|=0 \global\let\TableNo=\Next:TableNo +\Css{table.tabular{border-collapse: collapse; border-spacing: 0;}} >>> The following should be just under LaTeX. diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex index 96e726f58db..c1a469ca5b5 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html5.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html5.tex 994 2021-10-18 08:59:43Z michal_h21 $ +% $Id: tex4ht-html5.tex 1011 2021-11-09 09:00:24Z michal_h21 $ % compile 3 times: latex tex4ht-moz % or xhlatex tex4ht-moz "html,3,sections+" % @@ -313,7 +313,6 @@ cellspacing and cellpading attributes are prohibited in html5 \<tabular fixes\><<< \Configure{halignTB<>}{tabular}{\HCode{id="TBL-\TableNo" class="tabular"\Hnewline \GROUPS\Hnewline }<>\HAlign} -\Css{table.tabular{border-collapse: collapse; border-spacing: 0;}} >>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex index 6fc95d0a44b..bd2fa451dab 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-mathml.tex 952 2021-06-17 21:47:06Z karl $$ +% $Id: tex4ht-mathml.tex 1010 2021-11-08 17:32:28Z michal_h21 $$ % compile 3 times: latex tex4ht-mathltx % or xhlatex tex4ht-mathltx "html,3,sections+" % @@ -3161,10 +3161,10 @@ Accent versus underscript: \verb=\underbrace{x+y+z}= \Configure{MathClass}{3}{*}{<\a:mathml mo\Hnewline \mml:class="MathClass-rel">}{</\a:mathml mo>}{} \Configure{MathClass}{4}{*}{<\a:mathml mo\Hnewline - \mml:class="MathClass-open">} + \mml:class="MathClass-open" stretchy="false">} {</\a:mathml mo>}{} \Configure{MathClass}{5}{*}{<\a:mathml mo\Hnewline - \mml:class="MathClass-close">} + \mml:class="MathClass-close" stretchy="false">} {</\a:mathml mo>}{} \Configure{MathClass}{6}{*}{<\a:mathml mo\Hnewline \mml:class="MathClass-punc">}{</\a:mathml mo>}{} diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht index 622b7303f26..390fc462631 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht @@ -1,4 +1,4 @@ -% html4.4ht (2021-11-04-14:09), generated from tex4ht-html4.tex +% html4.4ht (2021-11-09-10:26), generated from tex4ht-html4.tex % Copyright 2009-2021 TeX Users Group % Copyright 1997-2009 Eitan M. Gurari % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-11-04-14:09} +\immediate\write-1{version 2021-11-09-10:26} \exit:ifnot{8859-6,% CJK,% @@ -1192,6 +1192,7 @@ switches of tex4ht.c) \Configure{pic-halign}{} \Configure{halignTB<>}{halign}{\HCode{id="TBL-\TableNo" class="halign"\Hnewline }<>} \HAssign\Next:TableNo0 \global\let\TableNo=\Next:TableNo +\Css{table.tabular{border-collapse: collapse; border-spacing: 0;}} \Configure{halignTD} {}{} {<}{\HCode{ style="white-space:nowrap; text-align:left;"}} {-}{\HCode{ style="white-space:nowrap; text-align:center;"}} diff --git a/Master/texmf-dist/tex/generic/tex4ht/html5.4ht b/Master/texmf-dist/tex/generic/tex4ht/html5.4ht index f5f423f72a9..5675ee5ba80 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html5.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html5.4ht @@ -1,4 +1,4 @@ -% html5.4ht (2021-10-18-12:58), generated from tex4ht-html5.tex +% html5.4ht (2021-11-09-10:26), generated from tex4ht-html5.tex % Copyright 2016-2021 TeX Users Group % % This work may be distributed and/or modified under the @@ -16,7 +16,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-10-18-12:58} +\immediate\write-1{version 2021-11-09-10:26} \exit:ifnot{amsart,% amsbook,% @@ -192,7 +192,6 @@ tex4ht} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Configure{halignTB<>}{tabular}{\HCode{id="TBL-\TableNo" class="tabular"\Hnewline \GROUPS\Hnewline }<>\HAlign} -\Css{table.tabular{border-collapse: collapse; border-spacing: 0;}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht index fcee4833991..99c4bf066fa 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 (2021-04-30-15:27), generated from tex4ht-mathml.tex +% mathml.4ht (2021-11-09-10:26), generated from tex4ht-mathml.tex % Copyright 2009-2021 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 2021-04-30-15:27} +\immediate\write-1{version 2021-11-09-10:26} \exit:ifnot{Preamble,% accents,% @@ -1616,10 +1616,10 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \Configure{MathClass}{3}{*}{<\a:mathml mo\Hnewline \mml:class="MathClass-rel">}{</\a:mathml mo>}{} \Configure{MathClass}{4}{*}{<\a:mathml mo\Hnewline - \mml:class="MathClass-open">} + \mml:class="MathClass-open" stretchy="false">} {</\a:mathml mo>}{} \Configure{MathClass}{5}{*}{<\a:mathml mo\Hnewline - \mml:class="MathClass-close">} + \mml:class="MathClass-close" stretchy="false">} {</\a:mathml mo>}{} \Configure{MathClass}{6}{*}{<\a:mathml mo\Hnewline \mml:class="MathClass-punc">}{</\a:mathml mo>}{} @@ -1729,6 +1729,8 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsbsy} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1741,7 +1743,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsmath} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2109,7 +2110,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amstext} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2610,10 +2610,10 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \Configure{MathClass}{3}{*}{<\a:mathml mo\Hnewline \mml:class="MathClass-rel">}{</\a:mathml mo>}{} \Configure{MathClass}{4}{*}{<\a:mathml mo\Hnewline - \mml:class="MathClass-open">} + \mml:class="MathClass-open" stretchy="false">} {</\a:mathml mo>}{} \Configure{MathClass}{5}{*}{<\a:mathml mo\Hnewline - \mml:class="MathClass-close">} + \mml:class="MathClass-close" stretchy="false">} {</\a:mathml mo>}{} \Configure{MathClass}{6}{*}{<\a:mathml mo\Hnewline \mml:class="MathClass-punc">}{</\a:mathml mo>}{} @@ -3182,7 +3182,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsopn} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3323,6 +3322,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amscd} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3378,6 +3378,9 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{vanilla} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3418,7 +3421,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amssymb} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3707,7 +3709,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{rlbabel} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3745,7 +3746,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{dcolumn} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3812,6 +3812,9 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{mathtools} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3949,6 +3952,8 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{accents} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3972,7 +3977,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{subeqnarray} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -4023,6 +4027,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{sistyle} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -4231,5 +4236,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + \endinput |