texlive[63162] Master/texmf-dist: uelem math rendering, tex4ht r1120

commits+karl at tug.org commits+karl at tug.org
Wed Apr 27 23:03:34 CEST 2022


Revision: 63162
          http://tug.org/svn/texlive?view=revision&revision=63162
Author:   karl
Date:     2022-04-27 23:03:34 +0200 (Wed, 27 Apr 2022)
Log Message:
-----------
uelem math rendering, tex4ht r1120

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

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

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-04-27 19:44:41 UTC (rev 63161)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-04-27 21:03:34 UTC (rev 63162)
@@ -1,3 +1,10 @@
+2022-04-27  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html4.tex (html4.4ht): corrected class names for Ulem
+	commands in the math mode.
+	* tex4ht-mathml.tex (mathml.4ht): work arounds for displaying
+	lines for Ulem commands.
+
 2022-04-26  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (ulem.4ht),

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex	2022-04-27 19:44:41 UTC (rev 63161)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex	2022-04-27 21:03:34 UTC (rev 63162)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1119 2022-04-26 15:53:45Z michal_h21 $
+% $Id: tex4ht-html4.tex 1120 2022-04-27 10:47:56Z michal_h21 $
 % Compile 4 times: latex tex4ht-html4
 % Copy html4.4ht into the work directory before all but the last compilation.
 %
@@ -22056,23 +22056,23 @@
 \Configure{uline}
    {\HCode{<span class="uline">}\NoFonts} {\EndNoFonts\HCode{</span>}}
 \Configure{uline-math}
-   {\HCode{<span class="uline">}\NoFonts} {\EndNoFonts\HCode{</span>}}
+   {\HCode{<span class="uline-math">}\NoFonts} {\EndNoFonts\HCode{</span>}}
 \Css{.uline,.uline-math{ text-decoration:underline; }}
 \Configure{uuline}
    {\HCode{<span class="uuline">}\NoFonts} {\EndNoFonts\HCode{</span>}}
 \Configure{uuline-math}
-   {\HCode{<span class="uuline">}\NoFonts} {\EndNoFonts\HCode{</span>}}
+   {\HCode{<span class="uuline-math">}\NoFonts} {\EndNoFonts\HCode{</span>}}
 \Css{.uuline,.uuline-math{ text-decoration:underline double; }}
 \Configure{sout}
    {\HCode{<span class="sout">}\NoFonts} {\EndNoFonts\HCode{</span>}}
 \Configure{sout-math}
-   {\HCode{<span class="sout">}\NoFonts} {\EndNoFonts\HCode{</span>}}
+   {\HCode{<span class="sout-math">}\NoFonts} {\EndNoFonts\HCode{</span>}}
 \Css{span.sout, .sout-math {text-decoration: line-through }}
 \Configure{xout}
    {\HCode{<span class="xout">}\NoFonts} 
    {\EndNoFonts\HCode{</span>}}
 \Configure{xout-math}
-   {\HCode{<span class="xout">}\NoFonts} 
+   {\HCode{<span class="xout-math">}\NoFonts} 
    {\EndNoFonts\HCode{</span>}}
 \Css{span.xout, .xout-math {text-decoration: line-through underline }}
 \Configure{uwave}
@@ -22079,7 +22079,7 @@
    {\HCode{<span class="uwave">}\NoFonts} 
    {\EndNoFonts\HCode{</span>}}
 \Configure{uwave-math}
-   {\HCode{<span class="uwave">}\NoFonts} 
+   {\HCode{<span class="uwave-math">}\NoFonts} 
    {\EndNoFonts\HCode{</span>}}
 \Css{span.uwave, .uwave-math {text-decoration:underline wavy; }}
 \Configure{dashuline}
@@ -22086,14 +22086,14 @@
    {\HCode{<span class="dashuline">}\NoFonts} 
    {\EndNoFonts\HCode{</span>}}
 \Configure{dashuline-math}
