\Configure{DOCTYPE}{}
-_-_-
\:CheckOption{pmathml} \if:Option
<.pmathml configurations.>
\:CheckOption{pmathml-css} \if:Option \else
\Log:Note{If css rendering is preferred
for MathML, use option ‘pmathml-css’ instead of ‘pmathml’.}
<.pmathml but not pmathml-css.>
\fi
\else
\:CheckOption{pmathml-css} \if:Option \else
\Log:Note{For multi-platform MathML
through stylesheet transforms, use the command line option
‘pmathml’. If css rendering is preferred, use ‘pmathml-css’.}
\fi \fi -_-_-
\:CheckOption{pmathml-css} \if:Option
\Configure{XML-STYLESHEET}
{\HCode{%
<?xml-stylesheet type="text/xsl"
href="pmathmlcss.xsl"?>\Hnewline
<!--http://www.w3.org/Math/XSL/pmathmlcss.xsl-->\Hnewline
}}
\else
\Configure{XML-STYLESHEET}
{\HCode{%
<?xml-stylesheet type="text/xsl"
href="pmathml.xsl"?>\Hnewline
<!--http://www.w3.org/Math/XSL/pmathml.xsl-->\Hnewline
}}
\fi
-_-_-
\:CheckOption{pmathml-css} \if:Option
\Configure{@HTML}
{xmlns:math="http://www.w3.org/1998/Math/MathML"\Hnewline
xmlns:pref="http://www.w3.org/2002/Math/preference"\Hnewline
pref:renderer="css"
}
\fi
-_-_-
\:CheckOption{pmathml-css} \if:Option
\edef\Preamble{\Preamble,pmathml}
\fi
-_-_-
http://www.w3.org/Math/XSL/Overview.html and
http://www.w3.org/Math/XSL/Overview-tech.html explains how to make .xml pages (in
fact, Tex4ht option MOZILLA) to Explorer 6 even WITHOUT Mathplayer: it requires two
.xsl style sheets (pmathml.xsl and pmathmlcss.xsl, they can be retrieved there) and replacing
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//|<dtd lang|>" "mathml.dtd">
with <?xml-stylesheet type="text/xsl" href="pmathml.xsl"?>. Moreover, if
one has Mathplayer installed, one must keep it away, for check purposes, by replacing
<html...> with
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:math="http://www.w3.org/1998/Math/MathML"
xmlns:pref="http://www.w3.org/2002/Math/preference"
pref:renderer="css"
>