0.19 Math Delimiters

  0.19.1 Full Expressions
  0.19.2 Left and Right
  0.19.3 Math Inner
  0.19.4 Tokens
  0.19.5 Embedded Text

0.19.1 Full Expressions

<..configure html-speech-math tex4ht..>+
 \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}
-_-_-

<..sv dvimath par..>
 \edef\sv:ignore{\if:nopar
     \noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
-_-_-

<..recall dvimath par..>
 \sv:ignore
-_-_-

<..configure html-speech-math tex4ht..>+
 \Configure{math}{}
 \Configure{$}
    {<.conf inline math.>\DviMath}
    {\EndDviMath}{}
 \Configure{$$}
    {<.conf display math.>\DviMath}
    {\EndDviMath
        \ShowPar\par{\csname HCondtrue\endcsname\noindent}}
    {\DisplayMathtrue}
-_-_-

<..configure html-speech-math latex..>+
 \Configure{[]}
   {<.conf display math.>\DviMath $$\DisplayMathtrue }
   {$$\EndDviMath}
 \Configure{()}
   {<.conf inline math.>\DviMath $}
   {$\EndDviMath}
-_-_-

<..conf inline math..>
 \Configure{DviMathSpk}
       {\HCode{<span class="inline-math">%
               \add:description{begin-math}{\a:speak:math}}}
       {\HCode{\add:description{end-math}{\b:speak:math}</span>}}%
-_-_-

<..conf display math..>
 \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>}}%
-_-_-

<..configure html-speech-math tex4ht..>+
 \NewConfigure{speak:math}{2}
 \Configure{speak:math}
    {begin math}
    {end math}
-_-_-

<..configure emacspeak tex4ht..>+
 \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;}}
-_-_-

0.19.2 Left and Right

<..plain,latex mathml..>+
 \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>}}
-_-_-

<..plain,fontmath math..>
 \Configure{big}
    {}{}
    {}
    {}
 \Configure{Big}
    {}{}
    {}
    {}
 \Configure{bigg}
    {}{}
    {}
    {}
 \Configure{Bigg}
    {}{}
    {}
    {}
-_-_-

<..plain,fontmath math..>+
 <.big common.>
 \:CheckOption{mathml-}     \if:Option
    <.big mathml-.>
 \else
    <.big mathml.>
 \fi
-_-_-

<..big mathml..>
 \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}
-_-_-

<..big mathml-..>
 \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}
-_-_-

<..big common..>
 \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}
-_-_-

<..plain,latex mathml..>+
 \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
-_-_-

0.19.3 Math Inner

<..plain,latex mathml..>+
 \def\mathinner#1{\Tg<span
    class="mathinner">#1\Tg</span>}
-_-_-

0.19.4 Tokens

<..plain,fontmath math..>+
 \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 html-speech-math amsopn..>
 \Configure{qopname}
    {\Configure{mathop}{*}
       {<span class="mo-qopname"> <span>}
       {</span> </span>}
       {}}
-_-_-

<..emacspeak plain,fontmath..>
 \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; }}
-_-_-

0.19.5 Embedded Text

<..configure html-speech-math latex..>+
 \def\AA:text#1{<.config start mtext.>}
 \def\BB:text{<.config end mtext.>}
-_-_-

<..config start mtext..>
 \mtexttrue
 \HCode{ <span\Hnewline class="mstyle-#1">}%
          <.start mtext space.>\PauseMathClass
    <.config math within mtext.>%
-_-_-

<..config end mtext..>
 \mtextfalse\EndPauseMathClass<.end mtext space.>\HCode
      {</span>}%
-_-_-

<..config math within mtext..>
 \Configure{$}%
   {\EndPauseMathClass \HCode{<span \Hnewline
                              class="text-math">}\mtextfalse
       <.end mtext space.>}%
   {\HCode{</span>}<.start mtext space.>\PauseMathClass \mtexttrue}%
   {}%
-_-_-

<..start mtext space..>
 \ht:special{t4ht@,&\#x00A0;}%
-_-_-

<..end mtext space..>
 \ht:special{t4ht@,}%
-_-_-