-   {\HCode{<span class="dashuline">}\NoFonts} 
+   {\HCode{<span class="dashuline-math">}\NoFonts} 
    {\EndNoFonts\HCode{</span>}}
 \Css{span.dashuline, .dashuline-math {text-decoration:underline dashed;}}
 \Configure{dotuline}
-   {\HCode{<span class="dotuline">}\NoFonts} 
+   {\HCode{<span class="dotuline-math">}\NoFonts} 
    {\EndNoFonts\HCode{</span>}}
 \Configure{dotuline-math}
-   {\HCode{<span class="dotuline">}\NoFonts} 
+   {\HCode{<span class="dotuline-math">}\NoFonts} 
    {\EndNoFonts\HCode{</span>}}
 \Css{span.dotuline, .dotuline-math {text-decoration:underline dotted;}}
 >>>

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-04-27 19:44:41 UTC (rev 63161)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-04-27 21:03:34 UTC (rev 63162)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathml.tex 1119 2022-04-26 15:53:45Z michal_h21 $$
+% $Id: tex4ht-mathml.tex 1120 2022-04-27 10:47:56Z michal_h21 $$
 % compile 3 times: latex tex4ht-mathltx
 %           or   xhlatex tex4ht-mathltx "html,3,sections+"
 %
@@ -3828,33 +3828,32 @@
    {\HCode{</mrow></munder>}} 
 >>>
 
-Support for the Ulem package in MathML
+Support for the Ulem package in MathML. It seems that text-decoration CSS
+property doesn't work in browsers for Mathml, so we need to use various tricks
+to emulate effects, especially double, dotted and dashed lines. 
+
 \<configure mathml ulem\><<<
 \Configure{uline-math}
-   {\HCode{<mstyle class="uline-math">}\NoFonts} {\EndNoFonts\HCode{</mstyle>}}
-\Css{.uline-math{ text-decoration:underline; }}
+   {\HCode{<menclose class="uline-math" notation="bottom">}\NoFonts} {\EndNoFonts\HCode{</menclose>}}
 \Configure{uuline-math}
-   {\HCode{<mstyle class="uuline-math">}\NoFonts} {\EndNoFonts\HCode{</mstyle>}}
-\Css{.uuline-math{ text-decoration:underline double; }}
+   {\HCode{<menclose class="uuline-math" notation="bottom">}\NoFonts} {\EndNoFonts\HCode{</menclose>}}
+\Css{.uuline-math{ border-bottom:3px double black; }}
 \Configure{sout-math}
-   {\HCode{<mstyle class="sout-math">}\NoFonts} {\EndNoFonts\HCode{</mstyle>}}
-\Css{.sout-math {text-decoration: line-through }}
+   {\HCode{<menclose class="sout-math" notation="horizontalstrike">}\NoFonts} {\EndNoFonts\HCode{</menclose>}}
 \Configure{xout-math}
-   {\HCode{<mstyle class="xout-math">}\NoFonts} 
-   {\EndNoFonts\HCode{</mstyle>}}
-\Css{.xout-math {text-decoration: line-through underline }}
+   {\HCode{<menclose class="xout-math" notation="horizontalstrike bottom">}\NoFonts} 
+   {\EndNoFonts\HCode{</menclose>}}
 \Configure{uwave-math}
-   {\HCode{<mstyle class="uwave-math">}\NoFonts} 
-   {\EndNoFonts\HCode{</mstyle>}}
-\Css{.uwave-math {text-decoration:underline wavy; }}
+   {\HCode{<menclose class="uwave-math" notation="bottom">}\NoFonts} 
+   {\EndNoFonts\HCode{</menclose>}}
 \Configure{dashuline-math}
-   {\HCode{<mstyle class="dashuline-math">}\NoFonts} 
+   {\HCode{<mstyle class="dashuline-math" notation="bottom">}\NoFonts} 
    {\EndNoFonts\HCode{</mstyle>}}
