\Configure{DviMath}
{\a:DviMathSpk \mathmltrue
\ifOption{mml-fonts}{}{\mml:htfsym\NoFonts}%
\IgnoreRule \HCode{<!--l.
\the\inputlineno-->}\a:math
<.sv dvimath par.>\IgnorePar}
{\EndIgnoreRule
\mathmlfalse \b:DviMathSpk <.recall dvimath par.>}
\NewConfigure{DviMathSpk}{2} -_-_-
\edef\sv:ignore{\if:nopar
\noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
-_-_-
\Configure{math}{}
\Configure{$}
{<.conf inline math.>\DviMath}
{\EndDviMath}{}
\Configure{$$}
{<.conf display math.>\DviMath}
{\EndDviMath
\ShowPar\par{\csname HCondtrue\endcsname\noindent}}
{\DisplayMathtrue} -_-_-
\Configure{DviMathSpk}
{\HCode{<span class="inline-math">%
\add:description{begin-math}{\a:speak:math}}}
{\HCode{\add:description{end-math}{\b:speak:math}</span>}}%
-_-_-
\Configure{@math}{div}\IgnorePar
<.inline end-par comment.>\EndP
\Configure{DviMathSpk}
{\HCode{<div class="display-math">%
\add:description{begin-math}{\a:speak:math}}}
{\HCode{\add:description{end-math}{\b:speak:math}</div>}}% -_-_-
\NewConfigure{speak:math}{2}
\Configure{speak:math}
{begin math}
{end math}
-_-_-
\CssSpeech{.inline-math, .display-math
{ pitch: 8; pitch-range: 7; stress:7; richness: 7; }}
\CssSpeech{.space {pitch:0; pitch-range:0; richness:0; stress:0;}}
-_-_-
\Configure{left}
{}
{\HCode{<span class="mfenced-open">%
<span><.lr del 1.></span>}\bgroup}
\Configure{right}
{\egroup}
{\HCode{<span class="mfenced-close">%
<.lr del 1.></span></span>}} -_-_-
\Configure{big}
{}{}
{}
{}
\Configure{Big}
{}{}
{}
{}
\Configure{bigg}
{}{}
{}
{}
\Configure{Bigg}
{}{}
{}
{}
-_-_-
\Configure{Biggl}
{\bgroup
\Configure{Bigg}{}{}{}{}%
\Configure{mathopen}{*}
{<span class="Biggl"><span class="MathClass-open" >}
{</span><span>}
{\Configure{mathopen}{}{}{}{}}%
}
{\egroup}
\Configure{Biggr}
{\bgroup
\Configure{Bigg}{}{}{}{}%
\Configure{mathclose}{*}
{</span><span class="MathClass-close" >}
{</span></span>}
{\Configure{mathclose}{}{}{}{}}%
}
{\egroup}
\Configure{Bigl}
{\bgroup
\Configure{Big}{}{}{}{}%
\Configure{mathopen}{*}
{<span class="Bigl"><span class="MathClass-open">}
{</span><span>}
{\Configure{mathopen}{}{}{}{}}%
}
{\egroup}
\Configure{Bigr}
{\bgroup
\Configure{Big}{}{}{}{}%
\Configure{mathclose}{*}
{</span><span class="MathClass-close" >}
{</span></span>}
{\Configure{mathclose}{}{}{}{}}%
}
{\egroup}
\Configure{biggl}
{\bgroup
\Configure{bigg}{}{}{}{}%
\Configure{mathopen}{*}
{<span class="biggl"><span class="MathClass-open">}
{</span><span>}
{\Configure{mathopen}{}{}{}{}}%
}
{\egroup}
\Configure{biggr}
{\bgroup
\Configure{bigg}{}{}{}{}%
\Configure{mathclose}{*}
{</span><span class="MathClass-close" >}
{</span></span>}
{\Configure{mathclose}{}{}{}{}}%
}
{\egroup}
\Configure{bigl}
{\bgroup
\Configure{big}{}{}{}{}%
\Configure{mathopen}{*}
{<span class="bigl"><span class="MathClass-open">}
{</span><span>}
{\Configure{mathopen}{}{}{}{}}%
}
{\egroup}
\Configure{bigr}
{\bgroup
\Configure{big}{}{}{}{}%
\Configure{mathclose}{*}
{</span><span class="MathClass-close" >}
{</span></span>}
{\Configure{mathclose}{}{}{}{}}%
}
{\egroup}
-_-_-
\Configure{Biggl}
{\bgroup
\Configure{Bigg}{}{}{}{}%
\Configure{mathopen}{*}
{<span class="MathClass-open" title="Bigg" >}
{</span>}
{\Configure{mathopen}{}{}{}{}}%
}
{\egroup}
\Configure{Biggr}
{\bgroup
\Configure{Bigg}{}{}{}{}%
\Configure{mathclose}{*}
{<span class="MathClass-close" title="Bigg" >}
{</span>}
{\Configure{mathclose}{}{}{}{}}%
}
{\egroup}
\Configure{Bigl}
{\bgroup
\Configure{Big}{}{}{}{}%
\Configure{mathopen}{*}
{<span class="MathClass-open" title="Big" >}
{</span>}
{\Configure{mathopen}{}{}{}{}}%
}
{\egroup}
\Configure{Bigr}
{\bgroup
\Configure{Big}{}{}{}{}%
\Configure{mathclose}{*}
{<span class="MathClass-close" title="Big" >}
{</span>}
{\Configure{mathclose}{}{}{}{}}%
}
{\egroup}
\Configure{biggl}
{\bgroup
\Configure{bigg}{}{}{}{}%
\Configure{mathopen}{*}
{<span class="MathClass-open" title="bigg" >}
{</span>}
{\Configure{mathopen}{}{}{}{}}%
}
{\egroup}
\Configure{biggr}
{\bgroup
\Configure{bigg}{}{}{}{}%
\Configure{mathclose}{*}
{<span class="MathClass-close" title="bigg" >}
{</span>}
{\Configure{mathclose}{}{}{}{}}%
}
{\egroup}
\Configure{bigl}
{\bgroup
\Configure{big}{}{}{}{}%
\Configure{mathopen}{*}
{<span class="MathClass-open" title="big" >}
{</span>}
{\Configure{mathopen}{}{}{}{}}%
}
{\egroup}
\Configure{bigr}
{\bgroup
\Configure{big}{}{}{}{}%
\Configure{mathclose}{*}
{<span class="MathClass-close" title="big" >}
{</span>}
{\Configure{mathclose}{}{}{}{}}%
}
{\egroup}
-_-_-
\Configure{Biggm}
{\bgroup
\Configure{Bigg}{}{}{}{}%
\Configure{mathrel}{*}
{<span class="MathClass-rel" title="Bigg" >}
{</span>}
{\Configure{mathrel}{}{}{}{}}%
}
{\egroup}
\Configure{Bigm}
{\bgroup
\Configure{Big}{}{}{}{}%
\Configure{mathrel}{*}
{<span class="MathClass-rel" title="Big" >}
{</span>}
{\Configure{mathrel}{}{}{}{}}%
}
{\egroup}
\Configure{biggm}
{\bgroup
\Configure{bigg}{}{}{}{}%
\Configure{mathrel}{*}
{<span class="MathClass-rel" title="bigg" >}
{</span>}
{\Configure{mathrel}{}{}{}{}}%
}
{\egroup}
\Configure{bigm}
{\bgroup
\Configure{big}{}{}{}{}%
\Configure{mathrel}{*}
{<span class="MathClass-rel" title="big" >}
{</span>}
{\Configure{mathrel}{}{}{}{}}%
}
{\egroup}
-_-_-
\Configure{mfenced}{\vert}{|}
\edef\:temp{\noexpand\Configure{mfenced}{\noexpand\{}{\string&\#x007B;}}\:temp
\edef\:temp{\noexpand\Configure{mfenced}{\noexpand\}}{\string&\#x007D;}}\:temp
\edef\:temp{\noexpand
\Configure{mfenced}{\noexpand\lbrace}{\string&\#x007B;}}\:temp
\edef\:temp{\noexpand
\Configure{mfenced}{\noexpand\rbrace}{\string&\#x007D;}}\:temp
-_-_-
\def\mathinner#1{\Tg<span
class="mathinner">#1\Tg</span>}
-_-_-
\Configure{MathClass}{0}{*}{<span class="mi"\Hnewline>}%
{</span>}{}
\Configure{MathClass}{1}{*}{<span class="before-mo-op"
title="speech-extra">
</span><span class="mo-op"\Hnewline
>}{</span><span class="after-mo-op"
title="speech-extra"> </span>}{}
\Configure{MathClass}{2}{*}{<span class="mo-bin">}{</span>}{}
\Configure{MathClass}{3}{*}{<span class="mo-rel">}{</span>}{}
\:CheckOption{mathml-} \if:Option
\Configure{MathClass}{4}{*}{<span class="mo-open">}
{</span>}{}
\Configure{MathClass}{5}{*}{<span class="mo-close">}
{</span>}{}
\else
\Log:Note{for sources failing to produce
clean mathml code, try the command line option ‘mathml-’}%
\Configure{MathClass}{4}{*}{<span class="mrow"><span class="mo-open">}
{</span><span class="mrow">}{}
\Configure{MathClass}{5}{*}{</span><span class="mo-close">}
{</span></span>}{}
\fi
\Configure{MathClass}{6}{*}{<span class="mo-punc">}{</span>}{}
\Configure{MathClass}{7}{*}{<span class="mn">}{</span>}
{0123456789}
\Configure{FormulaClass}{0}{}{}{}
\Configure{FormulaClass}{1}{}{}{}
\Configure{FormulaClass}{2}{}{}{}
\Configure{FormulaClass}{3}{}{}{}
\Configure{FormulaClass}{4}{}{}{}
\Configure{FormulaClass}{5}{}{}{}
\Configure{FormulaClass}{6}{}{}{}
-_-_-
\Configure{qopname}
{\Configure{mathop}{*}
{<span class="mo-qopname"> <span>}
{</span> </span>}
{}}
-_-_-
\CssSpeech{ .mo-open, .mo-close{ stress:3; }}
\CssSpeech{ .mo-rel, .mo-bin { stress:4; }}
\CssSpeech{ .mo-op { stress:4; }}
\CssSpeech{ .mo-punc { stress:4; }}
\CssSpeech{ .mo-qopname { stress:4; }}
-_-_-
\ht:special{t4ht@,&\#x00A0;}%
-_-_-
\ht:special{t4ht@,}%
-_-_-