-\Css{.dashuline-math {text-decoration:underline dashed;}}
+\Css{.dashuline-math {border-bottom: 1px dashed black;}}
 \Configure{dotuline-math}
-   {\HCode{<mstyle class="dotuline-math">}\NoFonts} 
+   {\HCode{<mstyle class="dotuline-math" notation="bottom">}\NoFonts} 
    {\EndNoFonts\HCode{</mstyle>}}
-\Css{.dotuline-math {text-decoration:underline dotted;}}
+\Css{.dotuline-math {border-bottom: 1px dotted black;}}
 >>>
 
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2022-04-27 19:44:41 UTC (rev 63161)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht	2022-04-27 21:03:34 UTC (rev 63162)
@@ -1,4 +1,4 @@
-% html4.4ht (2022-04-26-14:01), generated from tex4ht-html4.tex
+% html4.4ht (2022-04-27-13:58), generated from tex4ht-html4.tex
 % Copyright 2009-2022 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 2022-04-26-14:01}
+\immediate\write-1{version 2022-04-27-13:58}
 
 \exit:ifnot{8859-6,% 
 CJK,% 
@@ -37154,23 +37154,23 @@
     \Configure{uline}
    {\HCode{<span class="uline">}\NoFonts} {\EndNoFonts\HCode{</span>}}
 \Configure{uline-math}
-   {\HCode{<span class="uline">}\NoFonts} {\EndNoFonts\HCode{</span>}}
+   {\HCode{<span class="uline-math">}\NoFonts} {\EndNoFonts\HCode{</span>}}
 \Css{.uline,.uline-math{ text-decoration:underline; }}
 \Configure{uuline}
    {\HCode{<span class="uuline">}\NoFonts} {\EndNoFonts\HCode{</span>}}
 \Configure{uuline-math}
-   {\HCode{<span class="uuline">}\NoFonts} {\EndNoFonts\HCode{</span>}}
+   {\HCode{<span class="uuline-math">}\NoFonts} {\EndNoFonts\HCode{</span>}}
 \Css{.uuline,.uuline-math{ text-decoration:underline double; }}
 \Configure{sout}
    {\HCode{<span class="sout">}\NoFonts} {\EndNoFonts\HCode{</span>}}
 \Configure{sout-math}
-   {\HCode{<span class="sout">}\NoFonts} {\EndNoFonts\HCode{</span>}}
+   {\HCode{<span class="sout-math">}\NoFonts} {\EndNoFonts\HCode{</span>}}
 \Css{span.sout, .sout-math {text-decoration: line-through }}
 \Configure{xout}
    {\HCode{<span class="xout">}\NoFonts}
    {\EndNoFonts\HCode{</span>}}
 \Configure{xout-math}
-   {\HCode{<span class="xout">}\NoFonts}
+   {\HCode{<span class="xout-math">}\NoFonts}
    {\EndNoFonts\HCode{</span>}}
 \Css{span.xout, .xout-math {text-decoration: line-through underline }}
 \Configure{uwave}
@@ -37177,7 +37177,7 @@
    {\HCode{<span class="uwave">}\NoFonts}
    {\EndNoFonts\HCode{</span>}}
 \Configure{uwave-math}
-   {\HCode{<span class="uwave">}\NoFonts}
+   {\HCode{<span class="uwave-math">}\NoFonts}
    {\EndNoFonts\HCode{</span>}}
 \Css{span.uwave, .uwave-math {text-decoration:underline wavy; }}
 \Configure{dashuline}
@@ -37184,14 +37184,14 @@
    {\HCode{<span class="dashuline">}\NoFonts}
    {\EndNoFonts\HCode{</span>}}
 \Configure{dashuline-math}
-   {\HCode{<span class="dashuline">}\NoFonts}
+   {\HCode{<span class="dashuline-math">}\NoFonts}
    {\EndNoFonts\HCode{</span>}}
 \Css{span.dashuline, .dashuline-math {text-decoration:underline dashed;}}
 \Configure{dotuline}
-   {\HCode{<span class="dotuline">}\NoFonts}
+   {\HCode{<span class="dotuline-math">}\NoFonts}
    {\EndNoFonts\HCode{</span>}}
 \Configure{dotuline-math}
-   {\HCode{<span class="dotuline">}\NoFonts}
+   {\HCode{<span class="dotuline-math">}\NoFonts}
    {\EndNoFonts\HCode{</span>}}
 \Css{span.dotuline, .dotuline-math {text-decoration:underline dotted;}}
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2022-04-27 19:44:41 UTC (rev 63161)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2022-04-27 21:03:34 UTC (rev 63162)
@@ -1,4 +1,4 @@
-% mathml.4ht (2022-04-26-14:01), generated from tex4ht-mathml.tex
+% mathml.4ht (2022-04-27-13:58), 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 2022-04-26-14:01}
+\immediate\write-1{version 2022-04-27-13:58}
 
 \exit:ifnot{Preamble,% 
 accents,% 
@@ -4134,30 +4134,26 @@
                 \ConfigureHinput{ulem}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     \Configure{uline-math}
-   {\HCode{<mstyle class="uline-math">}\NoFonts} {\EndNoFonts\HCode{</mstyle>}}
-\Css{.uline-math{ text-decoration:underline; }}
+   {\HCode{<menclose class="uline-math" notation="bottom">}\NoFonts} {\EndNoFonts\HCode{</menclose>}}
 \Configure{uuline-math}
-   {\HCode{<mstyle class="uuline-math">}\NoFonts} {\EndNoFonts\HCode{</mstyle>}}
-\Css{.uuline-math{ text-decoration:underline double; }}
+   {\HCode{<menclose class="uuline-math" notation="bottom">}\NoFonts} {\EndNoFonts\HCode{</menclose>}}
+\Css{.uuline-math{ border-bottom:3px double black; }}
 \Configure{sout-math}
-   {\HCode{<mstyle class="sout-math">}\NoFonts} {\EndNoFonts\HCode{</mstyle>}}
-\Css{.sout-math {text-decoration: line-through }}
+   {\HCode{<menclose class="sout-math" notation="horizontalstrike">}\NoFonts} {\EndNoFonts\HCode{</menclose>}}
 \Configure{xout-math}
-   {\HCode{<mstyle class="xout-math">}\NoFonts}
-   {\EndNoFonts\HCode{</mstyle>}}
-\Css{.xout-math {text-decoration: line-through underline }}
+   {\HCode{<menclose class="xout-math" notation="horizontalstrike bottom">}\NoFonts}
+   {\EndNoFonts\HCode{</menclose>}}
 \Configure{uwave-math}
-   {\HCode{<mstyle class="uwave-math">}\NoFonts}
-   {\EndNoFonts\HCode{</mstyle>}}
-\Css{.uwave-math {text-decoration:underline wavy; }}
+   {\HCode{<menclose class="uwave-math" notation="bottom">}\NoFonts}
+   {\EndNoFonts\HCode{</menclose>}}
 \Configure{dashuline-math}
-   {\HCode{<mstyle class="dashuline-math">}\NoFonts}
+   {\HCode{<mstyle class="dashuline-math" notation="bottom">}\NoFonts}
    {\EndNoFonts\HCode{</mstyle>}}
-\Css{.dashuline-math {text-decoration:underline dashed;}}
+\Css{.dashuline-math {border-bottom: 1px dashed black;}}
 \Configure{dotuline-math}
-   {\HCode{<mstyle class="dotuline-math">}\NoFonts}
+   {\HCode{<mstyle class="dotuline-math" notation="bottom">}\NoFonts}
    {\EndNoFonts\HCode{</mstyle>}}
-\Css{.dotuline-math {text-decoration:underline dotted;}}
+\Css{.dotuline-math {border-bottom: 1px dotted black;}}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   



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