<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% $Id: tex4ht-jsml.tex 184 2016-07-04 17:35:09Z karl $
% Compile 3 times: latex tex4ht-jsml
%             or   xhlatex tex4ht-jsml "html,3,sections+"
% Copy html.4ht into the work directory before each of the 
%            first two compilations
%
% Copyright 2009-2016 TeX Users Group
% Copyright 2000-2009 Eitan M. Gurari
% Released under LPPL 1.3c+.
% See tex4ht-cpright.tex for license text.

\ifx \HTML\UnDef
   \def\HTML{jsml,jsml-math} 
   \def\CONFIG{\jobname}
   \def\MAKETITLE{\author{Eitan M. Gurari}}
   \def\OPTIONS{xhtml,3,sections+}
   \def\PREAMBLE{\usepackage{url}}
   \def\next{\input mktex4ht.4ht  \endinput}
   \expandafter\next
\fi

\input{common-code}
\input{common}
\input{tex4ht-cpright}

\def\.{\string\a:mathml:\space}


\TocAt{section,subsection,likesubsection}  

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Needs{"ls -l tex4ht-*.tex &gt; ls-links.log"}
\openin15=ls-links.log
\ifeof15 \else \closein15
\bgroup
   \catcode`\-=13
   \def-#1tex4ht-{\bgroup \catcode`\-=12  
      \def-##1.tex{\egroup
           [\Link[tex4ht\string-##1.html]{}{}##1\EndLink]}
      -}   
  \input ls\string-links.log
\egroup
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%





%%%%%%%%%%%%%%%%%%
\section{General}
%%%%%%%%%%%%%%%%%%




\begin{center}
\tt htlatex file "html,jsml" " -cjsmlhtf" "-cjsml"
\end{center}

%%%%%%%%%%%%%%%%%%
\section{Root}
%%%%%%%%%%%%%%%%%%


\&lt;jsml\&gt;&lt;&lt;&lt;
% jsml.4ht (|version), generated from |jobname.tex
% Copyright 2009-2016 TeX Users Group
% Copyright |CopyYear.2006. Eitan M. Gurari
|&lt;TeX4ht copywrite|&gt;
&gt;&gt;&gt;


\&lt;jsml-math\&gt;&lt;&lt;&lt;
% jsml-math.4ht (|version), generated from |jobname.tex
% Copyright 2009-2016 TeX Users Group
% Copyright |CopyYear.2006. Eitan M. Gurari
|&lt;TeX4ht copywrite|&gt;
&gt;&gt;&gt;


\&lt;par del\&gt;&lt;&lt;&lt;
!*?: &gt;&gt;&gt;
\&lt;tag of Tag\&gt;&lt;&lt;&lt;
 cw:&gt;&gt;&gt;


\&lt;show input line no\&gt;&lt;&lt;&lt;
&lt;!--l. \the\inputlineno--&gt;%
&gt;&gt;&gt;




\&lt;try env inline par\&gt;&lt;&lt;&lt;
\ShowPar 
&gt;&gt;&gt;

\&lt;try inline par\&gt;&lt;&lt;&lt;
\ShowPar \par{\HCondtrue\noindent}%
&gt;&gt;&gt;




%%%%%%%%%%%%%%%%%%
\section{Outline}
%%%%%%%%%%%%%%%%%%


\&lt;configure jsml article\&gt;&lt;&lt;&lt;
|&lt;config book-report-article|&gt;
|&lt;config report-article|&gt;
&gt;&gt;&gt;

\&lt;configure jsml report\&gt;&lt;&lt;&lt;
|&lt;config book-report-article|&gt;
|&lt;config report-article|&gt;
&gt;&gt;&gt;

\&lt;configure jsml book\&gt;&lt;&lt;&lt;
|&lt;config book-report-article|&gt;
&gt;&gt;&gt;


\&lt;configure jsml letter\&gt;&lt;&lt;&lt; 
|&lt;description lists|&gt;
|&lt;quote config|&gt;
|&lt;roman enumeiii|&gt;
&gt;&gt;&gt;


\&lt;configure jsml amsbook\&gt;&lt;&lt;&lt;
|&lt;ams art,proc,book div|&gt;
|&lt;ams art,proc,book toc|&gt;  |%should appear before TocAt|%
&gt;&gt;&gt;

\&lt;configure jsml amsproc\&gt;&lt;&lt;&lt;
|&lt;ams art,proc,book|&gt;
&gt;&gt;&gt;



\&lt;configure jsml amsart\&gt;&lt;&lt;&lt;
|&lt;ams art,proc,book|&gt;
&gt;&gt;&gt;

\&lt;configure jsml-math plain\&gt;&lt;&lt;&lt;
|&lt;mathml plain|&gt;
|&lt;plain,latex mathml|&gt;
&gt;&gt;&gt;


\&lt;ams art,proc,book\&gt;&lt;&lt;&lt;
|&lt;description lists|&gt;
&gt;&gt;&gt;


\&lt;configure jsml scrbook\&gt;&lt;&lt;&lt;
|&lt;description lists|&gt;
&gt;&gt;&gt;


\&lt;configure jsml scrreprt\&gt;&lt;&lt;&lt;
|&lt;description lists|&gt;
&gt;&gt;&gt;


\&lt;configure jsml slides\&gt;&lt;&lt;&lt;
|&lt;description lists|&gt;
|&lt;roman enumeiii|&gt;
&gt;&gt;&gt;




\&lt;configure jsml-math fontmath\&gt;&lt;&lt;&lt;
|&lt;plain,fontmath math|&gt;
&gt;&gt;&gt;






%%%%%%%%%%%%%%%%%%
\section{Preamble}
%%%%%%%%%%%%%%%%%%

\&lt;configure jsml Preamble\&gt;&lt;&lt;&lt;
|&lt;pre definitions|&gt;
\Configure{ext}{jsml}
&gt;&gt;&gt;


\&lt;configure jsml-math Preamble\&gt;&lt;&lt;&lt;
\:CheckOption{math-}     \if:Option 
    \edef\Preamble{\Preamble,mathml-}
\else
   \Log:Note{for sources failing to produce
       clean math code, try the command line option `math-'}%
\fi
&gt;&gt;&gt;






\&lt;configure jsml Preamble\&gt;&lt;&lt;&lt;
\Configure{PROLOG}{JSML,VERSION,DOCTYPE,*XML-STYLESHEET}
\Configure{JSML}
    {\HCode{&lt;jsml&gt;\Hnewline}}          
&gt;&gt;&gt;




\&lt;configure jsml tex4ht\&gt;&lt;&lt;&lt;
\Configure{HTML}
  {\IgnorePar\HCode{&lt;html \a:@HTML
       |&lt;xmlns|&gt;\Hnewline&gt;\Hnewline}}
  {\ifvmode\IgnorePar\fi\HCode{&lt;/html&gt;\Hnewline
   &lt;/jsml&gt;\Hnewline}}
&gt;&gt;&gt;

\&lt;xmlns\&gt;&lt;&lt;&lt;
xmlns="http://www.w3.org/1999/xhtml"
&gt;&gt;&gt;


The XML definition and DOCTYPE elements are not accepted by the
browser.


\&lt;configure jsml tex4ht\&gt;&lt;&lt;&lt;
\Configure{VERSION}
    {\HCode{\Hnewline&lt;!--?xml version="1.0" |&lt;xml encoding|&gt; ?--&gt;\Hnewline
            &lt;?xtpipes file="jsml.4xt" ?&gt;\Hnewline}}          
&gt;&gt;&gt;

\&lt;xml encoding\&gt;&lt;&lt;&lt;
encoding="\expandafter\ifx \csname a:charset\endcsname\relax
         \expandafter\:encoding\A:charset
   \else \expandafter\:encoding\a:charset\fi"
&gt;&gt;&gt;



\&lt;configure jsml tex4ht\&gt;&lt;&lt;&lt;
\Configure{DOCTYPE}
  {\HCode{% &lt;!DOCTYPE html \xhtml:DOCTYPE&gt;            \Hnewline
          &lt;!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd--&gt;
          \Hnewline}}
\def\xhtml:DOCTYPE{PUBLIC
     "-//W3C//DTD XHTML 1.0 Transitional//|&lt;dtd lang|&gt;"\Hnewline
    \space\space "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"}
&gt;&gt;&gt;


% %%%%%%%%%%%%%%%%%%
% \section{Paragraphs}
% %%%%%%%%%%%%%%%%%%
% 
% \&lt;configure jsml tex4ht\&gt;&lt;&lt;&lt;
% \Configure{HtmlPar}
%   {\EndP\HCode{|&lt;show input line no|&gt;&lt;PARA&gt;&lt;p \csname a:!P\endcsname
%          class="no\ifHCond par\else indent\fi"&gt;}}
%   {\EndP\HCode{|&lt;show input line no|&gt;&lt;PARA&gt;&lt;p \csname a:!P\endcsname
%         class="\ifdim \parindent=\z@ no\fi indent"&gt;}}
%   {\HCode{&lt;/p&gt;&lt;/PARA&gt;}}
%   {\HCode{&lt;/p&gt;&lt;/PARA&gt;}}%
% &gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%
\section{Front Matter}
%%%%%%%%%%%%%%%%%%


\&lt;config book-report-article\&gt;&lt;&lt;&lt;
\Configure{maketitle}
   {\ifvmode \IgnorePar\fi \EndP |&lt;title for TITLE|&gt;%
     \HCode{&lt;PARA&gt;&lt;div class="maketitle"&gt;}}
   {\ifvmode \IgnorePar\fi \EndP \HCode{&lt;BREAK SIZE="medium" /&gt;&lt;/div&gt;&lt;/PARA&gt;}}
   {\NoFonts\IgnorePar\HCode{&lt;h2 
     class="titleHead"\a:LRdir&gt;&lt;EMP 
              LEVEL="moderate"&gt;}\IgnorePar}
   {\HCode{&lt;/EMP&gt;&lt;/h2&gt;}\IgnoreIndent\EndNoFonts}
|&lt;config thanks author date and|&gt;
&gt;&gt;&gt;


\&lt;thanks author date and\&gt;&lt;&lt;&lt;
thanks author date and&gt;&gt;&gt;


\&lt;config thanks author date and\&gt;&lt;&lt;&lt;
\Configure{|&lt;thanks author date and|&gt;} 
   {\ifvmode \IgnorePar\fi\EndP 
    \HCode{&lt;SENT&gt;&lt;span class="thanks"&gt;&lt;BREAK SIZE="small" /&gt;}}
   {\ifvmode \IgnorePar\fi\EndP \HCode{&lt;/span&gt;&lt;/SENT&gt;}}
   {\ifvmode \IgnorePar\fi\EndP
    \HCode{&lt;SENT&gt;&lt;span class="author" &gt;&lt;BREAK SIZE="small" /&gt;}}
   {\ifvmode \IgnorePar\fi\EndP \HCode{&lt;/span&gt;&lt;/SENT&gt;}}
   {\ifvmode \IgnorePar\fi\EndP 
    \HCode{&lt;BREAK SIZE="small" /&gt;&lt;SAYS CLASS="date" &gt;}}
   {\ifvmode \IgnorePar\fi\EndP \HCode{&lt;/SAYS&gt;&lt;BREAK SIZE="small" /&gt;}}
   {\HCode{&lt;br /&gt;}}
   {\HCode{&lt;br /&gt;}}
&gt;&gt;&gt;



\&lt;config report-article\&gt;&lt;&lt;&lt;
\ConfigureEnv{abstract}
   {\IgnorePar\EndP
    \HCode{&lt;div clas="abstract"\Hnewline&gt;}\par\ShowPar
    \bgroup  
       \pend:def\abstractname{\HCode{&lt;BREAK SIZE="small"/&gt;&lt;EMP
                        LEVEL="moderate" class="abstractname"&gt;}}
       \append:def\abstractname{\HCode{&lt;/EMP&gt;&lt;BREAK SIZE="small"/&gt;}}
   } 
   {\egroup \ifvmode \IgnorePar\fi
    \EndP\HCode{&lt;BREAK SIZE="small" /&gt;&lt;/div&gt;}}
   {} {}
&gt;&gt;&gt;






%%%%%%%%%%%%%%%%%%
\section{Sectional Divisions}
%%%%%%%%%%%%%%%%%%






\&lt;config book-report-article\&gt;&lt;&lt;&lt;
|&lt;latex shared section config|&gt;
|&lt;latex shared subsection config|&gt;
|&lt;latex shared subsubsection config|&gt;
|&lt;latex shared paragraph config|&gt;
|&lt;config captions|&gt;
|&lt;description lists|&gt;
|&lt;quote config|&gt;
|&lt;roman enumeiii|&gt;
&gt;&gt;&gt;


\&lt;configure jsml JHEP\&gt;&lt;&lt;&lt;
|&lt;latex shared part config|&gt;
|&lt;latex shared section config|&gt;
|&lt;latex shared subsection config|&gt;
|&lt;latex shared subsubsection config|&gt;
&gt;&gt;&gt;

\&lt;configure jsml acm-proc-article-sp\&gt;&lt;&lt;&lt;
|&lt;latex shared part config|&gt;
|&lt;latex shared section config|&gt;
|&lt;latex shared subsection config|&gt;
|&lt;latex shared subsubsection config|&gt;
&gt;&gt;&gt;


\&lt;configure jsml aa\&gt;&lt;&lt;&lt;   
|&lt;latex shared section config|&gt;
|&lt;latex shared subsection config|&gt;
|&lt;latex shared subsubsection config|&gt;
|&lt;latex shared paragraph config|&gt;
|&lt;config captions|&gt;
&gt;&gt;&gt;



\&lt;latex shared section config\&gt;&lt;&lt;&lt;
\ConfigureMark{section}
   {\ifnum \c:secnumdepth&gt;\c@secnumdepth \expandafter\:gobble
    \else
       \HCode{&lt;span class="titlemark"&gt;\add:description{added-description}
                              {\a:speak:section}}\@seccntformat{section}%
       \HCode{&lt;/span&gt;&lt;BREAK SIZE="small" /&gt;}\fi }
\ConfigureMark{subsection}
   {\ifnum \c:secnumdepth&gt;\c@secnumdepth  \expandafter\:gobble
    \else 
       \HCode{&lt;span class="titlemark"&gt;\add:description{added-description}
                              {\a:speak:subsection}}\@seccntformat{subsection}%
       \HCode{&lt;/span&gt;&lt;BREAK SIZE="small" /&gt;}\fi }
|&lt;latex speak section|&gt;
&gt;&gt;&gt;






\&lt;latex shared section config\&gt;&lt;&lt;&lt;
\Configure{section}{}{}
   {\ifvmode \IgnorePar\fi \EndP\IgnorePar
    \HCode{&lt;h3 class="sectionHead"\a:LRdir&gt;&lt;EMP
            LEVEL="moderate"&gt;}\TitleMark\space\HtmlParOff}
   {\HCode{&lt;/EMP&gt;&lt;/h3&gt;}\HtmlParOn\ShowPar \IgnoreIndent \par}
\Configure{likesection}{}{}
   {\ifvmode \IgnorePar\fi
    \EndP\IgnorePar\HCode{&lt;h3
                class="likesectionHead"\a:LRdir&gt;&lt;EMP
            LEVEL="moderate"&gt;}\HtmlParOff}
   {\HCode{&lt;/EMP&gt;&lt;/h3&gt;}\HtmlParOn \IgnoreIndent \par}
&gt;&gt;&gt;


\&lt;latex shared section config\&gt;&lt;&lt;&lt;
\Configure{subsection}{}{}
   {\ifvmode \IgnorePar\fi
    \EndP\bgroup \IgnorePar\HCode{&lt;h4
             class="subsectionHead"\a:LRdir&gt;&lt;EMP
                 LEVEL="moderate"&gt;}%
    \TitleMark\space \HtmlParOff}
   {\HCode{&lt;/EMP&gt;&lt;/h4&gt;}\HtmlParOn 
    \IgnoreIndent\egroup\par\ShowPar}
\Configure{likesubsection}{}{}{\EndP\bgroup
   \ifvmode \IgnorePar\fi
   \HCode{&lt;h4 class="likesubsectionHead"\a:LRdir&gt;&lt;EMP
            LEVEL="moderate"&gt;}\HtmlParOff }
  {\HCode{&lt;/EMP&gt;&lt;/h4&gt;}\HtmlParOn
   \IgnoreIndent\egroup\par\ShowPar}
&gt;&gt;&gt;






\&lt;ams art,proc,book div\&gt;&lt;&lt;&lt;
\ConfigureMark{subsection}
  {\ifnum \c:secnumdepth&gt;\c@secnumdepth \expandafter\:gobble
    \else
       \HCode{&lt;span class="titlemark"&gt;\add:description{added-description}
                     {\a:speak:section}}\@ifundefined{sectionname}{}{%
          \ignorespaces\sectionname\space}%
          \@seccntformat{section}%
       \HCode{&lt;/span&gt;&lt;BREAK SIZE="small" /&gt;}\fi }
|&lt;latex speak section|&gt;
&gt;&gt;&gt;



\&lt;latex speak section\&gt;&lt;&lt;&lt;
\NewConfigure{speak:section}{1}
\Configure{speak:section}{section}
\NewConfigure{speak:subsection}{1}
\Configure{speak:subsection}{subsection}
&gt;&gt;&gt;




\&lt;configure jsml Preamble\&gt;&lt;&lt;&lt;
\def\add:description#1#2{&lt;span class="#1"
           title="speech-extra" &gt;\Hnewline #2\Hnewline&lt;/span&gt;}
\def\add:vdescription#1#2{&lt;div class="#1"
           title="speech-extra" &gt;\Hnewline #2\Hnewline&lt;/div&gt;}
&gt;&gt;&gt;





%%%%%%%%%%%%%
\section{Margin Notes}
%%%%%%%%%%%%%



\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
\Configure{marginpar}
   {\ifvmode
      \IgnorePar\EndP\HCode{&lt;p class="marginpar"&gt;&lt;PROS
                PITCH="+30" &gt;}%
         |&lt;begin ver marginpar|&gt;%
      \def\end:margp{\ifvmode \IgnorePar\fi \EndP 
         |&lt;end ver marginpar|&gt;\HCode{&lt;/PROS&gt;&lt;/p&gt;&lt;BREAK SIZE="small"/&gt;}}%
      \par
    \else
      \SaveEndP
      \HCode{&lt;SENT&gt;&lt;span class="marginpar"&gt;&lt;PROS
                PITCH="+30" &gt;}|&lt;begin hor marginpar|&gt;%
      \bgroup
         \Configure{HtmlPar}
             {&lt;BREAK SIZE="small" /&gt;}
             {\HCode{&lt;BREAK SIZE="small" /&gt;}}
             {}{}%
      \def\end:margp{\egroup
             |&lt;end hor marginpar|&gt;\HCode{&lt;/PROS&gt;&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;&lt;/SENT&gt;}\RecallEndP}%
    \fi
   }
   {\end:margp}
&gt;&gt;&gt;


\&lt;begin ver marginpar\&gt;&lt;&lt;&lt;
\HCode{&lt;div&gt;
     \add:description{begin-end}{&lt;PROS PITCH="-15"&gt;\a:speak:marginpar
                      &lt;/PROS&gt;}&lt;/div&gt;&lt;div&gt;}%
&gt;&gt;&gt;

\&lt;end ver marginpar\&gt;&lt;&lt;&lt;
\HCode{&lt;/div&gt;&lt;div&gt;
    \add:description{begin-end}{\b:speak:marginpar}&lt;/div&gt;}%
&gt;&gt;&gt;


\&lt;begin hor marginpar\&gt;&lt;&lt;&lt;
\HCode{\add:description{begin-end}{&lt;PROS pitch="-15"&gt;\a:speak:marginpar
                      &lt;/PROS&gt;}}%
&gt;&gt;&gt;

\&lt;end hor marginpar\&gt;&lt;&lt;&lt;
\HCode{\add:description{begin-end}{\b:speak:marginpar}}%
&gt;&gt;&gt;



\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
\NewConfigure{speak:marginpar}{2}
\Configure{speak:marginpar}
   {&lt;BREAK SIZE="small"/&gt;margin note&lt;BREAK SIZE="small"/&gt;}
   {}
&gt;&gt;&gt;







%%%%%%%%%%%%%%%%%%
\section{Footnotes}
%%%%%%%%%%%%%%%%%%


\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
|&lt;latex footnotes|&gt;
&gt;&gt;&gt;

\&lt;latex footnotes\&gt;&lt;&lt;&lt;
\Configure{footnote-mark}
   {\HCode{&lt;SENT&gt;&lt;span class="footnote-mark"&gt;&lt;PROS
                PITCH="+30" &gt;}|&lt;begin footnote note|&gt;}
   {|&lt;end footnote note|&gt;\HCode{&lt;/PROS&gt;&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;&lt;/SENT&gt;}}  
&gt;&gt;&gt;



\&lt;begin footnote note\&gt;&lt;&lt;&lt;
\HCode{\add:description{added-description}{&lt;PROS
             pitch="-15"&gt;\a:speak:footnote&lt;/PROS&gt;}}%
&gt;&gt;&gt;


\&lt;end footnote note\&gt;&lt;&lt;&lt;
\HCode{}%
&gt;&gt;&gt;


\&lt;latex footnotes\&gt;&lt;&lt;&lt;
\NewConfigure{speak:footnote}{1}
\Configure{speak:footnote}
   { &lt;BREAK SIZE="small"/&gt;footnote&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;





%%%%%%%%%%%%%%%%%%
\section{Lists}
%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%
\subsection{Shared}
%%%%%%%%%%%%%




\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
|&lt;latex lists|&gt;
&gt;&gt;&gt;

\&lt;latex lists\&gt;&lt;&lt;&lt;
\ConfigureList{trivlist}%
   {\EndP\HCode{&lt;dl \a:LRdir class="trivlist"&gt;}%
       |&lt;save end:itm|&gt;\global\let\end:itm=\empty}
   {|&lt;recall end:itm|&gt;\EndP\HCode{&lt;/dd&gt;&lt;/dl&gt;}\ShowPar}
   {\end:itm \global\def\end:itm{\EndP\Tg&lt;/dd&gt;}\HCode{&lt;dt
        class="trivlist"&gt;}\bgroup \bf}
   {\egroup\HCode{&lt;/dt&gt;&lt;dd\Hnewline class="trivlist"&gt;}}
&gt;&gt;&gt;

\&lt;latex lists\&gt;&lt;&lt;&lt;
\ConfigureList{list}%
   {\EndP\HCode{&lt;dl \a:LRdir class="list\expandafter\the
         \csname @listdepth\endcsname"&gt;}%
    |&lt;save end:itm|&gt;\global\let\end:itm=\empty}
   {|&lt;recall end:itm|&gt;\EndP\HCode{&lt;/dd&gt;&lt;/dl&gt;}\ShowPar}
   {\end:itm \global\def\end:itm{\EndP\Tg&lt;/dd&gt;}\HCode{&lt;dt
        class="list"&gt;}\bgroup \bf}
   {\egroup\HCode{&lt;/dt&gt;&lt;dd\Hnewline class="list"&gt;}}
&gt;&gt;&gt;

%%%%%%%%%%%%%
\subsection{Itemized}
%%%%%%%%%%%%%



\&lt;latex lists\&gt;&lt;&lt;&lt;
\ConfigureList{itemize}%
   {\EndP\HCode{&lt;ul
           \a:LRdir class="ul-itemize\expandafter\the
          \csname @itemdepth\endcsname"&gt;&lt;PROS PITCH="+15"&gt;}%
     |&lt;begin itemize note|&gt;%
     |&lt;save end:itm|&gt;\global\let\end:itm=\empty}
   {|&lt;recall end:itm|&gt;\ifvmode \IgnorePar\fi 
    \EndP \HCode{&lt;/li&gt;}|&lt;end itemize note|&gt;%
    \HCode{&lt;/PROS&gt;&lt;/ul&gt;}\ShowPar}
   {\end:itm \global\def\end:itm{\EndP\HCode{&lt;/li&gt;}}%
    \HCode{&lt;li class="li-itemize"&gt;}|&lt;itemize item|&gt;\DeleteMark
   }
   {\HCode{}}
&gt;&gt;&gt;

\&lt;begin itemize note\&gt;&lt;&lt;&lt;
\HCode{&lt;div class="itemize"&gt;%
      &lt;div class="added-list-description"&gt;%
     \add:description{added-description}{\a:speak:itemize}&lt;/div&gt;}%
&gt;&gt;&gt;

\&lt;end itemize note\&gt;&lt;&lt;&lt;
\HCode{&lt;div class="added-list-description"&gt;%
     \add:description{added-description}{\b:speak:itemize}&lt;/div&gt;&lt;/div&gt;}%
&gt;&gt;&gt;

\&lt;itemize item\&gt;&lt;&lt;&lt;
\HCode{&lt;span class="added-list-description"&gt;%
    \add:description{added-description}{\c:speak:itemize}&lt;/span&gt;}%
&gt;&gt;&gt;



\&lt;latex lists\&gt;&lt;&lt;&lt;
\NewConfigure{speak:itemize}{3}
\Configure{speak:itemize}
   {&lt;BREAK SIZE="small"/&gt;begin \ifcase\csname @listdepth\endcsname
          \or \or sub \or sub sub \or sub sub sub \else\fi
       list}
   {&lt;BREAK SIZE="small"/&gt;end \ifcase\csname @listdepth\endcsname
         \or sub \or sub sub \or sub sub sub \else\fi
       list&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="medium"/&gt;&lt;PROS PITCH="-5"&gt;|%\ifcase\csname @listdepth\endcsname
          \or \or sub \or sub sub \or sub sub sub \else\fi|%
       item&lt;/PROS&gt;&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;






%%%%%%%%%%%%%
\subsection{Enumerate}
%%%%%%%%%%%%%




\&lt;latex lists\&gt;&lt;&lt;&lt;
\ConfigureList{enumerate}%
      {|&lt;enumerate I|&gt;}
      {|&lt;enumerate II|&gt;}
      {|&lt;enumerate III|&gt;}
      {|&lt;enumerate IV|&gt;}
&gt;&gt;&gt;


\&lt;enumerate I\&gt;&lt;&lt;&lt;
\EndP \HCode{&lt;ol \a:enumerate:\space 
      class="ol-enumerate\expandafter\the\csname @enumdepth\endcsname"
      \a:LRdir
     &gt;&lt;PROS PITCH="+15"&gt;}%
|&lt;begin enumerate note|&gt;%
|&lt;save end:itm|&gt;\global\let\end:itm=\empty
&gt;&gt;&gt;

\&lt;enumerate II\&gt;&lt;&lt;&lt;
|&lt;recall end:itm|&gt;%
\EndP \HCode{&lt;/li&gt;}%
|&lt;end enumerate note|&gt;%
\HCode{&lt;/PROS&gt;&lt;/ol&gt;}\ShowPar
&gt;&gt;&gt;


\&lt;enumerate III\&gt;&lt;&lt;&lt;
\end:itm \gdef\end:itm{\EndP\HCode{&lt;/li&gt;}}%
\HCode{&lt;li class="li-enumerate" \Hnewline&gt;&lt;SENT&gt;&lt;span
   class="ol-mark"&gt;&lt;BREAK
       SIZE="medium"/&gt;&lt;PROS PITCH="-5" &gt;}|&lt;enumerate item|&gt;%\DeleteMark
&gt;&gt;&gt;

\&lt;enumerate IV\&gt;&lt;&lt;&lt;
\HCode{&lt;/PROS&gt;&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;&lt;/SENT&gt;}%\AnchorLabel
&gt;&gt;&gt;



\&lt;save end:itm\&gt;&lt;&lt;&lt;
\PushMacro\end:itm
&gt;&gt;&gt;


\&lt;recall end:itm\&gt;&lt;&lt;&lt;
\PopMacro\end:itm \global\let\end:itm \end:itm 
&gt;&gt;&gt;




\&lt;begin enumerate note\&gt;&lt;&lt;&lt;
\HCode{&lt;div class="enumerate"&gt;%
   &lt;div class="added-list-description"&gt;%
   \add:description{added-description}{\a:speak:enumerate}&lt;/div&gt;}%
&gt;&gt;&gt;


\&lt;end enumerate note\&gt;&lt;&lt;&lt;
\HCode{&lt;div class="added-list-description"&gt;%
   \add:description{added-description}{\b:speak:enumerate}&lt;/div&gt;&lt;/div&gt;}%
&gt;&gt;&gt;

\&lt;enumerate item\&gt;&lt;&lt;&lt;
\HCode{&lt;span class="added-list-description"&gt;%
       \add:description{added-description}{\c:speak:enumerate}&lt;/span&gt;}%
&gt;&gt;&gt;



\&lt;roman enumeiii\&gt;&lt;&lt;&lt;
\Configure{enumiii}
    {\HCode{&lt;span class="roman-numeral"&gt;}%
     Roman numeral \HCode{}\the\c@enumiii 
     \HCode{}\:gobbleII}
    {\HCode{&lt;/span&gt;}}
\long\def\:tempc{(\theenumii)}
\ifx \labelenumii\:tempc
   \def\:tempc{(\HCode{}\theenumii\HCode{})}
   \HLet\labelenumii\:tempc
\fi
&gt;&gt;&gt;



\&lt;latex lists\&gt;&lt;&lt;&lt;
\NewConfigure{speak:enumerate}{3}
\Configure{speak:enumerate}
   {&lt;BREAK SIZE="small"/&gt;begin \ifcase\csname @listdepth\endcsname
          \or \or sub \or sub sub \or sub sub sub \else\fi
      list}
   {&lt;BREAK SIZE="small"/&gt;end \ifcase\csname @listdepth\endcsname
         \or sub \or sub sub \or sub sub sub \else\fi
      list&lt;BREAK SIZE="small"/&gt;}
   {|%\ifcase\csname @listdepth\endcsname
          \or \or sub \or sub sub \or sub sub sub \else\fi|%
       item &lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;

%%%%%%%%%%%%%
\subsection{Description}
%%%%%%%%%%%%%


\&lt;description lists\&gt;&lt;&lt;&lt;
\ConfigureList{description}%
   {\EndP
    \HCode{&lt;dl \a:LRdir class="dl-description"&gt;&lt;PROS PITCH="+15"&gt;}%
      |&lt;begin description note|&gt;%
      |&lt;save end:itm|&gt;\global\let\end:itm=\empty}
   {|&lt;recall end:itm|&gt;\EndP\HCode{&lt;/dd&gt;}%
    |&lt;end description note|&gt;%
    \HCode{&lt;/PROS&gt;&lt;/dl&gt;}%
    \ShowPar}
   {\end:itm \global\def\end:itm{\EndP\HCode{&lt;/dd&gt;}}\HCode{&lt;SENT&gt;&lt;span&gt;&lt;dt 
        class="dt-description"&gt;&lt;EMP
            LEVEL="moderate"&gt;}|&lt;description item|&gt;\bgroup \bf}
   {\egroup\EndP\HCode{&lt;/EMP&gt;&lt;BREAK
      SIZE="small"/&gt;&lt;/dt&gt;&lt;/span&gt;&lt;/SENT&gt;&lt;dd\Hnewline class="dd-description"&gt;}}
&gt;&gt;&gt;







\&lt;begin description note\&gt;&lt;&lt;&lt;
\HCode{&lt;div class="description"&gt;%
   &lt;div class="added-list-description"&gt;%
   \add:description{added-description}{\a:speak:description}&lt;/div&gt;}%
&gt;&gt;&gt;


\&lt;end description note\&gt;&lt;&lt;&lt;
\HCode{&lt;div class="added-list-description"&gt;%
    \add:description{added-description}{\b:speak:description}&lt;/div&gt;&lt;/div&gt;}%
&gt;&gt;&gt;

\&lt;description item\&gt;&lt;&lt;&lt;
\HCode{&lt;span class="added-list-description"&gt;%
  \add:description{added-description}{\c:speak:description}%
 &lt;/span&gt;}%
&gt;&gt;&gt;


\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\NewConfigure{speak:description}{3}
\Configure{speak:description}
   {&lt;BREAK SIZE="small"/&gt;begin \ifcase\csname @listdepth\endcsname
          \or \or sub \or sub sub \or sub sub sub \else\fi
       list}
   {&lt;BREAK SIZE="small"/&gt;end \ifcase\csname @listdepth\endcsname
         \or sub \or sub sub \or sub sub sub \else\fi
       list&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;|%\ifcase\csname @listdepth\endcsname
          \or \or sub \or sub sub \or sub sub sub \else\fi|%
       item}
&gt;&gt;&gt;






%%%%%%%%%%%%%%%%%%
\section{Verbatim}
%%%%%%%%%%%%%%%%%%

\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
\Configure{verbatim} 
   {\HAdvance\Verb:N by 1 \ifnum \Verb:N&gt;1 
      \:nbsp \HCode{&lt;br /&gt;}\fi}
   {\a:sp}
\def\env:verb#1{\ifinner\else \vfill\break\fi
  \IgnorePar\EndP  \HAssign\Verb:N=0
  \HCode{&lt;PARA&gt;&lt;div class="#1"\a:LRdir&gt;%
    \add:description{added-description}{begin verbatim}%
    &lt;PROS \a:verbatim::style &gt;}\EndNoFonts}
\def\endenv:verb{\NoFonts
  \EndP \ht:special{t4ht=&lt;/PROS&gt;%
    \add:description{added-description}{end verbatim}%
    &lt;/div&gt;&lt;/PARA&gt;}|&lt;try inline par|&gt;}
\NewConfigure{verbatim::style}{1}
\Configure{verbatim::style}{RATE="150" PITCH="-10" RANGE="0"}
&gt;&gt;&gt;


\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
\Configure{verb}
   {\HCode{&lt;SENT&gt;&lt;span class="verb"\a:LRdir&gt;&lt;PROS \a:verbatim::style &gt;}}
   {\HCode{&lt;/PROS&gt;&lt;/span&gt;&lt;/SENT&gt;}}
&gt;&gt;&gt;




% %%%%%%%%%%%%%%%%%%
% \section{Verbatim}
% %%%%%%%%%%%%%%%%%%
% 
% 
% \&lt;configure jsml latex\&gt;&lt;&lt;&lt;
% \Configure{verbatim} {} {\a:sp}
% \def\env:verb#1{\ifinner\else \vfill\break\fi
%   \IgnorePar\EndP  \HAssign\Verb:N=0
%   \HCode{\add:description{added-description}{begin verbatim}%
%          &lt;pre class="#1"\a:LRdir&gt;}\EndNoFonts}
% \def\endenv:verb{\NoFonts
%   \EndP \ht:special{t4ht=&lt;/pre&gt;}%
%      \add:description{added-description}{end verbatim}%
%      |&lt;try inline par|&gt;}
% \def\start:fenv#1{\:xhtml{\IgnorePar
%               \EndP}\HCode{&lt;div align="#1"\Hnewline\a:LRdir&gt;}}
% \def\end:fenv{\IgnorePar\HCode{&lt;/div&gt;}\IgnorePar}
% &gt;&gt;&gt;





%%%%%%%%%%%%%%%%%%
\section{Figures}
%%%%%%%%%%%%%%%%%%


\&lt;config book-report-article\&gt;&lt;&lt;&lt;
|&lt;config captions|&gt;
&gt;&gt;&gt;

\&lt;configure jsml aa\&gt;&lt;&lt;&lt;   
|&lt;config captions|&gt;
&gt;&gt;&gt;

\&lt;ams art,proc,book\&gt;&lt;&lt;&lt;
|&lt;config captions|&gt;
&gt;&gt;&gt;





\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
\ConfigureEnv{figure}
   {\IgnorePar\EndP
     \HCode{&lt;PARA&gt;&lt;div class="figure"\Hnewline&gt;|&lt;begin figure note|&gt;}%
    \bgroup \Configure{float}{\ShowPar}{}{}%    
   }
   {\egroup
    \IgnorePar\EndP\HCode{|&lt;end figure note|&gt;&lt;/div&gt;&lt;/PARA&gt;}%
    |&lt;try env inline par|&gt;\par}
   {}{}
&gt;&gt;&gt;


\&lt;config captions\&gt;&lt;&lt;&lt;
\Configure{caption}
   {\IgnorePar\EndP
    \HCode{&lt;PARA&gt;&lt;div class="caption"&gt;&lt;SENT&gt;&lt;span class="mark"&gt;%
        &lt;BREAK SIZE="small"/&gt;&lt;EMP 
                   LEVEL="medium"&gt;}|&lt;caption of fig|&gt;}
   {: \HCode{&lt;/EMP&gt;&lt;BREAK SIZE="small"/&gt;}}
   {|&lt;end caption|&gt;\HCode{&lt;/span&gt;&lt;/SENT&gt;%
      &lt;SENT&gt;&lt;span \Hnewline class="content"&gt;%
        \add:description{added-description}{\a:speak:caption}}} 
   {\HCode{\add:description{added-description}{\b:speak:caption}%
         &lt;/span&gt;&lt;/SENT&gt;&lt;/div&gt;&lt;/PARA&gt;}|&lt;caption label comment|&gt;}
&gt;&gt;&gt;


\&lt;begin figure note\&gt;&lt;&lt;&lt;
&lt;div&gt;\add:description{begin-end}{\a:speak:figure}&lt;/div&gt;%
&gt;&gt;&gt;


\&lt;end figure note\&gt;&lt;&lt;&lt;
&lt;div&gt;\add:description{begin-end}{\b:speak:figure}&lt;/div&gt;%
&gt;&gt;&gt;

\&lt;caption of fig\&gt;&lt;&lt;&lt;
\HCode{\add:description{added-description}{\c:speak:caption}}%
&gt;&gt;&gt;

\&lt;end caption\&gt;&lt;&lt;&lt;
&gt;&gt;&gt;

\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
\NewConfigure{speak:caption}{3}
\Configure{speak:caption}
   {}
   {}
   {caption of}
\NewConfigure{speak:figure}{2}
\Configure{speak:figure}
   {&lt;BREAK
       SIZE="small"/&gt;&lt;PROS PITCH="-15" &gt;begin figure&lt;/PROS&gt;}
   {&lt;BREAK
       SIZE="small"/&gt;&lt;PROS PITCH="-15" &gt;end figure&lt;/PROS&gt;}
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%
\section{Quote}
%%%%%%%%%%%%%%%%%%


\&lt;config book-report-article\&gt;&lt;&lt;&lt;
|&lt;quote config|&gt;
&gt;&gt;&gt;


\&lt;configure html4 letter\&gt;&lt;&lt;&lt; 
|&lt;quote config|&gt;
&gt;&gt;&gt;

\&lt;quote config\&gt;&lt;&lt;&lt;
\ConfigureEnv{quote}
   {}{}
   {\IgnorePar\EndP
    \HCode{&lt;PARA&gt;&lt;div class="quote"&gt;&lt;PROS
                PITCH="-10" &gt;}}
   {\IgnorePar\EndP
    \HCode{&lt;/PROS&gt;&lt;/div&gt;&lt;/PARA&gt;}\ShowPar\ShowIndent}
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%
\section{Fonts}
%%%%%%%%%%%%%%%%%%

\&lt;configure jsml tex4ht\&gt;&lt;&lt;&lt;
\Configure{htf}{0}{+}{}{}{}{}{}{}{}
&gt;&gt;&gt;




\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
\Configure{texttt}
   {\Protect\HCode{&lt;SENT&gt;&lt;span class="texttt"&gt;&lt;PROS
      \a:verbatim::style}}
   {\Protect\HCode{&lt;/PROS&gt;&lt;/span&gt;&lt;/SENT&gt;}}
\Configure{emph}
   {\Protect\HCode{&lt;SENT&gt;&lt;span class="emph"&gt;&lt;EMP
            LEVEL="moderate"&gt;}}
   {\Protect\HCode{&lt;/EMP&gt;&lt;/span&gt;&lt;/SENT&gt;}}
\Configure{textbf}
   {\Protect\HCode{&lt;span class="textbf"&gt;&lt;EMP
            LEVEL="strong"&gt;}}
   {\Protect\HCode{&lt;/EMP&gt;&lt;/span&gt;}}
&gt;&gt;&gt;


\&lt;\&gt;&lt;&lt;&lt;
\Configure{textit}{\Protect\HCode{&lt;span class="textit"&gt;}}
                  {\Protect\HCode{&lt;/span&gt;}}
\Configure{textrm}{\Protect\HCode{&lt;span class="textrm"&gt;}}
                  {\Protect\HCode{&lt;/span&gt;}}
\Configure{textup}{\Protect\HCode{&lt;span class="textup"&gt;}}
                  {\Protect\HCode{&lt;/span&gt;}}  
\Configure{textsc}{\Protect\HCode{&lt;span class="textsc"&gt;}}
                  {\Protect\HCode{&lt;/span&gt;}}
\Configure{textsf}{\Protect\HCode{&lt;span class="textsf"&gt;}}
                  {\Protect\HCode{&lt;/span&gt;}}  
\Configure{textsl}{\Protect\HCode{&lt;span class="textsl"&gt;}}
                  {\Protect\HCode{&lt;/span&gt;}}
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%
\part{Math}
%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%
\section{Math Delimiters}
%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%
\subsection{Full Expressions}
%%%%%%%%%%%%%




\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\Configure{DviMath}
    {\a:DviMathSpk \mathmltrue
       \ifOption{mml-fonts}{}{|%\mml:htfsym|%\NoFonts}%
       \IgnoreRule \HCode{&lt;!--l.
       \the\inputlineno--&gt;}\a:math
       |&lt;sv dvimath par|&gt;\IgnorePar}
    {\EndIgnoreRule
     \mathmlfalse \b:DviMathSpk |&lt;recall dvimath par|&gt;}
\NewConfigure{DviMathSpk}{2}
&gt;&gt;&gt;



\&lt;sv dvimath par\&gt;&lt;&lt;&lt;
\edef\sv:ignore{\if:nopar  
    \noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
&gt;&gt;&gt;


\&lt;recall dvimath par\&gt;&lt;&lt;&lt;
\sv:ignore
&gt;&gt;&gt;



\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\Configure{math}{}
\Configure{$}
   {|&lt;conf inline math|&gt;\DviMath}
   {\EndDviMath}{}
\Configure{$$} 
   {|&lt;conf display math|&gt;\DviMath}
   {\EndDviMath
       \ShowPar\par{\csname HCondtrue\endcsname\noindent}}
   {\DisplayMathtrue}
&gt;&gt;&gt;


\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
\Configure{[]}
  {|&lt;conf display math|&gt;\DviMath $$\DisplayMathtrue }
  {$$\EndDviMath}
\Configure{()}
  {|&lt;conf inline math|&gt;\DviMath $}
  {$\EndDviMath}
&gt;&gt;&gt;


\&lt;conf inline math\&gt;&lt;&lt;&lt;
\Configure{DviMathSpk}
      {\HCode{&lt;span class="inline-math"&gt;%
              \add:description{begin-math}{\a:speak:math}}}
      {\HCode{\add:description{end-math}{\b:speak:math}&lt;/span&gt;}}%
&gt;&gt;&gt;     


\&lt;conf display math\&gt;&lt;&lt;&lt;
\Configure{@math}{div}\IgnorePar
    |&lt;inline end-par comment|&gt;\EndP
    \Configure{DviMathSpk}
      {\HCode{&lt;div class="display-math"&gt;%
              \add:description{begin-math}{\a:speak:math}}}
      {\HCode{\add:description{end-math}{\b:speak:math}&lt;/div&gt;}}%
&gt;&gt;&gt;   


\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\NewConfigure{speak:math}{2}
\Configure{speak:math}
   {%&lt;BREAK SIZE="small"/&gt;&lt;PROS PITCH="-5" &gt;math&lt;/PROS&gt;
    &lt;BREAK SIZE="small"/&gt;}
   {%&lt;BREAK SIZE="small"/&gt;&lt;PROS PITCH="-5" &gt;end math&lt;/PROS&gt;
    &lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;





%%%%%%%%%%%%%%%%%%
\chapter{Over and Under}
%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%%%
\section{Subscrips and Superscripts (sub and super)}
%%%%%%%%%%%%%

\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
|&lt;sub, sup, subsup|&gt;            
|&lt;limits sub, sup, subsup|&gt;     
&gt;&gt;&gt;

\&lt;sub, sup, subsup\&gt;&lt;&lt;&lt;
\Configure{SUB} 
   {\Send{BACK}
     {|&lt;start msub base|&gt;}|&lt;msub sub|&gt;}
   {|&lt;close msub|&gt;}
\Configure{SUP}
   {\Send{BACK}
   {|&lt;start msup base|&gt;}|&lt;msup super|&gt;}
   {|&lt;close msup|&gt;}
\Configure{SUBSUP}
   {\Send{BACK}
   {|&lt;start msubsup base|&gt;}|&lt;msubsup sub|&gt;}
   {|&lt;msubsup sup|&gt;}
   {|&lt;close msubsup|&gt;}
&gt;&gt;&gt;



\&lt;start msup base\&gt;&lt;&lt;&lt;
&lt;msup&gt;&lt;mrow class="mrow-base"\Hnewline&gt;%
&gt;&gt;&gt;

\&lt;msup super\&gt;&lt;&lt;&lt;
\HCode{&lt;/mrow&gt;&lt;mrow class="mrow-super"\Hnewline
    &gt;\add:description{begin-script}{\b:speak:subsup}%
       &lt;PROS PITCH="+10"&gt;}\trap:base
&gt;&gt;&gt;

\&lt;close msup\&gt;&lt;&lt;&lt;
\HCode{&lt;/PROS&gt;\add:description{end-script}{\c:speak:subsup}%
       &lt;/mrow&gt;&lt;/msup\Hnewline&gt;}%
&gt;&gt;&gt;



\&lt;start msub base\&gt;&lt;&lt;&lt;
&lt;msub&gt;&lt;mrow class="mrow-base"\Hnewline&gt;%
&gt;&gt;&gt;



\&lt;msub sub\&gt;&lt;&lt;&lt;
\HCode{&lt;/mrow&gt;&lt;mrow class="mrow-sub"\Hnewline
   &gt;\add:description{begin-script}{\a:speak:subsup}%
   &lt;PROS PITCH="-10"&gt;}\trap:base
&gt;&gt;&gt;

\&lt;close msub\&gt;&lt;&lt;&lt;
\HCode{&lt;/PROS&gt;\add:description{end-script}{\c:speak:subsup}%
   &lt;/mrow&gt;&lt;/msub\Hnewline&gt;}%
&gt;&gt;&gt;

% 
% 

\&lt;start msubsup base\&gt;&lt;&lt;&lt;
&lt;msubsup&gt;&lt;mrow class="mrow-base"\Hnewline&gt;%
&gt;&gt;&gt;

\&lt;msubsup sub\&gt;&lt;&lt;&lt;
\HCode{&lt;/mrow&gt;&lt;mrow class="mrow-sub"\Hnewline
   &gt;\add:description{begin-script}{\a:speak:subsup}%
        &lt;PROS PITCH="-10"&gt;}\trap:base
&gt;&gt;&gt;


\&lt;msubsup sup\&gt;&lt;&lt;&lt;
\HCode{&lt;/PROS&gt;&lt;/mrow&gt;&lt;mrow class="mrow-super"\Hnewline
   &gt;\add:description{mid-script}{\b:speak:subsup}%
        &lt;PROS PITCH="+10"&gt;}\trap:base
&gt;&gt;&gt;


\&lt;close msubsup\&gt;&lt;&lt;&lt;
\HCode{&lt;/PROS&gt;\add:description{end-script}{\c:speak:subsup}%
   &lt;/mrow&gt;&lt;/msubsup\Hnewline&gt;}%
&gt;&gt;&gt;

\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\NewConfigure{speak:subsup}{3}
\Configure{speak:subsup}
   {&lt;PROS PITCH="-5"&gt;&lt;BREAK SIZE="small"/&gt; 
    &lt;span class="scripts-extra"&gt; subscript &lt;/span&gt;
    &lt;BREAK SIZE="small"/&gt;&lt;/PROS&gt;}
   {&lt;PROS PITCH="+5"&gt;&lt;BREAK SIZE="small"/&gt; 
    &lt;span class="scripts-extra"&gt; superscript &lt;/span&gt;
    &lt;BREAK SIZE="small"/&gt;&lt;/PROS&gt;}
   {&lt;PROS PITCH="-5"&gt;&lt;BREAK SIZE="medium"/&gt; 
    &lt;span class="scripts-extra"&gt; baseline &lt;/span&gt;
    &lt;BREAK SIZE="small"/&gt;&lt;/PROS&gt;}
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%
\section{Delimiters}
%%%%%%%%%%%%%%%%%%

\&lt;plain,fontmath math\&gt;&lt;&lt;&lt;
\Configure{MathClass}{1}{*}{&lt;mo\Hnewline
      class="MathClass-op"&gt;&lt;BREAK SIZE="small"/&gt;}
    {&lt;BREAK SIZE="small"/&gt;&lt;/mo&gt;}{}
\Configure{MathClass}{2}{*}{&lt;mo\Hnewline
      class="MathClass-bin"&gt;&lt;BREAK SIZE="small"/&gt;}
    {&lt;BREAK SIZE="small"/&gt;&lt;/mo&gt;}{}
\Configure{MathClass}{3}{*}{&lt;mo\Hnewline
             class="MathClass-rel"&gt;&lt;BREAK SIZE="small"/&gt;}
       {&lt;BREAK SIZE="small"/&gt;&lt;/mo&gt;}{}
\:CheckOption{mathml-}     \if:Option 
   \Configure{MathClass}{4}{*}{&lt;mo\Hnewline
             class="MathClass-open"&gt;}
                   {&lt;/mo&gt;&lt;BREAK SIZE="small"/&gt;}{}
   \Configure{MathClass}{5}{*}{&lt;BREAK SIZE="small"/&gt;%
             &lt;mo\Hnewline
             class="MathClass-close"&gt;}
                           {&lt;/mo&gt;}{}
\else
   \Configure{MathClass}{4}{*}{&lt;mfenced&gt;&lt;mo\Hnewline
             class="MathClass-open"&gt;}
       {&lt;/mo&gt;&lt;mrow&gt;&lt;BREAK SIZE="small"/&gt;}{}
   \Configure{MathClass}{5}{*}{&lt;BREAK SIZE="small"/&gt;%
                         &lt;/mrow&gt;&lt;mo\Hnewline
             class="MathClass-close"&gt;}
                           {&lt;/mo&gt;&lt;/mfenced&gt;}{}
\fi
&gt;&gt;&gt;


\&lt;plain,fontmath math\&gt;&lt;&lt;&lt;
\def\sin{\mathop {\operator@font sine}\nolimits}
\def\cos{\mathop {\operator@font cosine}\nolimits}
\def\lim{\mathop {\operator@font limit}}
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%
\section{Fractions and Stacks}
%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%
\subsection{Regular Ones}
%%%%%%%%%%%%%



\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\Configure{over}
   {\Send{GROUP}{0}{|&lt;start mfrac|&gt;}|&lt;end frac numerator|&gt;}
   {|&lt;frac enumerator|&gt;\Send{EndGROUP}{0}{|&lt;end mfrac|&gt;}}
\Configure{atop}
   {\Send{GROUP}{0}{|&lt;start atop|&gt;}|&lt;end atop over|&gt;}
   {|&lt;start atop under|&gt;\Send{EndGROUP}{0}{|&lt;end atop|&gt;}}
\Configure{above}
   {\Send{GROUP}{0}{|&lt;start above|&gt;}%
    |&lt;end above over|&gt;\o:over:\:gobbleII}
   {|&lt;start above under|&gt;\Send{EndGROUP}{0}{|&lt;end above|&gt;}}
&gt;&gt;&gt;

\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
|&lt;plain,latex mathml|&gt;
|&lt;mathml latex|&gt;
&gt;&gt;&gt;

\&lt;mathml latex\&gt;&lt;&lt;&lt;
\Configure{frac}
   {\HCode{|&lt;start mfrac|&gt;}}
   {|&lt;end frac numerator|&gt;\Configure{over}{}{}}
   {|&lt;frac enumerator|&gt;}
   {\HCode{|&lt;end mfrac|&gt;}}
&gt;&gt;&gt;



\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{above}
   {\Send{GROUP}{0}{|&lt;start above|&gt;}%
                    |&lt;end above over|&gt;\o:@@over:\:gobbleII}
   {|&lt;start above under|&gt;\Send{EndGROUP}{0}{|&lt;end above|&gt;}}
&gt;&gt;&gt;


\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\Configure{choose}
   {\Send{GROUP}{0}{&lt;mover class="choose"&gt;%
       \add:description{begin-stack}{\a:speak:choose}%
       &lt;mrow class="mrow-upper"&gt;}%
    \HCode{&lt;/mrow&gt;}\o:atop:
    \HCode{\add:description{added-description}%
       {\c:speak:choose}&lt;mrow class="mrow-under"&gt;}%
    \Send{EndGROUP}{0}%
      {&lt;/mrow&gt;\add:description{end-stack}{\b:speak:choose}&lt;/mover&gt;}%
   }
&gt;&gt;&gt;



\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\NewConfigure{speak:choose}{3}
\Configure{speak:choose}
   {&lt;BREAK SIZE="small"/&gt;binomial coefficient&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="medium"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;choose&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;


\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{tbinom}
 {\Send{GROUP}{0}{&lt;mover class="tbinom"&gt;%
       \add:description{begin-stack}{\a:speak:choose}%
       &lt;mrow class="mrow-upper"&gt;}%
    \HCode{&lt;/mrow&gt;}\o:@@abovewithdelims: ..\z@{}%
    \HCode{\add:description{added-description}%
       {\c:speak:choose}&lt;mrow class="mrow-under"&gt;}%
    \Send{EndGROUP}{0}%
      {&lt;/mrow&gt;\add:description{end-stack}{\b:speak:choose}&lt;/mover&gt;}%
   }
&gt;&gt;&gt;

\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{dbinom}
 {\Send{GROUP}{0}{&lt;mover class="dbinom"&gt;%
       \add:description{begin-stack}{\a:speak:choose}%
       &lt;mrow class="mrow-upper"&gt;}%
    \HCode{&lt;/mrow&gt;}\o:@@abovewithdelims: ..\z@{}%
    \HCode{\add:description{added-description}{\c:speak:choose}&lt;mrow class="mrow-under"&gt;}%
    \Send{EndGROUP}{0}%
      {&lt;/mrow&gt;\add:description{end-stack}{\b:speak:choose}&lt;/mover&gt;}%
   }
&gt;&gt;&gt;




\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{binom}
 {\Send{GROUP}{0}{&lt;mover class="binom"&gt;%
       \add:description{begin-stack}{\a:speak:choose}%
       &lt;mrow class="mrow-upper"&gt;}%
    \HCode{&lt;/mrow&gt;}\o:@@abovewithdelims: ..\z@{}%
    \HCode{\add:description{added-description}{\c:speak:choose}&lt;mrow class="mrow-under"&gt;}%
    \Send{EndGROUP}{0}%
      {&lt;/mrow&gt;\add:description{end-stack}{\b:speak:choose}&lt;/mover&gt;}%
   }
&gt;&gt;&gt;

%%%%%%%%%%%%%
\subsection{With Delimiters}
%%%%%%%%%%%%%





\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\def\abovewithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{|&lt;start above|&gt;}%
      |&lt;end above over|&gt;\o:over:
      |&lt;start above under|&gt;\Send{EndGROUP}{0}{|&lt;end above|&gt;}
   \else
      \Send{GROUP}{0}%
         {&lt;mo class="mfenced-open"&gt;|&lt;lr del 2|&gt;&lt;/mo&gt;%
          |&lt;start above|&gt;}%
      |&lt;end above over|&gt;\o:over:
      |&lt;start above under|&gt;\Send{EndGROUP}{0}{|&lt;end above|&gt;%
         &lt;mo class="mfenced-close"&gt;|&lt;lr del 3|&gt;&lt;/mo&gt;}
   \fi  
   \tmp:dim
 }
&gt;&gt;&gt;



\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\def\atopwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{|&lt;start atop|&gt;}%
      |&lt;end atop over|&gt;\o:atop:
      |&lt;start atop under|&gt;\Send{EndGROUP}{0}{|&lt;end atop|&gt;}
   \else
      \Send{GROUP}{0}%
         {&lt;mo class="mfenced-open"&gt;|&lt;lr del 2|&gt;&lt;/mo&gt;%
          |&lt;start atop|&gt;}%
      |&lt;end atop over|&gt;\o:atop:
      |&lt;start atop under|&gt;%
      \Send{EndGROUP}{0}{|&lt;end atop|&gt;%
         &lt;mo class="mfenced-close"&gt;|&lt;lr del 3|&gt;&lt;/mo&gt;}
   \fi
 }
&gt;&gt;&gt;

\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\def\overwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{|&lt;start mfrac|&gt;}|&lt;end frac numerator|&gt;\o:over:
      |&lt;frac enumerator|&gt;\Send{EndGROUP}{0}{|&lt;end mfrac|&gt;}
   \else
      \Send{GROUP}{0}%
         {&lt;mo class="mfenced-open"&gt;|&lt;lr del 2|&gt;&lt;/mo&gt;%
          |&lt;start mfrac|&gt;}%
      |&lt;end frac numerator|&gt;\o:over:
      |&lt;frac enumerator|&gt;\Send{EndGROUP}{0}{|&lt;end mfrac|&gt;%
             &lt;mo class="mfenced-close"&gt;|&lt;lr del 3|&gt;&lt;/mo&gt;}
   \fi
 }
&gt;&gt;&gt;



\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\def\abovewithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{|&lt;start above|&gt;}%
      |&lt;end above over|&gt;\o:@@over:
      |&lt;start above under|&gt;\Send{EndGROUP}{0}{|&lt;end above|&gt;}
   \else
      \Send{GROUP}{0}%
         {&lt;mo class="mfenced-open"&gt;|&lt;lr del 2|&gt;&lt;/mo&gt;%
          |&lt;start above|&gt;}%
      |&lt;end above over|&gt;\o:@@over:
      |&lt;start above under|&gt;\Send{EndGROUP}{0}{|&lt;end above|&gt;%
         &lt;mo class="mfenced-close"&gt;|&lt;lr del 3|&gt;&lt;/mo&gt;}
   \fi  
   \tmp:dim
 }
&gt;&gt;&gt;


\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\def\atopwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{|&lt;start atop|&gt;}%
      |&lt;end atop over|&gt;\o:@@atop:
      |&lt;start atop under|&gt;\Send{EndGROUP}{0}{|&lt;end atop|&gt;}
   \else
      \Send{GROUP}{0}%
         {&lt;mo class="mfenced-open"&gt;|&lt;lr del 2|&gt;&lt;/mo&gt;%
          |&lt;start atop|&gt;}%
      |&lt;end atop over|&gt;\o:@@atop:
      |&lt;start atop under|&gt;\Send{EndGROUP}{0}{|&lt;end atop|&gt;%
             &lt;mo class="mfenced-close"&gt;|&lt;lr del 3|&gt;&lt;/mo&gt;}
   \fi
 }
&gt;&gt;&gt;



\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\def\overwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{|&lt;start mfrac|&gt;}%
      |&lt;end frac numerator|&gt;\o:over:
      |&lt;frac enumerator|&gt;\Send{EndGROUP}{0}{|&lt;end mfrac|&gt;}
   \else
      \Send{GROUP}{0}%
         {&lt;mo class="mfenced-open"&gt;|&lt;lr del 2|&gt;&lt;/mo&gt;%
          |&lt;start mfrac|&gt;}%
      |&lt;end frac numerator|&gt;\o:@@over:
      |&lt;frac enumerator|&gt;\Send{EndGROUP}{0}{|&lt;end mfrac|&gt;%
         &lt;mo class="mfenced-close"&gt;|&lt;lr del 3|&gt;&lt;/mo&gt;}
   \fi
 }
&gt;&gt;&gt;



%%%%%%%%%%%%%
\subsection{Code Assignments}
%%%%%%%%%%%%%



\&lt;start mfrac\&gt;&lt;&lt;&lt;
&lt;mfrac&gt;\add:description{begin-end}{\a:speak:fraction}%
&lt;mrow class="mrow-numerator"\Hnewline&gt;%
&gt;&gt;&gt;


\&lt;end frac numerator\&gt;&lt;&lt;&lt;
\HCode{&lt;/mrow&gt;}%
&gt;&gt;&gt;



\&lt;frac enumerator\&gt;&lt;&lt;&lt;
\HCode{\add:description{begin-end}{\c:speak:fraction}
       &lt;mrow class="mrow-enumerator"\Hnewline&gt;}%
&gt;&gt;&gt;

\&lt;end mfrac\&gt;&lt;&lt;&lt;
&lt;/mrow&gt;\add:description{begin-end}{\b:speak:fraction}&lt;/mfrac&gt;%
&gt;&gt;&gt;


\&lt;start atop\&gt;&lt;&lt;&lt;
&lt;mover class="atop"&gt;%
\add:description{begin-stack}{\a:speak:atop}%
&lt;mrow class="mrow-upper"&gt;%
&gt;&gt;&gt;




\&lt;end atop over\&gt;&lt;&lt;&lt;
\HCode{&lt;/mrow&gt;}%
&gt;&gt;&gt;


\&lt;start atop under\&gt;&lt;&lt;&lt;
\HCode{\add:description{added-description}{\c:speak:atop}&lt;mrow class="mrow-under"&gt;}%
&gt;&gt;&gt;


\&lt;end atop\&gt;&lt;&lt;&lt;
&lt;/mrow&gt;\add:description{end-stack}{\b:speak:atop}&lt;/mover&gt;%
&gt;&gt;&gt;




\&lt;start above\&gt;&lt;&lt;&lt;
|&lt;start mfrac|&gt;%
&gt;&gt;&gt;


\&lt;end above over\&gt;&lt;&lt;&lt;
|&lt;end frac numerator|&gt;%
&gt;&gt;&gt;


\&lt;start above under\&gt;&lt;&lt;&lt;
|&lt;frac enumerator|&gt;%
&gt;&gt;&gt;     

\&lt;end above\&gt;&lt;&lt;&lt;
|&lt;end mfrac|&gt;%
&gt;&gt;&gt;





\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\NewConfigure{speak:fraction}{3}
\Configure{speak:fraction}
   {&lt;BREAK SIZE="small"/&gt;&lt;level prefix="begin" 
               continued="begin continued fraction"&gt;begin 
         fraction&lt;/level&gt;&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;&lt;level prefix="end"
               continued="end continued fraction"&gt;end
         fraction&lt;/level&gt;&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;&lt;level prefix="over"&gt;%
         over&lt;/level&gt;&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;




\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\NewConfigure{speak:atop}{3}
\Configure{speak:atop}
   {&lt;BREAK SIZE="small"/&gt;begin stack&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;end stack&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;over&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;



%%%%%%%%%%%%%
\subsection{Delimiters}
%%%%%%%%%%%%%



\&lt;lr del 1\&gt;&lt;&lt;&lt;
\expandafter
\ifx \csname \string#1:lr del\endcsname\relax #1\else 
     \csname \string#1:lr del\endcsname\fi
&gt;&gt;&gt;

\&lt;lr del 2\&gt;&lt;&lt;&lt;
\expandafter
\ifx \csname \string#2:lr del\endcsname\relax #2\else 
     \csname \string#2:lr del\endcsname\fi
&gt;&gt;&gt;


\&lt;lr del 3\&gt;&lt;&lt;&lt;
\expandafter
\ifx \csname \string#3:lr del\endcsname\relax #3\else 
     \csname \string#3:lr del\endcsname\fi
&gt;&gt;&gt;


The following cases in mathml are translated directly 
to explicit caharacters and so donn't get there the 
speech interpretation provided in unicode.4hf.

\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\Configure{mfenced}{\vert}{\string&amp;\#x007C;}
\Configure{mfenced}{\{}{\string&amp;\#x007B;}
\Configure{mfenced}{\}}{\string&amp;\#x007D;}
\Configure{mfenced}{\lbrace}{\string&amp;\#x007B;}
\Configure{mfenced}{\rbrace}{\string&amp;\#x007D;}
\Configure{mfenced}{\rgroup}{\string&amp;\#x0028;}
\Configure{mfenced}{\lgroup}{\string&amp;\#x0029;}
\Configure{mfenced}{(}{\string&amp;\#x0028;}
\Configure{mfenced}{)}{\string&amp;\#x0029;}
\Configure{mfenced}{[}{\string&amp;\#x0058;}
\Configure{mfenced}{]}{\string&amp;\#x0059;}
\Configure{mfenced}{||}{\string&amp;\#x007C;}
\Configure{mfenced}{\bracevert}{\string&amp;\#x007C;}
\Configure{mfenced}{\bracevert}{\string&amp;\#x007C;}
&gt;&gt;&gt;


%%%%%%%%%%%%%
\section{Lines and Braces (With ...)}
%%%%%%%%%%%%%


\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
\Configure{overline}
   {\bgroup\ifmathml |&lt;mathml overline|&gt;\else
         \HCode{&lt;mover class="overline"&gt;}\fi}
   {\ifmathml |&lt;end mathml overline|&gt;\else 
                  \HCode{&lt;/mover&gt;}\fi\egroup}
\Configure{underline}
   {\bgroup
    \ifmathml |&lt;mathml underline|&gt;%
    \else |&lt;nomath underline|&gt;%
          \HCode{&lt;mover class="underline"&gt;}\fi}
   {\ifmathml |&lt;end mathml underline|&gt;\else
                   \HCode{&lt;/mover&gt;}\fi \egroup}
&gt;&gt;&gt;

\&lt;mathml overline\&gt;&lt;&lt;&lt;
\HCode{&lt;mover class="mover-overline"\Hnewline&gt;%
       \add:description{begin-end}{\b:speak:modified}%
       &lt;mrow class="mo-00AF"&gt;}%
&gt;&gt;&gt;

\&lt;end mathml overline\&gt;&lt;&lt;&lt;
\HCode{&lt;/mrow&gt;%
  \add:description{begin-end}{\a:speak:modified:line}%
  &lt;/mover&gt;}%
&gt;&gt;&gt;

\&lt;mathml underline\&gt;&lt;&lt;&lt;
\HCode{&lt;munder class="munder-underline"&gt;%
       \add:description{begin-end}{\a:speak:modified}%
       &lt;mrow class="mo-0332"&gt;&lt;BREAK SIZE="small"/&gt;}% 
&gt;&gt;&gt;

\&lt;end mathml underline\&gt;&lt;&lt;&lt;
\HCode{&lt;BREAK SIZE="small"/&gt;&lt;/mrow&gt;%
      \add:description{begin-end}{\a:speak:modified:line}%
      &lt;/munder&gt;}%
&gt;&gt;&gt;

\&lt;nomath underline\&gt;&lt;&lt;&lt;
\expandafter\everymath
\expandafter{\expandafter\everymath
             \expandafter{\the\everymath}}%
\let\o::@underline:\o:@@underline:
\def\o:@@underline:{\let\o:@@underline:\o::@underline:}%
&gt;&gt;&gt;



\&lt;plain,fontmath math\&gt;&lt;&lt;&lt;
\Configure{overbrace}
   {\Configure{mathop*}{*}
         {&lt;mover class="mover-overline"&gt;%
                  \add:description{begin-end}{\b:speak:modified}%
                  &lt;mrow class="mo-FE37"&gt;}
         {&lt;/mrow&gt;\add:description{begin-end}{\a:speak:modified:brace}%
          &lt;/mover&gt;}
         {\Configure{mathop}{}{}{}{}}%
   }
   {\let\o:overbrace:=\displaystyle}
   {}
\Configure{underbrace}
   {\Configure{mathop*}{*}
         {&lt;munder class="munder-underline"&gt;%
               \add:description{begin-end}{\a:speak:modified}%
               &lt;mrow class="mo-FE38"&gt;}
         {&lt;/mrow&gt;\add:description{begin-end}{\a:speak:modified:brace}%
          &lt;/munder&gt;}
         {\Configure{mathop}{}{}{}{}}%
   }
   {\let\o:underbrace:=\displaystyle}
   {}
&gt;&gt;&gt;







\&lt;config mathml accents\&gt;&lt;&lt;&lt;
\Configure{accent}\widetilde\widetilde{{}{}} 
  {}
  {\HCode{&lt;mover class="mover-tilde"&gt;%
          \add:description{begin-end}{\b:speak:modified}%
          &lt;mrow class="mo-0303"\Hnewline&gt;}%
       #2%
   \HCode{&lt;/mrow&gt;\add:description{begin-end}{\a:speak:modified:tilde}%
          &lt;/mover&gt;}}
\Configure{accent}\widehat\widehat{{}{}} 
  {}
  {\HCode{&lt;mover class="mover-hat"&gt;%
          \add:description{begin-end}{\a:speak:modified}%
          &lt;mrow class="mo-0302"\Hnewline&gt;}%
       #2%
   \HCode{&lt;/mrow&gt;\add:description{begin-end}{
                        \a:speak:modified:hat}&lt;/mover&gt;}} |%circumflex|%
&gt;&gt;&gt;


\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
\NewConfigure{speak:modified}{2}
\Configure{speak:modified}
   {&lt;BREAK SIZE="small"/&gt;modified 
                            under&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;modified 
                            above&lt;BREAK SIZE="small"/&gt;}
\NewConfigure{speak:modified:brace}{1}
\NewConfigure{speak:modified:hat}{1}
\NewConfigure{speak:modified:line}{1}
\NewConfigure{speak:modified:tilde}{1}
\Configure{speak:modified:brace}
    {&lt;BREAK SIZE="small"/&gt;with brace&lt;BREAK SIZE="small"/&gt;}
\Configure{speak:modified:hat}
    {&lt;BREAK SIZE="small"/&gt;with wide hat&lt;BREAK SIZE="small"/&gt;}
\Configure{speak:modified:line}
    {&lt;BREAK SIZE="small"/&gt;with bar&lt;BREAK SIZE="small"/&gt;}
\Configure{speak:modified:tilde}
    {&lt;BREAK SIZE="small"/&gt;with wide tilde&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;


%%%%%%%%%%%%%
\section{Arrows (With ...)}
%%%%%%%%%%%%%




\&lt;plain,fontmath math\&gt;&lt;&lt;&lt;
\Configure{overrightarrow}
  {\HCode{&lt;mover class="mover-rightarrow"&gt;%
      \add:description{begin-end}{\b:speak:modified}%
      &lt;mrow class="mo-20D5"\Hnewline&gt;}\:gobble}
  {\HCode{&lt;/mrow&gt;%
          \add:description{begin-end}{\a:speak:modified:rightarrow}%
          &lt;/mover&gt;}}
\Configure{overleftarrow}
  {\HCode{&lt;mover class="mover-leftarrow"&gt;%
      \add:description{begin-end}{\b:speak:modified}%
      &lt;mrow class="mo-20D6"\Hnewline&gt;}\:gobble}
  {\HCode{&lt;/mrow&gt;%
      \add:description{begin-end}{\a:speak:modified:leftarrow}%
      &lt;/mover&gt;}}
&gt;&gt;&gt;

\&lt;plain,fontmath math\&gt;&lt;&lt;&lt;
\NewConfigure{speak:modified:leftarrow}{1}
\NewConfigure{speak:modified:leftrightarrow}{1}
\NewConfigure{speak:modified:rightarrow}{1}
\Configure{speak:modified:leftarrow}
      {&lt;BREAK SIZE="small"/&gt;with left 
                             right arrow&lt;BREAK SIZE="small"/&gt;}
\Configure{speak:modified:leftrightarrow}
      {&lt;BREAK SIZE="small"/&gt;with left 
                             right arrow&lt;BREAK SIZE="small"/&gt;}
\Configure{speak:modified:rightarrow}
      {&lt;BREAK SIZE="small"/&gt;with 
                             right arrow&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;

\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{underrightarrow}
  {\HCode{&lt;munder class="munder-rightarrow"&gt;%
      \add:description{begin-end}{\a:speak:modified}%
      &lt;mrow class="mo-2092"\Hnewline&gt;}\:gobble}
  {\HCode{&lt;/mrow&gt;%
          \add:description{begin-end}{\a:speak:modified:rightarrow}%
          &lt;/munder&gt;}}
\Configure{underleftarrow}
  {\HCode{&lt;munder class="munder-leftarrow"&gt;%
      \add:description{begin-end}{\a:speak:modified}%
      &lt;mrow class="mo-2090"\Hnewline&gt;}\:gobble}
  {\HCode{&lt;/mrow&gt;%
          \add:description{begin-end}{speak:modified:leftarrow}%
          &lt;/munder&gt;}}
&gt;&gt;&gt;


\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{overleftrightarrow}
  {\HCode{&lt;mover class="mover-leftrightarrow"&gt;%
      \add:description{begin-end}{\b:speak:modified}%
      &lt;mrow class="mo-20E1"\Hnewline&gt;}\:gobble}
  {\HCode{&lt;/mrow&gt;%
      \add:description{begin-end}{\a:speak:modified:leftrightarrow}%
      &lt;/mover&gt;}}
\Configure{underleftrightarrow}
  {\HCode{&lt;munder class="munder-leftrightarrow"&gt;%
      \add:description{begin-end}{\a:speak:modified}%
      &lt;mrow class="mo-2194"\Hnewline&gt;}\:gobble}
  {\HCode{&lt;/mrow&gt;%
      \add:description{begin-end}{\a:speak:modified:leftrightarrow}%
      &lt;/munder&gt;}}
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%
\section{Symbols}
%%%%%%%%%%%%%%%%%%


\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\def\:tempc{\HCode{&lt;mspace width="0.2em"/&gt;}\mathbin{mod} }
\HLet\bmod\:tempc
\def\:tempc#1{ (#1)}
\HLet\pod=\:tempc
\def\:tempc#1{\pod{\mathop{mod} #1}}
\HLet\pmod=\:tempc
\def\:tempc#1{ \mathop{mod} #1}
\HLet\mod=\:tempc
&gt;&gt;&gt;

\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{hdotsfor}{\dots}
&gt;&gt;&gt;

\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\def\mathop:prefix#1{%
   \Configure{mathop}{*}{&lt;mo class="mo-op"
                               #1\Hnewline&gt;}{&lt;/mo&gt;}%
    {\Configure{mathop}{*}{&lt;mo class="mo-op"&gt;}{&lt;/mo&gt;}{}}}
&gt;&gt;&gt;


\&lt;configure jsml-math amsopn\&gt;&lt;&lt;&lt;
\def\:tempc{\mathop{\underrightarrow\lim}\displaylimits}  \HLet\varinjlim\:tempc
\def\:tempc{\mathop{\underleftarrow\lim}\displaylimits}   \HLet\varprojlim\:tempc
\def\:tempc{\mathop{\overline\lim}\displaylimits}         \HLet\varlimsup\:tempc
\def\:tempc{\mathop{\underline\lim}\displaylimits}        \HLet\varliminf\:tempc
&gt;&gt;&gt;


\&lt;\&gt;&lt;&lt;&lt;
\HRestore\varinjlim
\HRestore\varprojlim
\HRestore\varlimsup
\HRestore\varliminf
&gt;&gt;&gt;


\&lt;plain,fontmath math\&gt;&lt;&lt;&lt;
\def\:tempc{\HCode{\add:description{added-description}{real part
                    symbol capital }}\o:Re:}
\HLet\Re\:tempc
\def\:tempc{\HCode{\add:description{added-description}{real part
                    symbol capital }}\o:Im:}
\HLet\Im\:tempc
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%
\section{Spaces}
%%%%%%%%%%%%%%%%%%




\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\Configure{quad}{\HCode{|&lt;space element|&gt;}}
\Configure{qquad}{\HCode{|&lt;space element|&gt;}}
\Configure{,}{\HCode{|&lt;tiny space element|&gt;}}
\Configure{ }{\:nbsp} 
&gt;&gt;&gt;


\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
\Configure{hspace}{ }{}{ }
&gt;&gt;&gt;


\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{tmspace}
   {\HCode{|&lt;space element|&gt;}}
&gt;&gt;&gt;

\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\def\:nbsp{\leavevmode\special{t4ht@+\string&amp;{35}x00A0{59}}x}
&gt;&gt;&gt;



\&lt;configure jsml frenchb\&gt;&lt;&lt;&lt;
\Configure{frenchb-nbsp}
   {\leavevmode\special{t4ht@+\string&amp;{35}x00A0{59}}x%
    \setbox\tmp:bx=\hbox\bgroup}
   {\egroup}
&gt;&gt;&gt;  

\&lt;space element\&gt;&lt;&lt;&lt;
&lt;span class="space"&gt;&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;%
&gt;&gt;&gt;


\&lt;tiny space element\&gt;&lt;&lt;&lt;
&lt;span class="tiny-space"&gt;&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;%
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%
\section{Radicals}
%%%%%%%%%%%%%%%%%%



\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\Configure{radical}
  {\HCode{&lt;msqrt&gt;%
          \add:description{begin-root}{\a:speak:radical}}%
   \special{t4ht\string~!e&lt;&lt;mrow class="root-base"&gt;}%
   \special{t4ht\string~!e&gt;&lt;/mrow&gt;%
          \add:description{end-root}{\b:speak:radical}&lt;/msqrt&gt;}%
   \special{t4ht\string~!ee/}%
   \special{t4ht\string~!ese-}%
  }
&gt;&gt;&gt;

\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\NewConfigure{speak:radical}{2}
\Configure{speak:radical}
   {&lt;BREAK SIZE="small"/&gt;&lt;level prefix="begin"&gt;begin
             root&lt;/level&gt;&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;&lt;level prefix="end"&gt;end
             root&lt;/level&gt;&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;





\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\Configure{root}
    {\HCode{&lt;mroot&gt;%
       \add:description{begin-root}{\a:speak:root}%
       &lt;mrow class="root-index"&gt;}}
    {\HCode{&lt;/mrow&gt;\add:description{mid-root}{\b:speak:root}%
            &lt;mrow class="root-base"&gt;}}
    {\HCode{&lt;/mrow&gt;\add:description{end-root}{\c:speak:root}&lt;/mroot&gt;}}
&gt;&gt;&gt;


\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\NewConfigure{speak:root}{3}
\Configure{speak:root}
   {&lt;BREAK SIZE="medium"/&gt;&lt;level prefix="root"&gt;root
         index&lt;/level&gt;&lt;BREAK SIZE="medium"/&gt;}
   {&lt;BREAK SIZE="medium"/&gt;&lt;level prefix="begin"&gt;begin
         root&lt;/level&gt;&lt;BREAK SIZE="medium"/&gt;}
   {&lt;BREAK SIZE="medium"/&gt;&lt;level prefix="end"&gt;end
         root&lt;/level&gt;&lt;BREAK SIZE="medium"/&gt;}
&gt;&gt;&gt;





%%%%%%%%%%%%%
\section{Left and Right}
%%%%%%%%%%%%%


\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\Configure{left}
   {}
   {\HCode{|&lt;lr del 1|&gt;}\bgroup
    \HCode{&lt;mrow&gt;}\bgroup}
\Configure{right}
   {\egroup\HCode{&lt;/mrow&gt;}\egroup
           \HCode{|&lt;lr del 1|&gt;}}
   {}
&gt;&gt;&gt;




\&lt;plain,fontmath math\&gt;&lt;&lt;&lt;
\Configure{big}
   {}{}
   {}
   {}
\Configure{Big}
   {}{}
   {}
   {}
\Configure{bigg}
   {}{}
   {}
   {}
\Configure{Bigg}
   {}{}
   {}
   {}
&gt;&gt;&gt;







\&lt;plain,fontmath math\&gt;&lt;&lt;&lt;
|&lt;big common|&gt;
\:CheckOption{mathml-}     \if:Option 
   |&lt;big mathml-|&gt;
\else
   |&lt;big mathml|&gt;
\fi
&gt;&gt;&gt;

\&lt;big mathml\&gt;&lt;&lt;&lt;
\Configure{Biggl}
   {\bgroup
       \Configure{Bigg}{}{}{}{}%
       \Configure{mathopen}{*}
          {&lt;span class="Biggl"&gt;&lt;span class="MathClass-open" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;&lt;span&gt;}
          {\Configure{mathopen}{}{}{}{}}%
   }
   {\egroup}
\Configure{Biggr}
   {\bgroup
       \Configure{Bigg}{}{}{}{}%
       \Configure{mathclose}{*}
          {&lt;/span&gt;&lt;span class="MathClass-close" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;&lt;/span&gt;}
          {\Configure{mathclose}{}{}{}{}}%
   }
   {\egroup}
\Configure{Bigl}
   {\bgroup
       \Configure{Big}{}{}{}{}%
       \Configure{mathopen}{*}
          {&lt;span class="Bigl"&gt;&lt;span class="MathClass-open"&gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;&lt;span&gt;}
          {\Configure{mathopen}{}{}{}{}}%
   }
   {\egroup}
\Configure{Bigr}
   {\bgroup
       \Configure{Big}{}{}{}{}%
       \Configure{mathclose}{*}
          {&lt;/span&gt;&lt;span class="MathClass-close" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;&lt;/span&gt;}
          {\Configure{mathclose}{}{}{}{}}%
   }
   {\egroup}
\Configure{biggl}
   {\bgroup
       \Configure{bigg}{}{}{}{}%
       \Configure{mathopen}{*}
          {&lt;span class="biggl"&gt;&lt;span class="MathClass-open"&gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;&lt;span&gt;}
          {\Configure{mathopen}{}{}{}{}}%
   }
   {\egroup}
\Configure{biggr}
   {\bgroup
       \Configure{bigg}{}{}{}{}%
       \Configure{mathclose}{*}
          {&lt;/span&gt;&lt;span class="MathClass-close" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;&lt;/span&gt;}
          {\Configure{mathclose}{}{}{}{}}%
   }
   {\egroup}
\Configure{bigl}
   {\bgroup
       \Configure{big}{}{}{}{}%
       \Configure{mathopen}{*}
          {&lt;span class="bigl"&gt;&lt;span class="MathClass-open"&gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;&lt;span&gt;}
          {\Configure{mathopen}{}{}{}{}}%
   }
   {\egroup}
\Configure{bigr}
   {\bgroup
       \Configure{big}{}{}{}{}%
       \Configure{mathclose}{*}
          {&lt;/span&gt;&lt;span class="MathClass-close" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;&lt;/span&gt;}
          {\Configure{mathclose}{}{}{}{}}%
   }
   {\egroup}
&gt;&gt;&gt;




\&lt;big mathml-\&gt;&lt;&lt;&lt;
\Configure{Biggl}
   {\bgroup
       \Configure{Bigg}{}{}{}{}%
       \Configure{mathopen}{*}
          {&lt;span class="MathClass-open" title="Bigg" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}
          {\Configure{mathopen}{}{}{}{}}%
   }
   {\egroup}
\Configure{Biggr}
   {\bgroup
       \Configure{Bigg}{}{}{}{}%
       \Configure{mathclose}{*}
          {&lt;span class="MathClass-close" title="Bigg" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}
          {\Configure{mathclose}{}{}{}{}}%
   }
   {\egroup}
\Configure{Bigl}
   {\bgroup
       \Configure{Big}{}{}{}{}%
       \Configure{mathopen}{*}
          {&lt;span class="MathClass-open" title="Big" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}
          {\Configure{mathopen}{}{}{}{}}%
   }
   {\egroup}
\Configure{Bigr}
   {\bgroup
       \Configure{Big}{}{}{}{}%
       \Configure{mathclose}{*}
          {&lt;span class="MathClass-close" title="Big" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}
          {\Configure{mathclose}{}{}{}{}}%
   }
   {\egroup}
\Configure{biggl}
   {\bgroup
       \Configure{bigg}{}{}{}{}%
       \Configure{mathopen}{*}
          {&lt;span class="MathClass-open" title="bigg" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}
          {\Configure{mathopen}{}{}{}{}}%
   }
   {\egroup}
\Configure{biggr}
   {\bgroup
       \Configure{bigg}{}{}{}{}%
       \Configure{mathclose}{*}
          {&lt;span class="MathClass-close" title="bigg" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}
          {\Configure{mathclose}{}{}{}{}}%
   }
   {\egroup}
\Configure{bigl}
   {\bgroup
       \Configure{big}{}{}{}{}%
       \Configure{mathopen}{*}
          {&lt;span class="MathClass-open" title="big" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}
          {\Configure{mathopen}{}{}{}{}}%
   }
   {\egroup}
\Configure{bigr}
   {\bgroup
       \Configure{big}{}{}{}{}%
       \Configure{mathclose}{*}
          {&lt;span class="MathClass-close" title="big" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}
          {\Configure{mathclose}{}{}{}{}}%
   }
   {\egroup}
&gt;&gt;&gt;



\&lt;big common\&gt;&lt;&lt;&lt;
\Configure{Biggm}
   {\bgroup
       \Configure{Bigg}{}{}{}{}%
       \Configure{mathrel}{*}
          {&lt;span class="MathClass-rel" title="Bigg" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}
          {\Configure{mathrel}{}{}{}{}}%
   }
   {\egroup}
\Configure{Bigm}
   {\bgroup
       \Configure{Big}{}{}{}{}%
       \Configure{mathrel}{*}
          {&lt;span class="MathClass-rel" title="Big" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}
          {\Configure{mathrel}{}{}{}{}}%
   }
   {\egroup}
\Configure{biggm}
   {\bgroup
       \Configure{bigg}{}{}{}{}%
       \Configure{mathrel}{*}
          {&lt;span class="MathClass-rel" title="bigg" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}
          {\Configure{mathrel}{}{}{}{}}%
   }
   {\egroup}
\Configure{bigm}
   {\bgroup
       \Configure{big}{}{}{}{}%
       \Configure{mathrel}{*}
          {&lt;span class="MathClass-rel" title="big" &gt;&lt;BREAK SIZE="small"/&gt;}
          {&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}
          {\Configure{mathrel}{}{}{}{}}%
   }
   {\egroup}
&gt;&gt;&gt;

\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\Configure{mfenced}{\vert}{||}
\edef\:temp{\noexpand\Configure{mfenced}{\noexpand\{}{\string&amp;\#x007B;}}\:temp
\edef\:temp{\noexpand\Configure{mfenced}{\noexpand\}}{\string&amp;\#x007D;}}\:temp
\edef\:temp{\noexpand
   \Configure{mfenced}{\noexpand\lbrace}{\string&amp;\#x007B;}}\:temp
\edef\:temp{\noexpand
   \Configure{mfenced}{\noexpand\rbrace}{\string&amp;\#x007D;}}\:temp
&gt;&gt;&gt;


%%%%%%%%%%%%%
\subsection{Math Inner}
%%%%%%%%%%%%%


\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\def\mathinner#1{\Tg&lt;span
   class="mathinner"&gt;#1\Tg&lt;/span&gt;}
&gt;&gt;&gt;





%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Limits of Sub- snd Super- Scripts (over/under - end - scripts)}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Outline}
%%%%%%%%%%%%%%%%%%%%%%%%%


\&lt;limits sub, sup, subsup\&gt;&lt;&lt;&lt;
\Configure{limits}{|&lt;limit scripts|&gt;}
\def\disp:limits{|&lt;limit scripts|&gt;}  
&gt;&gt;&gt;


\&lt;limit scripts\&gt;&lt;&lt;&lt;
\let|&lt;restore SUB|&gt;=\:UnDef
\let|&lt;restore SUP|&gt;=\:UnDef
\ifx \:temp\sp |&lt;conf limits SUP|&gt;\else
\ifx \:temp\sb |&lt;conf limits SUB|&gt;\fi\fi
|&lt;conf limits SUBSUP|&gt;%
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Simultaneously Sub- and Super- Scripts}
%%%%%%%%%%%%%%%%%%%%%%%%%


\&lt;conf limits SUBSUP\&gt;&lt;&lt;&lt;
|&lt;save pre-limits SUBSUP|&gt;%
\Configure{SUBSUP}
   {\ifx |&lt;restore SUB|&gt;\:UnDef\else  |&lt;restore SUB|&gt;\fi
    \ifx |&lt;restore SUP|&gt;\:UnDef\else  |&lt;restore SUP|&gt;\fi
    |&lt;restore pre-limits SUBSUP|&gt;%
    \Send{BACK}
      {|&lt;start limits msubsup base|&gt;}|&lt;msubsup limits sub|&gt;}
   {|&lt;msubsup limits sup|&gt;}
   {|&lt;close limits script|&gt;}
&gt;&gt;&gt;




\&lt;start limits msubsup base\&gt;&lt;&lt;&lt;
&lt;msubsup class="limits-msub-msup"&gt;&lt;mrow
                 class="limits-mrow-base"\Hnewline&gt;%
&gt;&gt;&gt;

\&lt;msubsup limits sub\&gt;&lt;&lt;&lt;
\HCode{&lt;/mrow&gt;&lt;mrow class="limits-mrow-sub"\Hnewline
   &gt;\add:description{begin-limits-script}{\a:speak:underover}}%
   \trap:base
&gt;&gt;&gt;


\&lt;msubsup limits sup\&gt;&lt;&lt;&lt;
\HCode{&lt;/mrow&gt;&lt;mrow class="limits-mrow-super"\Hnewline
  &gt;\add:description{mid-limits-script}{\b:speak:underover}}\trap:base
&gt;&gt;&gt;


\&lt;close limits script\&gt;&lt;&lt;&lt;
\HCode{\add:description{end-limits-script}{\c:speak:underover}%
       &lt;/mrow&gt;&lt;/msubsup\Hnewline&gt;}%
&gt;&gt;&gt;

\&lt;close limits sup\&gt;&lt;&lt;&lt;
\HCode{\add:description{end-limits-script}{\c:speak:underover}%
       &lt;/mrow&gt;&lt;/msup\Hnewline&gt;}%
&gt;&gt;&gt;



\&lt;close limits sub\&gt;&lt;&lt;&lt;
\HCode{\add:description{end-limits-script}{\c:speak:underover}%
       &lt;/mrow&gt;&lt;/msub\Hnewline&gt;}%
&gt;&gt;&gt;


\&lt;configure jsml-math tex4ht\&gt;&lt;&lt;&lt;
\NewConfigure{speak:underover}{3}
\Configure{speak:underover}
   {&lt;BREAK SIZE="small"/&gt;under script&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;over script&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;end scripts&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;

\&lt;save pre-limits SUBSUP\&gt;&lt;&lt;&lt;
\let\pl:SUBSUP=\SUBSUP:
&gt;&gt;&gt;

\&lt;restore pre-limits SUBSUP\&gt;&lt;&lt;&lt;
\ifx \pl:SUBSUP\:UnDef \else
   \let\SUBSUP:=\pl:SUBSUP
\fi
&gt;&gt;&gt;

\&lt;limits sub, sup, subsup\&gt;&lt;&lt;&lt;
\ifx \a:putSUB\:UnDef \else
   \pend:def\a:putSUB{\ifx \pl:SUBSUP\:UnDef\else 
         \let\SUBSUP:=\pl:SUBSUP
         \let\pl:SUBSUP=\:UnDef
      \fi}%
\fi
\ifx \a:putSUP\:UnDef \else
   \pend:def\a:putSUP{\ifx \pl:SUBSUP\:UnDef\else 
         \let\SUBSUP:=\pl:SUBSUP
         \let\pl:SUBSUP=\:UnDef
      \fi}%
\fi
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Superscripts}
%%%%%%%%%%%%%%%%%%%%%%%%%



\&lt;conf limits SUP\&gt;&lt;&lt;&lt;
|&lt;save pre-limits SUP|&gt;%
\Configure{SUP}
   {|&lt;open external limits SUP|&gt;\bgroup
     |&lt;restore pre-limits SUBSUP|&gt;%
     |&lt;conf second limits SUP|&gt;\trap:base}  
   {}%
&gt;&gt;&gt;

\&lt;save pre-limits SUP\&gt;&lt;&lt;&lt;
\def\pl:SUP{\Configure{SUP}}%
\expandafter\append:def
   \expandafter\pl:SUP\expandafter{\expandafter{\a:SUP}}%
\expandafter\append:def
   \expandafter\pl:SUP\expandafter{\expandafter{\b:SUP}}%
&gt;&gt;&gt;

\&lt;conf second limits SUP\&gt;&lt;&lt;&lt;
\Configure{SUP}
   {|&lt;open intermediate limits SUP|&gt;\bgroup
    |&lt;conf third limit SUP|&gt;\trap:base}                 
   {\egroup|&lt;close external limits SUP|&gt;}%
&gt;&gt;&gt;


\&lt;conf third limit SUP\&gt;&lt;&lt;&lt;
\Configure{SUP}
   {|&lt;open internal limits SUP|&gt;\bgroup \trap:base}
   {\egroup |&lt;close internal limits SUP|&gt;}% 
&gt;&gt;&gt;


\&lt;open external limits SUP\&gt;&lt;&lt;&lt;
\Send{BACK}{|&lt;msup limits base|&gt;}%
|&lt;msup limits script super|&gt;%
&gt;&gt;&gt;








\&lt;msup limits script super\&gt;&lt;&lt;&lt;
\HCode{&lt;/mrow&gt;&lt;mrow class="limits-mrow-super"\Hnewline
    &gt;\add:description{begin-limits-script}{\b:speak:underover}}%
    \trap:base
&gt;&gt;&gt;


\&lt;msup limits base\&gt;&lt;&lt;&lt;
&lt;msup 
   class="limits-msub-msup"&gt;&lt;mrow
   class="limits-mrow-base"\Hnewline&gt;%
&gt;&gt;&gt;

\&lt;close external limits SUP\&gt;&lt;&lt;&lt;
\HCode{\add:description{end-limits-script}{\c:speak:underover}%
       &lt;/mrow&gt;&lt;/msup\Hnewline
                        &gt;}\aftergroup|&lt;restore SUP|&gt;%
&gt;&gt;&gt;

\&lt;restore SUP\&gt;&lt;&lt;&lt;
\pl:SUP  &gt;&gt;&gt;

\&lt;open intermediate limits SUP\&gt;&lt;&lt;&lt;
\Send{BACK}
{|&lt;start msup base|&gt;}|&lt;msup super|&gt;%
&gt;&gt;&gt;

\&lt;open internal limits SUP\&gt;&lt;&lt;&lt;
\Send{BACK}
{|&lt;start msup base|&gt;}|&lt;msup super|&gt;%
&gt;&gt;&gt;

\&lt;close internal limits SUP\&gt;&lt;&lt;&lt;
|&lt;close msup|&gt;%
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Subscripts}
%%%%%%%%%%%%%%%%%%%%%%%%%



\&lt;conf limits SUB\&gt;&lt;&lt;&lt;
|&lt;save pre-limits SUB|&gt;%
\Configure{SUB}
   {|&lt;open external limits SUB|&gt;\bgroup
     |&lt;restore pre-limits SUBSUP|&gt;%
     |&lt;conf second limits SUB|&gt;\trap:base}  
   {}%
&gt;&gt;&gt;

\&lt;save pre-limits SUB\&gt;&lt;&lt;&lt;
\def\pl:SUB{\Configure{SUB}}%
\expandafter\append:def
   \expandafter\pl:SUB\expandafter{\expandafter{\a:SUB}}%
\expandafter\append:def
   \expandafter\pl:SUB\expandafter{\expandafter{\b:SUB}}%
&gt;&gt;&gt;

\&lt;conf second limits SUB\&gt;&lt;&lt;&lt;
\Configure{SUB}
   {|&lt;open intermediate limits SUB|&gt;\bgroup
    |&lt;conf third limit SUB|&gt;\trap:base}                 
   {\egroup|&lt;close external limits SUB|&gt;}%
&gt;&gt;&gt;


\&lt;conf third limit SUB\&gt;&lt;&lt;&lt;
\Configure{SUB}
   {|&lt;open internal limits SUB|&gt;\bgroup \trap:base}
   {\egroup |&lt;close internal limits SUB|&gt;}% 
&gt;&gt;&gt;


\&lt;open external limits SUB\&gt;&lt;&lt;&lt;
\Send{BACK}{|&lt;msub limits base|&gt;}%
|&lt;msub limits script sub|&gt;%
&gt;&gt;&gt;



\&lt;msub limits script sub\&gt;&lt;&lt;&lt;
\HCode{&lt;/mrow&gt;&lt;mrow class="limits-mrow-sub"\Hnewline
   &gt;\add:description{begin-limits-script}{\a:speak:underover}}%
   \trap:base
&gt;&gt;&gt;




\&lt;msub limits base\&gt;&lt;&lt;&lt;
&lt;msub 
   class="limits-msub-msup"&gt;&lt;mrow
   class="limits-mrow-base"\Hnewline&gt;%
&gt;&gt;&gt;



\&lt;close external limits SUB\&gt;&lt;&lt;&lt;
\HCode{\add:description{end-limits-script}{\c:speak:underover}%
&lt;/mrow&gt;&lt;/msub\Hnewline &gt;}\aftergroup|&lt;restore SUB|&gt;%
&gt;&gt;&gt;

\&lt;restore SUB\&gt;&lt;&lt;&lt;
\pl:SUB &gt;&gt;&gt;

\&lt;open intermediate limits SUB\&gt;&lt;&lt;&lt;
\Send{BACK}
{|&lt;start msub base|&gt;}|&lt;msub sub|&gt;%
&gt;&gt;&gt;

\&lt;open internal limits SUB\&gt;&lt;&lt;&lt;
\Send{BACK}
{|&lt;start msub base|&gt;}|&lt;msub sub|&gt;%
&gt;&gt;&gt;

\&lt;close internal limits SUB\&gt;&lt;&lt;&lt;
|&lt;close msub|&gt;%
&gt;&gt;&gt;






%%%%%%%%%%%%%
\section{On Arrows (over/under - end - scripts)}
%%%%%%%%%%%%%



\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\renewcommand{\xrightarrow}[2][]{%
   \if :#1:
      \HCode{|&lt;msup limits base|&gt;}%
        \rightarrow
        |&lt;msup limits script super|&gt;#2%
        |&lt;close limits sup|&gt;%
   \else
      \HCode{|&lt;start limits msubsup base|&gt;}%
        \leftarrow
        |&lt;msubsup limits sub|&gt;#1%
        |&lt;msubsup limits sup|&gt;#2%                     
        |&lt;close limits script|&gt;%
   \fi
}
\renewcommand{\xleftarrow}[2][]{%
   \if :#1:
      \HCode{|&lt;msup limits base|&gt;}%
        \leftarrow
        |&lt;msup limits script super|&gt;#2%
        |&lt;close limits sup|&gt;%
   \else
      \HCode{|&lt;start limits msubsup base|&gt;}%
        \leftarrow
        |&lt;msubsup limits sub|&gt;#1%
        |&lt;msubsup limits sup|&gt;#2%                     
        |&lt;close limits script|&gt;%
   \fi
}
&gt;&gt;&gt;




%%%%%%%%%%%%%
\section{On Text (over/under - end - scripts)}
%%%%%%%%%%%%%

\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\def\overset#1#2{{%
      \HCode{|&lt;msup limits base|&gt;}%
        #2%
        |&lt;msup limits script super|&gt;#1%
        |&lt;close limits sup|&gt;%
}}
\def\underset#1#2{{%
      \HCode{|&lt;msub limits base|&gt;}%
        #2%
        |&lt;msub limits script sub|&gt;#1%
        |&lt;close limits sub|&gt;%
}}
&gt;&gt;&gt;






\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\def\sideset#1#2#3{{\Tg&lt;mrow class="sideset"\Hnewline
        &gt;{\HCode{}}#1{\HCode{}#3}#2\Tg&lt;/mrow&gt;}}
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%
\section{Accents}
%%%%%%%%%%%%%%%%%%

\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\:CheckOption{new-accents}     \if:Option \else
  |&lt;config mathml accents|&gt;
\fi
&gt;&gt;&gt;

\&lt;config mathml accents\&gt;&lt;&lt;&lt;
\Configure{accents}
  {\ifmmode \expandafter\mathord\fi
     {|&lt;temp hcode accents|&gt;%
   \ht:special{t4ht@[}\if!#1!x\else#2\fi
   \ht:special{t4ht@]}}}
  {\ifmathml
      \ifmtext |&lt;accent in text mode|&gt;%
      \else    \AccentMath{|&lt;under over accents|&gt;}\fi
   \else       |&lt;accent in text mode|&gt;\fi
  }
&gt;&gt;&gt;



\&lt;temp hcode accents\&gt;&lt;&lt;&lt;
\leavevmode 
\if !#1!\ht:special{t4ht@+&amp;{35}x#2;}%
\else \expandafter \ifx\csname U#2#1\endcsname\relax
    \ht:special{t4ht@+&amp;{35}x#2;}%
\else
    \ht:special{t4ht@+&amp;{35}x\csname U#2#1\endcsname;}%
\fi \fi x%
&gt;&gt;&gt;

\&lt;accent in text mode\&gt;&lt;&lt;&lt;
\expandafter\ifx \csname :#1:over\endcsname\relax
   \expandafter\ifx \csname :#1:under\endcsname\relax
      \AccentMath{|&lt;under over accents|&gt;}%
   \else #3\csname :#1:under\endcsname \fi
\else #3\csname :#1:over\endcsname \fi
&gt;&gt;&gt;


\&lt;under over accents\&gt;&lt;&lt;&lt;
\expandafter\ifx \csname :#1:over\endcsname\relax
  |&lt;under accents|&gt;%
\else \expandafter\ifx \csname :#1:under\endcsname\relax
  |&lt;over accents|&gt;%
\else
  |&lt;both accents|&gt;%
\fi \fi
&gt;&gt;&gt;

\&lt;under accents\&gt;&lt;&lt;&lt;
\HCode{&lt;munder\Hnewline 
   accent="true"&gt;&lt;mrow\Hnewline&gt;&lt;BREAK SIZE="small"/&gt;}%
   #3\HCode{&lt;/mrow&gt;}%
      \csname :#1:under\endcsname
   \HCode{&lt;/munder&gt;}%
&gt;&gt;&gt;

\&lt;over accents\&gt;&lt;&lt;&lt;
\HCode{&lt;mover class="mover-accent"&gt;%
       &lt;mrow\Hnewline&gt;&lt;BREAK SIZE="small"/&gt;}%
       #3\HCode{&lt;/mrow&gt;}%
   \csname prefix:#1:over\endcsname
   \csname :#1:over\endcsname
   \HCode{&lt;/mover&gt;}%
&gt;&gt;&gt;

\&lt;both accents\&gt;&lt;&lt;&lt;
\HCode{&lt;munderover\Hnewline 
   accent="true"&gt;&lt;mrow\Hnewline&gt;&lt;BREAK SIZE="small"/&gt;}%
   #3\HCode{&lt;/mrow&gt;}%
   \csname :#1:under\endcsname
   \csname :#1:over\endcsname
   \HCode{&lt;/munderover&gt;}%
&gt;&gt;&gt;

\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
\def\:temp#1#2{\expandafter\def\csname prefix:#1:over\endcsname
      {\HCode{\add:description{added-description}{ #2 }}}}
\:temp{vec}{\b:speak:underover}
\:temp{dddot}{\b:speak:underover}
\:temp{ddddot}{\b:speak:underover}
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%
\chapter{Tables}
%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%
\section{Tabular}
%%%%%%%%%%%%%%%%%%

\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
|&lt;array and tabular|&gt;
&gt;&gt;&gt;

\&lt;configure jsml array\&gt;&lt;&lt;&lt;
|&lt;array and tabular|&gt;
&gt;&gt;&gt;

\&lt;configure tabular noalign\&gt;&lt;&lt;&lt;
\Configure{noalign}%
  {\f:tabular\d:tabular \HCode{&lt;tr&gt;&lt;td colspan="\ar:cnt"&gt;}}
  {\HCode{&lt;/td&gt;&lt;/tr&gt;}\pend:def\TableNo{0}\c:tabular\e:tabular}%
&gt;&gt;&gt;


\&lt;configure clear noalign\&gt;&lt;&lt;&lt;
\Configure{noalign}{}{}%
&gt;&gt;&gt;


\&lt;inline comment\&gt;&lt;&lt;&lt;
\ifvmode\else\HCode{&lt;!--tex4ht:inline--&gt;}\fi
&gt;&gt;&gt;



\&lt;array and tabular\&gt;&lt;&lt;&lt;
\HAssign\TableNo=0
\Configure{tabular}
   {\ifvmode \IgnorePar\fi \EndP 
    \HCode{&lt;PARA&gt;&lt;table class="tabular" &gt;}%
     |&lt;begin tabular note|&gt;}
   {\Tag{tabular-\TableNo}{\hrow:s}%
    |&lt;end tabular note|&gt;\HCode{&lt;/table&gt;&lt;/PARA&gt;}}
   {\HCode{&lt;tr&gt;&lt;!--row \HRow--&gt;}%
    |&lt;begin table row note|&gt;}
   {\xdef\hrow:s{\HRow}|&lt;end table row note|&gt;\HCode{&lt;/tr&gt;}}
   {\HCode{&lt;td&gt;&lt;!--entry \HRow-\HCol\ifnum 
          \HMultispan&gt;1 \, span \HMultispan\fi--&gt;}%
      |&lt;begin table cell note|&gt;\HCode{&lt;div&gt;}\SaveEndP 
      \PushStack\Table:Stck\TableNo
      \par  \ShowPar}
   {\PopStack\Table:Stck\TableNo
    \IgnorePar \EndP \ifvmode \IgnorePar \fi \EndP
    \HCode{&lt;/div&gt;}|&lt;end table cell note|&gt;%
    \HCode{&lt;/td&gt;\Hnewline}\RecallEndP }
&gt;&gt;&gt;





\&lt;begin tabular note\&gt;&lt;&lt;&lt;
\HCode{%
   &lt;BREAK SIZE="small"/&gt;&lt;PROS PITCH="-5" &gt;%
   \add:vdescription{begin-end}{begin table with 
       \ifTag{tabular-\TableNo}{\LikeRef{tabular-\TableNo}}{}
      rows and \ar:cnt columns}%
   &lt;/PROS&gt;
}%
&gt;&gt;&gt;

\&lt;end tabular note\&gt;&lt;&lt;&lt;
\HCode{|&lt;show input line no|&gt;%
   &lt;BREAK SIZE="small"/&gt;%
   &lt;PROS PITCH="-5" &gt;%
   \add:vdescription{begin-end}{end table}%
   &lt;/PROS&gt;&lt;BREAK SIZE="small"/&gt;%
}%
&gt;&gt;&gt;

\&lt;begin table row note\&gt;&lt;&lt;&lt;
\HCode{%
   &lt;BREAK SIZE="medium"/&gt;&lt;PROS PITCH="-5" &gt;%
   \add:vdescription{begin-end}{|&lt;ord row|&gt; row}%
   &lt;/PROS&gt;&lt;BREAK SIZE="medium"/&gt;%
}%
&gt;&gt;&gt;


\&lt;begin table cell note\&gt;&lt;&lt;&lt;
\HCode{%
  &lt;BREAK SIZE="medium"/&gt;%
  \ifnum \HMultispan&gt;1
    &lt;PROS PITCH="-5" &gt;%
    \add:vdescription{added-description}{|&lt;ord col|&gt; cell 
       spans \HMultispan \space columns}%
    &lt;/PROS&gt;&lt;BREAK SIZE="medium"/&gt;%
  \else
    \ifnum \HCol&gt;1 
       &lt;PROS PITCH="-5" &gt;%
       \add:vdescription{added-description}{|&lt;ord col|&gt; cell}%
       &lt;/PROS&gt;&lt;BREAK SIZE="medium"/&gt;%
    \fi
  \fi
}%
&gt;&gt;&gt;

\&lt;end table cell note\&gt;&lt;&lt;&lt;
&gt;&gt;&gt;


%%%%%%%%%%%%%
\section{Numbering}
%%%%%%%%%%%%%


     
\&lt;ord row\&gt;&lt;&lt;&lt;
&lt;span class="ord-row"&gt;\ord:pos{\HRow}&lt;/span&gt;%
&gt;&gt;&gt;

\&lt;ord col\&gt;&lt;&lt;&lt;
\ord:pos{\HCol}%
&gt;&gt;&gt;


\&lt;configure jsml tex4ht\&gt;&lt;&lt;&lt;
\def\ord:pos#1{%
   \ifcase #1
   \or first
   \or second
   \or third
   \or fourth
   \or fifth
   \or sixth
   \or seventh
   \or eighth
   \or nineth
   \else #1th
   \fi
}
&gt;&gt;&gt;





\&lt;configure jsml tex4ht\&gt;&lt;&lt;&lt;
\HAssign\HRow=0
&gt;&gt;&gt;

\&lt;advance table number\&gt;&lt;&lt;&lt;
\PushStack\Table:Stck\TableNo
\gHAdvance\Next:TableNo by 1 
\global\let\TableNo=\Next:TableNo 
&gt;&gt;&gt;

\&lt;return to prev table number\&gt;&lt;&lt;&lt;
\PopStack\Table:Stck\TableNo 
&gt;&gt;&gt;







\&lt;new row counter\&gt;&lt;&lt;&lt;
\PushStack\Row:Stck\HRow     \HAssign\HRow=0\relax
&gt;&gt;&gt;

\&lt;return to prev row counter\&gt;&lt;&lt;&lt;
\PopStack\Row:Stck\HRow
&gt;&gt;&gt;

\&lt;new col counter\&gt;&lt;&lt;&lt;
\PushStack\Col:Stck\Prev:Col
&gt;&gt;&gt;

\&lt;return to prev col counter\&gt;&lt;&lt;&lt;
\PopStack\Col:Stck\Prev:Col
&gt;&gt;&gt;




%%%%%%%%%%%%%
\section{Aligned}
%%%%%%%%%%%%%



\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{aligned}  
   {|&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;PARA&gt;&lt;mtable class="aligned"&gt;}%
    \HCode{\add:vdescription{begin-array}{\a:speak:aligned}}}
   {\Tag{aligned-\TableNo}{\hrow:s}%
    \HCode{|&lt;show input line no|&gt;%
           \add:vdescription{end-array}{\b:speak:aligned}}%
    \ifvmode \IgnorePar\fi 
    \HCode{&lt;/mtable&gt;&lt;/PARA&gt;}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;}
   {\HCode{&lt;mtr&gt;}\c:speak:aligned}%
   {\xdef\hrow:s{\HRow}\HCode{&lt;/mtr&gt;}}%
   {\HCode{&lt;mtd&gt;}%
    \e:speak:aligned \HCode{&lt;div&gt;}}
   {\HCode{&lt;/div&gt;}\f:speak:aligned
    \HCode{&lt;/mtd&gt;\Hnewline}}
&gt;&gt;&gt;

\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\NewConfigure{speak:aligned}{6}
\Configure{speak:aligned}
   {begin 
       \ifTag{aligned-\TableNo}{\LikeRef{aligned-\TableNo}}{}
       aligned equations}
   {end  equations}
   {|&lt;begin table row note|&gt;}
   {|&lt;end table row note|&gt;}
   {|&lt;begin table cell note|&gt;}
   {|&lt;end table cell note|&gt;}
&gt;&gt;&gt;



\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{alignedat}  
   {|&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;PARA&gt;&lt;mtable class="aligned"&gt;}%
    \HCode{\add:vdescription{begin-array}{\a:speak:aligned}}}
   {\Tag{aligned-\TableNo}{\hrow:s}%
    \HCode{|&lt;show input line no|&gt;%
           \add:vdescription{end-array}{\b:speak:aligned}}%
    \ifvmode \IgnorePar\fi \HCode{&lt;/mtable&gt;&lt;/PARA&gt;}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;}
   {\HCode{&lt;mtr&gt;}\c:speak:aligned}%
   {\xdef\hrow:s{\HRow}\HCode{&lt;/mtr&gt;}}%
   {\HCode{&lt;mtd&gt;}%
    \e:speak:aligned \HCode{&lt;div&gt;}}
   {\HCode{&lt;/div&gt;}\f:speak:aligned
    \HCode{&lt;/mtd&gt;\Hnewline}}
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%%%
\section{Cases}
%%%%%%%%%%%%%%%%%

\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\Configure{cases}
    {}{} {\HCode{&lt;PARA&gt;&lt;mtable&gt;}}{\HCode{&lt;/mtable&gt;&lt;/PARA&gt;}}
    {\Tg&lt;mtr&gt;}{\Tg&lt;/mtr&gt;}
    {\Tg&lt;mtd class="cases"&gt;}{\Tg&lt;/mtd&gt;}
&gt;&gt;&gt;


\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\ConfigureEnv{cases}
   {|&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;div class="cases"&gt;}%
    \bgroup
       |&lt;save left/right config|&gt;%
       |&lt;config amsmath cases|&gt;%
       |&lt;cases left/right|&gt;%
   }
   {\egroup\HCode{&lt;/div&gt;}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;}
   {}{}
&gt;&gt;&gt;






\&lt;config amsmath cases\&gt;&lt;&lt;&lt;
\Configure{array} 
   {\HCode{&lt;mtable class="cases"&gt;%
           |&lt;start cases note|&gt;}} %
   {\Tag{cases-\TableNo}{\HRow}%
    \HCode{|&lt;show input line no|&gt;%
           |&lt;end cases note|&gt;}%
    \ifvmode \IgnorePar\fi \Tg&lt;/mtable&gt;}
   {\HCode{&lt;mtr&gt;%
           |&lt;next case note|&gt;}}
   {\HCode{&lt;/mtr&gt;}}%
   {\HCode{&lt;mtd  class="sub-case-\HCol" &gt;%
           &lt;BREAK SIZE="\ifnum \HCol&gt;1 medium\else 
                                        small\fi"/&gt;}%
    \bgroup
       |&lt;config array|&gt;%
       |&lt;recall left/right config|&gt;%
   }
   {\egroup \HCode{&lt;/mtd&gt;\Hnewline}}
&gt;&gt;&gt;

\&lt;start cases note\&gt;&lt;&lt;&lt;
\add:vdescription{begin-array}{&lt;BREAK SIZE="small"/&gt;begin 
      \ifTag{cases-\TableNo}{\LikeRef{cases-\TableNo}}{}  
      cases&lt;BREAK SIZE="small"/&gt;}%
&gt;&gt;&gt;

\&lt;end cases note\&gt;&lt;&lt;&lt;
\add:vdescription{end-array}
   {&lt;BREAK SIZE="small"/&gt;end cases&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;

\&lt;next case note\&gt;&lt;&lt;&lt;
\add:vdescription{begin-end}
   {&lt;BREAK SIZE="small"/&gt;|&lt;ord row|&gt; case}%
&gt;&gt;&gt;


\&lt;cases left/right\&gt;&lt;&lt;&lt;
\Configure{left}
   {}
   {\bgroup}
\Configure{right}
   {\egroup}
   {}
&gt;&gt;&gt;


\&lt;save left/right config\&gt;&lt;&lt;&lt;
\let\sv:a:left=\a:left
\let\sv:b:left=\b:left
\let\sv:a:right=\a:right
\let\sv:b:right=\b:right
&gt;&gt;&gt;


\&lt;recall left/right config\&gt;&lt;&lt;&lt;
\let\a:left=\sv:a:left
\let\b:left=\sv:b:left
\let\a:right=\sv:a:right
\let\b:right=\sv:b:right
&gt;&gt;&gt;




%%%%%%%%%%%%%%%%%%%%
\section{matrix}
%%%%%%%%%%%%%%%%%%%%

\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\Configure{matrix}
   {|&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;PARA&gt;&lt;mtable class="array"&gt;}%
    \HCode{\add:vdescription{begin-array}{\a:speak:array}}}
   {\Tag{array-\TableNo}{\hrow:s}%
    \HCode{|&lt;show input line no|&gt;%
           \add:vdescription{end-array}{\b:speak:array}}%
    \ifvmode \IgnorePar\fi \HCode{&lt;/mtable&gt;&lt;/PARA&gt;}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;}
   {\HCode{&lt;mtr&gt;}\c:speak:array}%
   {\xdef\hrow:s{\HRow}\HCode{&lt;/mtr&gt;}}%
   {\HCode{&lt;mtd&gt;}%
    \e:speak:array\HCode{&lt;div&gt;}}
   {\HCode{&lt;/div&gt;}\f:speak:array
    \HCode{&lt;/mtd&gt;\Hnewline}}
&gt;&gt;&gt;

\&lt;mtd matrix\&gt;&lt;&lt;&lt;
\HCode{&lt;mtd\Hnewline class="matrix" 
   \ifnum 1&lt;\HMultispan columnspan="\HMultispan"\fi}%
   \halignTD    \HCode{&gt;}%
&gt;&gt;&gt;



The grouping below is handle the case that the matrix is a base of an exponent.


\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\Configure{pmatrix}
  {\bgroup\HCode{&lt;PARA&gt;&lt;div class="pmatrix"&gt;&lt;BREAK SIZE="small"/&gt;}}
  {\HCode{&lt;BREAK SIZE="small"/&gt;&lt;/div&gt;&lt;/PARA&gt;}\egroup}
&gt;&gt;&gt;




\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\NewConfigure{speak:array}{6}
\Configure{speak:array}
   {&lt;BREAK SIZE="small"/&gt;begin array with
       \ifTag{array-\TableNo}{\LikeRef{array-\TableNo}}{}
       rows&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;end array&lt;BREAK SIZE="small"/&gt;}
   {|&lt;begin table row note|&gt;}
   {|&lt;end table row note|&gt;}
   {|&lt;begin table cell note|&gt;}
   {|&lt;end table cell note|&gt;}
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%%%%%%%%
\section{EqAlign}
%%%%%%%%%%%%%%%%%%%%%%%%%

\&lt;configure jsml plain\&gt;&lt;&lt;&lt;
|&lt;TABLE eqalign shared Configure 4.0t|&gt;
&gt;&gt;&gt;
\&lt;TABLE eqalign shared Configure 4.0t\&gt;&lt;&lt;&lt;
\Configure{eqalign}
   {\:xhtml{\IgnorePar\EndP}\HCode
      {&lt;div class="eqalign"&gt;&lt;table class="eqalign"&gt;}}
   {\HCode{&lt;/table&gt;&lt;/div&gt;}}
   {\HCode{&lt;tr \Hnewline class="eqalign"
         valign="middle"&gt;}}{\IgnorePar\HCode{&lt;/tr&gt;}}
   {\HCode{&lt;td align="\ifnum \HCol=2
         left\else right\fi"\Hnewline  class="eqalign\HCol" 
         style="white-space:nowrap;"&gt;}}
   {\HCode{&lt;/td&gt;}}
\def\:eqalign:{\Configure{noalign}
  {\HCode{&lt;tr&gt;&lt;td class="noalign" colspan="2"&gt;}}%
  {\HCode{&lt;/td&gt;&lt;/tr&gt;}}}

&gt;&gt;&gt;





\&lt;TABLE eqalign shared Configure 4.0t\&gt;&lt;&lt;&lt;
\Configure{eqalignno}
   {\:xhtml{\IgnorePar\EndP}\HCode{&lt;table class="eqalignno"&gt;}}
   {\HCode{&lt;/table&gt;}}
   {\HCode{&lt;tr\Hnewline class="eqalignno"&gt;}}{\IgnorePar\HCode{&lt;/tr&gt;}}
   {\HCode{\ifnum \HCol=3 &lt;td\Hnewline width="10"
           class="eqalignno-sp"&gt;&lt;/td&gt;\fi
           &lt;td align="\ifnum \HCol=2 left\else right\fi"\Hnewline
           class="eqalignno\HCol"&gt;}}
   {\HCode{&lt;/td&gt;}}
\def\:eqalignno:{\Configure{noalign}
  {\HCode{&lt;tr&gt;&lt;td class="noalign" colspan="2"&gt;}}%
  {\HCode{&lt;/td&gt;&lt;/tr&gt;}}}

&gt;&gt;&gt;

\&lt;TABLE eqalign shared Configure 4.0t\&gt;&lt;&lt;&lt;
\Configure{leqalignno}
   {\:xhtml{\IgnorePar\EndP}\HCode{&lt;table class="leqalignno"&gt;}}
   {\HCode{&lt;/table&gt;}}
   {\HCode{&lt;tr \Hnewline 
           class="leqalignno"&gt;}}{\IgnorePar\HCode{&lt;/tr&gt;}}
   {\HCode{\ifnum \HCol=3 &lt;td\Hnewline width="30"
           class="eqalignno-sp"&gt;&lt;/td&gt;\fi
           &lt;td align="\ifnum \HCol=2 left\else right\fi"\Hnewline
           class="leqalignno\HCol"&gt;}}
   {\HCode{&lt;/td&gt;}}
\def\:leqalignno:{\Configure{noalign}
  {\HCode{&lt;tr&gt;&lt;td class="noalign" colspan="2"&gt;}}%
  {\HCode{&lt;/td&gt;&lt;/tr&gt;}}}
&gt;&gt;&gt;



\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
|&lt;config array|&gt;
&gt;&gt;&gt;

\&lt;configure jsml-math array\&gt;&lt;&lt;&lt;
|&lt;config array|&gt;
&gt;&gt;&gt;


\&lt;config array\&gt;&lt;&lt;&lt;
\Configure{array} 
   {|&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;PARA&gt;&lt;mtable class="array"&gt;}%
    \HCode{\add:vdescription{begin-array}{\a:speak:array}}}
   {\Tag{array-\TableNo}{\hrow:s}%
    \HCode{|&lt;show input line no|&gt;%
           \add:vdescription{end-array}{\b:speak:array}}%
    \ifvmode \IgnorePar\fi
    |&lt;insert Clr|&gt;\HCode{&lt;/mtable&gt;&lt;/PARA&gt;}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;}
   {\HCode{&lt;mtr&gt;}\c:speak:array}%
   {\xdef\hrow:s{\HRow}\HCode{&lt;/mtr&gt;}}%
   {\HCode{&lt;mtd&gt;}%
    \e:speak:array\HCode{&lt;div&gt;}}
   {\HCode{&lt;/div&gt;}\f:speak:array
    \HCode{&lt;/mtd&gt;\Hnewline}}
\ConfigureEnv{array}
   {\bgroup\Configure{$}{}{}{}} 
   {\egroup}
   {}{}
&gt;&gt;&gt;






\&lt;begin array row note\&gt;&lt;&lt;&lt;
\HCode{\add:vdescription{begin-end}{Row \HRow}}%
&gt;&gt;&gt;




\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
\ConfigureEnv{array}
   {\PushStack\Col:Marg\AllColMargins
    \bgroup\Configure{$}{}{}{}} 
   {\egroup \PopStack\Col:Marg\AllColMargins}
   {}{}
&gt;&gt;&gt;

\&lt;configure jsml-math array\&gt;&lt;&lt;&lt;
\ConfigureEnv{array}
   {\PushStack\Col:Marg\AllColMargins
    \bgroup\Configure{$}{}{}{}} 
   {\egroup \PopStack\Col:Marg\AllColMargins}
   {}{}
&gt;&gt;&gt;






\&lt;insert Clr\&gt;&lt;&lt;&lt;
\expandafter\tmp:toks\expandafter{\Clr}%
\HCode{&lt;!--\the\tmp:toks--&gt;}%
&gt;&gt;&gt;





\&lt;mathml latex\&gt;&lt;&lt;&lt;
\def\:MM{m}
\Configure{HBorder}
   {&lt;mtr\Hnewline class="hline"&gt;} 
   {|&lt;mml hline|&gt;}
   {&lt;/mtr&gt;}
   {&lt;mtr\Hnewline class="cline"&gt;}
   {&lt;mtd&gt;&lt;/mtd&gt;}
   {|&lt;mml hline|&gt;}
   {&lt;/mtr&gt;}
   {&lt;mtr\Hnewline class="vspace" style="font-size:\HBorderspace"&gt;}
   {&lt;mtd\Hnewline&gt;&lt;/mtd&gt;}
   {&lt;/mtr&gt;}
&gt;&gt;&gt;

\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
\def\:MM{\ifmathml m\fi}
\Configure{HBorder}
   {&lt;\:MM tr\Hnewline 
       \ifmathml \expandafterclass\else class\fi="hline"&gt;} 
   {\ifmathml|&lt;mml hline|&gt;\else
            &lt;td&gt;&lt;hr\xml:empty&gt;&lt;/td&gt;\fi} 
   {&lt;/\:MM tr&gt;}
   {&lt;\:MM tr\Hnewline
       \ifmathml \expandafterclass\else class\fi ="cline"&gt;}
   {&lt;\:MM td&gt;&lt;/\:MM td&gt;}
   {\ifmathml|&lt;mml hline|&gt;\else
            &lt;td&gt;&lt;hr\xml:empty&gt;&lt;/td&gt;\fi}
   {&lt;/\:MM tr&gt;}
   {&lt;\:MM tr\Hnewline
         \ifmathml \expandafterclass\else  class\fi="vspace"
         style="font-size:\HBorderspace"&gt;}
   {&lt;\:MM td\Hnewline&gt;\ifmathml\else\string&amp;\#x00A0;\fi
      &lt;/\:MM td&gt;}
   {&lt;/\:MM tr&gt;}
\Configure{halign}
   {\EndP\halignTB{halign}}   \t:HA
   \R:HA\r:HA\D:HA\d:HA
&gt;&gt;&gt;



\&lt;mml hline\&gt;&lt;&lt;&lt;
&lt;mtd&gt;&lt;mo&gt; \string&amp;\#x0332; &lt;/mo&gt;&lt;/mtd&gt;
&gt;&gt;&gt;

%%%%%%%%%%%%%
\section{Small Matrix}
%%%%%%%%%%%%%



\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
|&lt;config multicolumn|&gt;
&gt;&gt;&gt;


\&lt;configure jsml-math array\&gt;&lt;&lt;&lt;
|&lt;config multicolumn|&gt;
&gt;&gt;&gt;


\&lt;config multicolumn\&gt;&lt;&lt;&lt;
\Configure{multicolumn}
   {\let\sv:VBorder\VBorder
    \let\VBorder\empty
    \Configure{VBorder}{}{}{}{}%
   }
   {\let\VBorder\sv:VBorder}   
   {\ifmmode \else
       \ifvmode\IgnorePar\fi
    \fi   \HCode{&lt;div class="multicolumn" title="\HMultispan"&gt;}}
   {\ifmmode \else
       \ifvmode\IgnorePar\fi \EndP\fi \HCode{&lt;/div&gt;} }
\def\gob:sp#1{#1}
&gt;&gt;&gt;








%%%%%%%%%%%%%%%%%%%%
\section{TeX EqAlign}
%%%%%%%%%%%%%%%%%%%%


\&lt;mathml plain\&gt;&lt;&lt;&lt;
\Configure{eqalignno}
   {\HCode{&lt;PARA&gt;&lt;mtable class="eqalignno"&gt;}}
   {\HCode{&lt;/mtable&gt;&lt;/PARA&gt;}}
   {\HCode{&lt;mtr\Hnewline class="eqalignno"&gt;}}
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd \Hnewline class="eqalignno-\HCol"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
\def\:eqalignno:{\Configure{noalign}
  {\HCode{&lt;mtr&gt;&lt;mtd class="noalign" colspan="2"&gt;}}%
  {\HCode{&lt;/mtd&gt;&lt;/mtr&gt;}}}
&gt;&gt;&gt;


\&lt;mathml plain\&gt;&lt;&lt;&lt;
\Configure{leqalignno}
   {\HCode{&lt;PARA&gt;&lt;mtable class="leqalignno"&gt;}}
   {\HCode{&lt;/mtable&gt;&lt;/PARA&gt;}}
   {\HCode{&lt;mtr\Hnewline class="leqalignno"&gt;}}
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd \Hnewline class="leqalignno-\HCol"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
\def\:leqalignno:{\Configure{noalign}
  {\HCode{&lt;mtr&gt;&lt;mtd class="noalign" colspan="2"&gt;}}%
  {\HCode{&lt;/mtd&gt;&lt;/mtr&gt;}}}
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%
\section{halign}
%%%%%%%%%%%%%%%%%%


\&lt;configure jsml tex4ht2\&gt;&lt;&lt;&lt;
\Configure{embedded-halign}{}{}
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%
\chapter{To Be Inserted}
%%%%%%%%%%%%%%%%%%



\&lt;addr for Tag and Ref of Sec\&gt;&lt;&lt;&lt;
\xdef\:cursec{|&lt;section html addr|&gt;}%
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%
\section{HTML Head}
%%%%%%%%%%%%%%%%%%

\&lt;configure jsml tex4ht\&gt;&lt;&lt;&lt;
\let\Link\M:Link        \let\M:Link\:UnDef
\let\EndLink\M:EndLink  \let\M:EndLink\:UnDef
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%
\section{Bibliography and Equation References}
%%%%%%%%%%%%%%%%%%



\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
\def\@cite#1#2{%
   \HCode{\add:description{added-description}{\a:speak:citation}}%
   {#1\if@tempswa , #2\fi}}
\def\@biblabel#1{%   
   \HCode{&lt;BREAK SIZE="small" /&gt;}%
   \HCode{\add:description{added-description}{\a:speak:bib}}%
   #1\HCode{&lt;BREAK SIZE="small" /&gt;}}
&gt;&gt;&gt;

\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
\NewConfigure{speak:citation}{1}
\Configure{speak:citation}{citation }
\NewConfigure{speak:bib}{1}
\Configure{speak:bib}{Bibliography entry}&gt;&gt;&gt;




\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{eqref}
   {\bgroup\let\tagform@\empty
    \HCode{&lt;span class="eqref" &gt;
       \add:description{added-description}{\a:speak:eqref}}}
   {\HCode{&lt;/span&gt;}\egroup}
&gt;&gt;&gt;

\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\NewConfigure{speak:eqref}{1}
\Configure{speak:eqref}{ equation }
&gt;&gt;&gt;











%%%%%%%%%%%%%%%%%%
\section{Cross Links}
%%%%%%%%%%%%%%%%%%


\&lt;configure jsml tex4ht\&gt;&lt;&lt;&lt;
\Configure{crosslinks}{ }{ }{next}{previous}{previous-tail}{front}{tail}{up}
\Configure{crosslinks+}
   {\IgnorePar\EndP\HCode{|&lt;show input line no|&gt;%
                          &lt;div class="crosslinks"&gt;&lt;p class="noindent"&gt;
        \add:vdescription{begin-end}{\a:speak:crosslinks}}}
   {\HCode{\add:vdescription{begin-end}{\b:speak:crosslinks}
           &lt;/p&gt;&lt;/div&gt;}\par\ShowPar}
   {\IgnorePar\EndP\HCode{|&lt;show input line no|&gt;%
                          &lt;div class="crosslinks"&gt;&lt;p class="noindent"&gt;
        \add:vdescription{begin-end}{\a:speak:crosslinks}}}
   {\HCode{\add:vdescription{begin-end}{\b:speak:crosslinks}
           &lt;/p&gt;&lt;/div&gt;}\par\ShowPar}
\:CheckOption{next}     \if:Option   
   \Configure{next+}
     {\ShowPar\par\noindent \HCode{&lt;span class="next"&gt;
      \add:description{added-description}{\c:speak:crosslinks}}}
     {\HCode{&lt;/span&gt;}}
\fi
&gt;&gt;&gt;


\&lt;configure jsml tex4ht\&gt;&lt;&lt;&lt;
\NewConfigure{speak:crosslinks}{3}
\Configure{speak:crosslinks}
   {Navigation links}
   {End navigation links}
   {Navigation link}
&gt;&gt;&gt;





%%%%%%%%%%%%%%%%%%
\section{Sections}
%%%%%%%%%%%%%%%%%%


\&lt;latex shared section config\&gt;&lt;&lt;&lt;
\ConfigureMark{section}
   {\ifnum \c:secnumdepth&gt;\c@secnumdepth \expandafter\:gobble
    \else
       \HCode{&lt;span class="titlemark"&gt;\add:description{added-description}
                              {\a:speak:section}}\@seccntformat{section}%
       \HCode{&lt;/span&gt;}\fi }
\ConfigureMark{subsection}
   {\ifnum \c:secnumdepth&gt;\c@secnumdepth  \expandafter\:gobble
    \else 
       \HCode{&lt;span class="titlemark"&gt;\add:description{added-description}
                              {\a:speak:subsection}}\@seccntformat{subsection}%
       \HCode{&lt;/span&gt;}\fi }
|&lt;latex speak section|&gt;
&gt;&gt;&gt;



\&lt;ams art,proc,book div\&gt;&lt;&lt;&lt;
\ConfigureMark{subsection}
  {\ifnum \c:secnumdepth&gt;\c@secnumdepth \expandafter\:gobble
    \else
       \HCode{&lt;span class="titlemark"&gt;%
             \add:description{added-description}
               {\a:speak:section}}\@ifundefined{sectionname}{}{%
          \ignorespaces\sectionname\space}%
          \@seccntformat{section}%
       \HCode{&lt;/span&gt;}\fi }
|&lt;latex speak section|&gt;
&gt;&gt;&gt;



\&lt;latex speak section\&gt;&lt;&lt;&lt;
\NewConfigure{speak:section}{1}
\Configure{speak:section}{section}
\NewConfigure{speak:subsection}{1}
\Configure{speak:subsection}{subsection}
&gt;&gt;&gt;















%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{The equation Environment}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{LaTeX}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
\Configure{equation}
  {\IgnorePar|&lt;inline end-par comment|&gt;\EndP
   |&lt;advance table number|&gt;%
   \HCode{&lt;div class="display-math"&gt;%
      \add:description{begin-math}{\a:speak:equation}%
      &lt;div class="equation"&gt;}\IgnorePar
     |&lt;math display in equation|&gt;}
  {\ifvmode \IgnorePar\fi\EndP
   \HCode{&lt;/div&gt;}%
   \let\@eqnnum\empty
  }
  {\HCode{%
       \add:description{end-math}{\b:speak:equation}%
      &lt;/div&gt;}%
   \Tag{eq-\TableNo-num}{\theequation}%
   |&lt;try inline par|&gt;}
&gt;&gt;&gt;



\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
\NewConfigure{speak:equation}{2}
\Configure{speak:equation}
   {&lt;BREAK SIZE="medium"/&gt;begin equation 
         \ifTag{eq-\TableNo-num}{\LikeRef{eq-\TableNo-num}}{}%
    &lt;BREAK SIZE="small"/&gt;
   }
   {&lt;BREAK SIZE="small"/&gt;end equation \theequation
    &lt;BREAK SIZE="medium"/&gt;}
&gt;&gt;&gt;



\&lt;inline end-par comment\&gt;&lt;&lt;&lt;
\ifvmode\else \HCode{&lt;!--tex4ht:inline--&gt;}\fi
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{AmsMath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%






\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\ifx \mathdisplay@@pop\:UnDef
   \ifx \emdf@La\:UnDef
      |&lt;amsmath html-mml pre 2000|&gt;
   \else
      |&lt;amsmath html-mml jan 2000|&gt;
   \fi
\else
   |&lt;amsmath html-mml july 2000|&gt;
\fi
&gt;&gt;&gt;


\&lt;amsmath html-mml july 2000\&gt;&lt;&lt;&lt;
\Configure{equation}
  {\ifvmode \IgnorePar\fi\EndP
   |&lt;advance table number|&gt;%
   \HCode{&lt;div class="display-math"&gt;%
      \add:description{begin-math}{\a:speak:equation}%
   &lt;div class="equation"&gt;}%
   |&lt;amsmath equation july 2000|&gt;%
   |&lt;math display in equation|&gt;%
  }
  {\ifvmode \IgnorePar\fi\EndP
   \HCode{&lt;/div&gt;}%
   \let\@eqnnum\empty
  }
  {\ifvmode \IgnorePar\fi\EndP
    \HCode{%
       \add:description{end-math}{\b:speak:equation}%
       &lt;/div&gt;}%
    \Tag{eq-\TableNo-num}{\theequation}%
    |&lt;return to prev table number|&gt;%
    \ShowPar\IgnoreIndent\par}
&gt;&gt;&gt;



\&lt;amsmath html-mml july 2000\&gt;&lt;&lt;&lt;
\Configure{equation*}
  {\ifvmode \IgnorePar\fi\EndP
   |&lt;advance table number|&gt;%
   \HCode{&lt;div class="display-math"&gt;%
      \add:description{begin-math}{\csname 
                               a:speak:equation*\endcsname}}%
   |&lt;amsmath equation-star july 2000|&gt;%
   |&lt;math display in equation|&gt;%
  }
  {\ifvmode \IgnorePar\fi\EndP 
   \HCode{\add:description{end-math}{\csname 
                         b:speak:equation*\endcsname}&lt;/div&gt;}%
   |&lt;return to prev table number|&gt;%
   \ShowPar\IgnoreIndent\par}
&gt;&gt;&gt;


\&lt;amsmath html-mml july 2000\&gt;&lt;&lt;&lt;
\Configure{speak:equation}
   {&lt;BREAK SIZE="medium"/&gt;begin equation 
         \ifTag{eq-\TableNo-num}{\LikeRef{eq-\TableNo-num}}{}%
    &lt;BREAK SIZE="small"/&gt;
   }
   {&lt;BREAK SIZE="small"/&gt;end equation 
                     \theequation&lt;BREAK SIZE="medium"/&gt;}
\NewConfigure{speak:equation*}{2}
\Configure{speak:equation*}
   {&lt;BREAK SIZE="medium"/&gt;begin equation&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;end equation&lt;BREAK SIZE="medium"/&gt;}
&gt;&gt;&gt;



\&lt;amsmath equation july 2000\&gt;&lt;&lt;&lt;
\Configure{gather}
     {\HCode{&lt;div\Hnewline class="equation"&gt;&lt;div
                                       class="gather"&gt;}\IgnorePar 
         |&lt;math display in equation|&gt;}
     {\HCode{&lt;/div&gt;&lt;/div&gt;}}
     {}
     {}
     {\ifnum\HCol=2 \IgnorePar
         \HCode{&lt;/div&gt;&lt;div&gt;}\fi }
     {}
&gt;&gt;&gt;


\&lt;amsmath equation-star july 2000\&gt;&lt;&lt;&lt;
\Configure{gather*}
     {\HCode{&lt;div\Hnewline class="equation-star"&gt;&lt;div
                                  class="gather-star"&gt;}\IgnorePar 
         |&lt;math display in equation|&gt;}
     {\HCode{&lt;/div&gt;&lt;/div&gt;}}
     {}
     {}
     {\ifnum\HCol=2 \IgnorePar
         \HCode{&lt;/div&gt;&lt;div&gt;}\fi }
     {}
&gt;&gt;&gt;


\&lt;math display in equation\&gt;&lt;&lt;&lt;
\Configure{$$}
   {\Configure{@math}{|&lt;block display|&gt;%
                       class="equation"}\IgnorePar\EndP\DviMath}
   {\EndDviMath\EndP}
   {\DisplayMathtrue}%
&gt;&gt;&gt;











\&lt;configure html-mml amsmath\&gt;&lt;&lt;&lt;
\Configure{@begin}
  {split}
  {\let\tagform@=\:gobble }
&gt;&gt;&gt;





\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{split}
   {|&lt;advance table number|&gt;%
    \HCode{&lt;mtable class="split"&gt;|&lt;start split note|&gt;}}
   {\ifvmode\IgnorePar\fi 
    \Tag{split-\TableNo}{\HRow:s}%      
    \HCode{|&lt;end split note|&gt;&lt;/mtable&gt;}%
    |&lt;return to prev table number|&gt;}
   {\HCode{&lt;mtr\Hnewline&gt;}%
    \xdef\HRow:s{\HRow}%
   } 
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd\Hnewline class="split-side" 
                         title="implicit-baseline" &gt;%
           |&lt;split note sub eq note|&gt;}%
   }
   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;


\&lt;start split note\&gt;&lt;&lt;&lt;
\add:vdescription{begin-array}{&lt;BREAK SIZE="medium"/&gt;begin 
    \ifTag{split-\TableNo}{\LikeRef{split-\TableNo}}{}
    sub equations&lt;BREAK SIZE="small"/&gt;}%
&gt;&gt;&gt;


\&lt;end split note\&gt;&lt;&lt;&lt;
\add:vdescription{end-array}{&lt;BREAK SIZE="small"/&gt;end sub equations&lt;BREAK SIZE="medium"/&gt;}%
&gt;&gt;&gt;   

\&lt;split note sub eq note\&gt;&lt;&lt;&lt;
\add:vdescription{begin-end}{&lt;BREAK SIZE="small"/&gt;%
  \ifnum \HCol=1 left \else right  \fi
  |&lt;ord row|&gt; sub equation&lt;BREAK SIZE="small"/&gt;}%
&gt;&gt;&gt;

\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\ConfigureEnv{multline}
   {\bgroup |&lt;math display in equation|&gt;}
   {\egroup}
   {}{}  
\ConfigureEnv{multline*}
   {\bgroup |&lt;math display in equation|&gt;}
   {\egroup}
   {}{}  
&gt;&gt;&gt;

\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{multline}
   {|&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;div\Hnewline  class="display-math"&gt;%
    |&lt;multline begin note|&gt;%
    &lt;mtable&gt;}}
   {\Tag{multline-\TableNo}{\hrow:s}%
    \HCode{&lt;/mtable&gt;|&lt;multline end note|&gt;&lt;/div&gt;}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;}
   {\HCode{&lt;mtr&gt;&lt;mtd\Hnewline class="multline-1"&gt;%
    |&lt;multline row note|&gt;}}
   {\xdef\hrow:s{\HRow}\HCode{&lt;/mtd&gt;&lt;/mtr&gt;}} 
   {\HCode{&lt;/mtd&gt;&lt;mtd class="multline-2"&gt;}} 
   {}
\Configure{multline-num}
   {\Tag{multline-\TableNo-num}{\theequation}\let\tagform@\:gobble}
   {}
&gt;&gt;&gt;


\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{multline*}
   {|&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;div\Hnewline class="display-math"&gt;%
           &lt;mtable class="multline-star"&gt;%
        |&lt;multline-star begin note|&gt;}}
   {\Tag{multline-\TableNo}{\hrow:s}%
    \HCode{|&lt;multline-star end note|&gt;&lt;/mtable&gt;&lt;/div&gt;}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;}
   {\HCode{&lt;mtr\Hnewline&gt;&lt;mtd&gt;%
            |&lt;multline row note|&gt;}} 
   {\xdef\hrow:s{\HRow}\HCode{&lt;/mtd&gt;&lt;/mtr&gt;}} 
&gt;&gt;&gt;





\&lt;multline begin note\&gt;&lt;&lt;&lt;
\add:vdescription{begin-math}{%
   &lt;BREAK SIZE="medium"/&gt;%
   begin equation 
   \ifTag{multline-\TableNo-num}{\LikeRef{multline-\TableNo-num}}{}
   with
   \ifTag{multline-\TableNo}{\LikeRef{multline-\TableNo}}{}
   lines&lt;BREAK SIZE="small"/&gt;}%
&lt;div class="multline"&gt;%
&gt;&gt;&gt;

\&lt;multline-star begin note\&gt;&lt;&lt;&lt;
\add:vdescription{begin-math}{%
   &lt;BREAK SIZE="medium"/&gt;%
   begin equation with
   \ifTag{multline-\TableNo}{\LikeRef{multline-\TableNo}}{}
   lines&lt;BREAK SIZE="small"/&gt;}%   
&lt;div class="multline-star"&gt;%
&gt;&gt;&gt;


\&lt;multline end note\&gt;&lt;&lt;&lt;
&lt;/div&gt;%
\add:vdescription{end-math}{end equation
   &lt;BREAK SIZE="small"/&gt;%
   \ifTag{multline-\TableNo-num}{\LikeRef
                               {multline-\TableNo-num}}{}%
   &lt;BREAK SIZE="medium"/&gt;%
}%
&gt;&gt;&gt;          

\&lt;multline-star end note\&gt;&lt;&lt;&lt;
&lt;/div&gt;%
\add:vdescription{end-math}{%
   &lt;BREAK SIZE="small"/&gt;end equation&lt;BREAK SIZE="medium"/&gt;}%
&gt;&gt;&gt;          


\&lt;multline row note\&gt;&lt;&lt;&lt;
\add:vdescription{begin-end}{%
   &lt;BREAK SIZE="small"/&gt;|&lt;ord row|&gt; line&lt;BREAK SIZE="small"/&gt;}%
&gt;&gt;&gt;

\&lt;advance multline count\&gt;&lt;&lt;&lt;
\HAdvance\HRow by 1
&gt;&gt;&gt;




\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\ConfigureEnv{gather}
   {\bgroup |&lt;math display in equation|&gt;}
   {\egroup}
   {}{}  
\ConfigureEnv{gather*}
   {\bgroup |&lt;math display in equation|&gt;}
   {\egroup}
   {}{}  
&gt;&gt;&gt;



\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{gather}
   {|&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;div\Hnewline class="display-math"&gt;%
           |&lt;begin gather note|&gt;%
       &lt;mtable class="gather"&gt;%
   }}
   {\HCode{&lt;/mtable&gt;|&lt;end gather note|&gt;%
           &lt;/div&gt;}%
    \Tag{gather-\TableNo}{\hrow:s}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;}
   {\HCode{&lt;mtr&gt;%
    |&lt;row gather note|&gt;%
   }}
   {\xdef\hrow:s{\HRow}\HCode{&lt;/mtr&gt;}} 
   {\HCode{\Hnewline&lt;mtd |&lt;gather td class|&gt; &gt;}%
    \ifnum \HCol&gt;1 \let\tagform@\:gobble \fi
   } 
   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;

\&lt;begin gather note\&gt;&lt;&lt;&lt;
\add:vdescription{begin-math}{&lt;BREAK SIZE="small"/&gt;begin group of
    \ifTag{gather-\TableNo}{\LikeRef{gather-\TableNo}}{}
    equations&lt;BREAK SIZE="small"/&gt;}%
&gt;&gt;&gt;

\&lt;end gather note\&gt;&lt;&lt;&lt;
\add:vdescription{end-math}{&lt;BREAK SIZE="small"/&gt;end equations&lt;BREAK SIZE="small"/&gt;}%
&gt;&gt;&gt;

\&lt;row gather note\&gt;&lt;&lt;&lt;
\add:vdescription{begin-end}{&lt;BREAK SIZE="small"/&gt;|&lt;ord row|&gt; equation&lt;BREAK SIZE="small"/&gt;}%
&gt;&gt;&gt;


\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{gather*}
   {|&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;div\Hnewline class="display-math"&gt;%
           |&lt;start gather star note|&gt;%
         &lt;mtable class="gather-star"&gt;%
    }}
   {\HCode{&lt;/mtable&gt;|&lt;end gather star note|&gt;%
           &lt;/div&gt;}%
    \Tag{gather-\TableNo}{\hrow:s}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;}
   {\HCode{&lt;mtr&gt;%
    |&lt;line gather star note|&gt;%
   }}
   {\xdef\hrow:s{\HRow}\HCode{&lt;/mtr&gt;}} 
   {\HCode{\Hnewline&lt;mtd |&lt;gather td class|&gt; &gt;}}
   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;

\&lt;start gather star note\&gt;&lt;&lt;&lt;
\add:vdescription{begin-math}{&lt;BREAK SIZE="small"/&gt;begin group of
  \ifTag{gather-\TableNo}{\LikeRef{gather-\TableNo}}{}
  equations&lt;BREAK SIZE="small"/&gt;}%
&gt;&gt;&gt;


\&lt;line gather star note\&gt;&lt;&lt;&lt;
\add:vdescription{begin-math}{%
   &lt;BREAK SIZE="small"/&gt;|&lt;ord row|&gt; equation&lt;BREAK SIZE="small"/&gt;}%
&gt;&gt;&gt;





\&lt;end gather star note\&gt;&lt;&lt;&lt;
\add:vdescription{end-math}{%
   &lt;BREAK SIZE="small"/&gt;end equations&lt;BREAK SIZE="small"/&gt;}%
&gt;&gt;&gt;

&lt;BREAK SIZE="small"/&gt;

\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{gathered}
   {|&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;div\Hnewline class="display-math"&gt;%
           |&lt;start gathered note|&gt;%
       &lt;mtable class="gather"&gt;%
   }}
   {\HCode{&lt;/mtable&gt;|&lt;end gathered note|&gt;%
           &lt;/div&gt;}%
    \Tag{gather-\TableNo}{\hrow:s}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;}
   {\HCode{&lt;mtr&gt;%
    |&lt;start gathered row|&gt;%
   }}
   {\xdef\hrow:s{\HRow}\HCode{&lt;/mtr&gt;}} 
   {\HCode{\Hnewline&lt;mtd |&lt;gather td class|&gt; &gt;}%
    \ifnum \HCol&gt;1 \let\tagform@\:gobble \fi
   } 
   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;


\&lt;start gathered note\&gt;&lt;&lt;&lt;
\add:vdescription{begin-math}{&lt;BREAK SIZE="small"/&gt;begin group of
   \ifTag{gather-\TableNo}{\LikeRef{gather-\TableNo}}{}
   equations&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;



\&lt;end gathered note\&gt;&lt;&lt;&lt;
\add:vdescription{end-math}{%
   &lt;BREAK SIZE="small"/&gt;end equations&lt;BREAK SIZE="small"/&gt;}%
&gt;&gt;&gt;


\&lt;start gathered row\&gt;&lt;&lt;&lt;
\add:vdescription{begin-end}{%
   &lt;BREAK SIZE="small"/&gt;|&lt;ord row|&gt; equation&lt;BREAK SIZE="small"/&gt;}%
&gt;&gt;&gt;


\&lt;gather td class\&gt;&lt;&lt;&lt; 
\ifnum \HCol=1   class="col-\HCol"
\else            class="content-less" title="col-\HCol"
\fi
&gt;&gt;&gt;


\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{subarray}
   {|&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;mtable class="subarray\if c\Hlcr-c\fi"&gt;%
       \add:vdescription{begin-array}{\a:speak:subarray}%
    }}
   {\HCode{\add:vdescription{end-array}{\b:speak:subarray}%
           &lt;/mtable&gt;}%
    \Tag{subarray-\TableNo}{\hrow:s}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;}
   {\HCode{&lt;mtr&gt;&lt;mtd&gt;%
    \add:vdescription{begin-end}{\c:speak:subarray}%
   }} 
   {\xdef\hrow:s{\HRow}\HCode{&lt;/mtd&gt;&lt;/mtr&gt;}}
&gt;&gt;&gt;

\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\NewConfigure{speak:subarray}{3}
|&lt;config speak:subarray|&gt;
&gt;&gt;&gt;

\&lt;config speak:subarray\&gt;&lt;&lt;&lt;
\Configure{speak:subarray}
   {&lt;BREAK SIZE="small"/&gt;begin sub array with
         \ifTag{subarray-\TableNo}{\LikeRef{subarray-\TableNo}}{}
         rows&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;end sub array&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;|&lt;ord row|&gt; row&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;












\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{substack}
   {\bgroup
    \Configure{speak:subarray}
      {&lt;BREAK SIZE="small"/&gt;begin sub stack with
            \ifTag{subarray-\TableNo}{\LikeRef{subarray-\TableNo}}{}
            entries&lt;BREAK SIZE="small"/&gt;}
      {&lt;BREAK SIZE="small"/&gt;end sub stack&lt;BREAK SIZE="small"/&gt;}
      {&lt;BREAK SIZE="small"/&gt;|&lt;ord row|&gt;
             entry&lt;BREAK SIZE="small"/&gt;}
   }
   {\egroup} 
&gt;&gt;&gt;















\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{smallmatrix}
   {|&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;PARA&gt;&lt;mtable class="smallmatrix"&gt;}%
    \HCode{\add:vdescription{begin-array}{\a:speak:smallmatrix}}}
   {\Tag{smallmatrix-\TableNo}{\hrow:s}%
    \HCode{|&lt;show input line no|&gt;%
           \add:vdescription{end-array}{\b:speak:smallmatrix}}%
    \ifvmode \IgnorePar\fi 
    \HCode{&lt;/mtable&gt;&lt;/PARA&gt;}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;}
   {\HCode{&lt;mtr&gt;}\c:speak:smallmatrix}%
   {\xdef\hrow:s{\HRow}\HCode{&lt;/mtr&gt;}}%
   {\HCode{&lt;mtd&gt;}%
    \e:speak:smallmatrix \HCode{&lt;div&gt;}}
   {\HCode{&lt;/div&gt;}\f:speak:smallmatrix
    \HCode{&lt;/mtd&gt;\Hnewline}}
&gt;&gt;&gt;









\&lt;plain,latex mathml\&gt;&lt;&lt;&lt;
\NewConfigure{speak:smallmatrix}{6}
\Configure{speak:smallmatrix}
   {begin matrix with
       \ifTag{smallmatrix-\TableNo}{\LikeRef{smallmatrix-\TableNo}}{}
       rows}
   {end  matrix}
   {|&lt;begin table row note|&gt;}
   {|&lt;end table row note|&gt;}
   {|&lt;begin table cell note|&gt;}
   {|&lt;end table cell note|&gt;}
&gt;&gt;&gt;

\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\def\:tempc#1#2{%
   \ConfigureEnv{#1}
     {\def\end:al:env{}\ifmmode\else 
       \ifvmode\else \def\end:al:env{\par\ShowPar\IgnoreIndent}\fi\fi}
     {\end:al:env }
     {}{}%
   \Configure{#1}
   {\IgnorePar
    \ifvmode \EndP  \else \EndP  \HCode{&lt;!--tex4ht:inline--&gt;}\fi    
    \ifmathml
       \Tg&lt;span class="mrow"&gt;\def\end:mathalign{\Tg&lt;/span&gt;}%
    \else
       \DviMath
       \def\end:mathalign{\EndDviMath \DisplayMathfalse}%
       \DisplayMathtrue
    \fi
    |&lt;advance table number|&gt;%
    |&lt;new row counter|&gt;%
    \HCode{&lt;div\Hnewline class="display-math"&gt;&lt;mtable&gt;%
        \add:description{begin-array}{\a:speak:align}%
       }}
   {\HCode{%
        \add:description{end-array}{\b:speak:align}%
       &lt;/mtable&gt;&lt;/div&gt;}%
    \Tag{align-\TableNo}{\hrow:s}%
    |&lt;return to prev row counter|&gt;%
    |&lt;return to prev table number|&gt;\end:mathalign }
   {\HCode{&lt;mtr&gt;|&lt;align eq note|&gt;}}    
   {\HCode{&lt;/mtr&gt;}\ifst@rred\else 
        \Tag{align-\TableNo-\HRow}{\theequation}%
    \fi \xdef\hrow:s{\HRow}}
   {\HCode{&lt;mtd\Hnewline 
      class="align-\ifnum \HCol&gt;\maxfields@ label\else 
         \ifodd\HCol\space  odd\else     even\fi 
       \fi"&gt;}%
    \ifnum \HCol&gt;\maxfields@ \let\tagform@\:gobble \fi
   }
   {\HCode{&lt;/mtd&gt;}}
}
\:tempc{align}{align}
\:tempc{alignat}{alignat}
\:tempc{xalignat}{xalignat}
\:tempc{xxalignat}{xxalignat}
\:tempc{flalign}{flalign}
\:tempc{align*}{align-star}
\:tempc{alignat*}{alignat-star}
\:tempc{xalignat*}{xalignat-star}
\:tempc{flalign*}{flalign-star}
&gt;&gt;&gt;


\&lt;align eq note\&gt;&lt;&lt;&lt;
\add:description{begin-end}{\c:speak:align}%
&gt;&gt;&gt;   


\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\NewConfigure{speak:align}{3}
\Configure{speak:align}
   {&lt;BREAK SIZE="small"/&gt;begin 
           \ifTag{align-\TableNo}{\LikeRef{align-\TableNo}}{}
           aligned equations&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;end aligned equations&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;\ifst@rred  |&lt;ord row|&gt; equation
    \else
       equation number \ifst@rred\else 
          \ifTag{align-\TableNo-\HRow}%
                {\LikeRef{align-\TableNo-\HRow}}{}
       \fi
    \fi &lt;BREAK SIZE="small"/&gt;%
   }
&gt;&gt;&gt;


%%%%%%%%%%%%%
\subsection{Embedded Text}
%%%%%%%%%%%%%



\&lt;configure jsml-math latex\&gt;&lt;&lt;&lt;
\def\AA:text#1{|&lt;config start mtext|&gt;}
\def\BB:text{|&lt;config end mtext|&gt;}
&gt;&gt;&gt;


\&lt;config start mtext\&gt;&lt;&lt;&lt;
\mtexttrue
\HCode{ &lt;span\Hnewline class="mstyle-#1"&gt;}%
         |&lt;start mtext space|&gt;\PauseMathClass
   |&lt;config math within mtext|&gt;%
&gt;&gt;&gt;


\&lt;config end mtext\&gt;&lt;&lt;&lt;
\mtextfalse\EndPauseMathClass|&lt;end mtext space|&gt;\HCode
     {&lt;/span&gt;}%
&gt;&gt;&gt;

\&lt;config math within mtext\&gt;&lt;&lt;&lt;
\Configure{$}%
  {\EndPauseMathClass \HCode{&lt;span \Hnewline 
                             class="text-math"&gt;}\mtextfalse
      |&lt;end mtext space|&gt;}%
  {\HCode{&lt;/span&gt;}|&lt;start mtext space|&gt;\PauseMathClass \mtexttrue}%
  {}%
&gt;&gt;&gt;



\&lt;start mtext space\&gt;&lt;&lt;&lt;
\ht:special{t4ht@,&amp;\#x00A0;}%
&gt;&gt;&gt;
\&lt;end mtext space\&gt;&lt;&lt;&lt;
\ht:special{t4ht@,}%
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%
\section{Fonts}
%%%%%%%%%%%%%%%%%%



\&lt;configure jsml-math fontmath\&gt;&lt;&lt;&lt;
\def\bold:version{bold}
\Configure{mathbf}%
  {\bgroup \HCode{&lt;span class="mathvariant-bold"&gt;%
      &lt;BREAK SIZE="small"/&gt;%
      \add:vdescription{font}{bold}&lt;PROS PITCH="-10" &gt;}}%
  {\HCode{&lt;/PROS&gt;&lt;BREAK SIZE="small"/&gt;&lt;/span&gt;}\egroup }%
\Configure{mathit}%
  {\bgroup \HCode{&lt;span 
     class="mathvariant-\ifx
         \bold:version\math@version bold-\fi italic"&gt;}}%
  {\HCode{&lt;/span&gt;}\egroup }%
\Configure{mathrm}%
  {\bgroup \HCode{&lt;span class="mathvariant-normal"&gt;}}%
  {\HCode{&lt;/span&gt;}\egroup }%
\Configure{mathsf}%
  {\bgroup \HCode{&lt;span
     class="mathvariant-\ifx 
     \bold:version\math@version bold-\fi sans-serif"&gt;}}%
  {\HCode{&lt;/span&gt;}\egroup }%
\Configure{mathtt}%
  {\bgroup \HCode{&lt;span class="mathvariant-monospace"&gt;}}%
  {\HCode{&lt;/span&gt;}\egroup }%
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%
\section{Theorems}
%%%%%%%%%%%%%%%%%%


\&lt;configure jsml latex\&gt;&lt;&lt;&lt;
\Configure{newtheorem}
   {\ifvmode\IgnorePar\fi\EndP
     \HCode{&lt;BREAK SIZE="medium"/&gt;%
     &lt;PARA&gt;&lt;div class="newtheorem"&gt;}\par\noindent
     \HCode{&lt;SENT&gt;&lt;PROS PITCH="-10" &gt;&lt;span class="theorem-head"&gt;}}
   {\HCode{&lt;/span&gt;&lt;/PROS&gt;&lt;/SENT&gt;&lt;BREAK SIZE="small"/&gt;}}
   {\EndP\IgnorePar\HCode{&lt;/div&gt;&lt;/PARA&gt;&lt;BREAK SIZE="medium"/&gt;}\ShowPar\par}
&gt;&gt;&gt;

\&lt;configure jsml acm-proc-article-sp\&gt;&lt;&lt;&lt;
\Configure{proof}
   {\ifvmode\IgnorePar\fi\EndP
     \HCode{&lt;BREAK SIZE="medium"/&gt;%
     &lt;PARA&gt;&lt;div class="newtheorem" title="proof"&gt;}\par\noindent
     \HCode{&lt;SENT&gt;&lt;PROS PITCH="-10" &gt;&lt;span  class="theorem-head"&gt;}}
   {\HCode{&lt;/span&gt;&lt;/PROS&gt;&lt;/SENT&gt;&lt;BREAK SIZE="small"/&gt;}}
   {\EndP\IgnorePar\HCode{&lt;/div&gt;&lt;/div&gt;&lt;/PARA&gt;&lt;BREAK SIZE="medium"/&gt;}\ShowPar\par}
&gt;&gt;&gt;


\&lt;configure jsml amsthm\&gt;&lt;&lt;&lt;
|&lt;shared ams thm/cls|&gt;
&gt;&gt;&gt;

\&lt;ams art,proc,book\&gt;&lt;&lt;&lt;
\ifx \deferred@thm@head\:UnDef\else   
   |&lt;shared ams thm/cls|&gt;
\fi
&gt;&gt;&gt;


\&lt;shared ams thm/cls\&gt;&lt;&lt;&lt;
\Configure{proof}
   {\ifvmode \IgnorePar \fi \EndP
    \HCode{&lt;div class="newtheorem" title="proof"&gt;}\par\ShowPar
    \HCode{&lt;span class="theorem-head"&gt;}\IgnorePar}
   {\HCode{&lt;/span&gt;}\ShowPar}
   {\ifvmode \IgnorePar \fi \EndP \HCode{&lt;/div&gt;}\par}
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%
\section{Others}
%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%%%%%%%%
\section{Boxed}
%%%%%%%%%%%%%%%%%%

\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\Configure{boxed}
   {\HCode{&lt;span class="boxed"&gt;%
    \add:description{begin-end}{\a:speak:boxed}}}
   {\HCode{\add:description{begin-end}{\b:speak:boxed}&lt;/span&gt;}}
&gt;&gt;&gt;


\&lt;configure jsml-math amsmath\&gt;&lt;&lt;&lt;
\NewConfigure{speak:boxed}{2}
\Configure{speak:boxed}
   {&lt;BREAK SIZE="small"/&gt;begin boxed&lt;BREAK SIZE="small"/&gt;}
   {&lt;BREAK SIZE="small"/&gt;end boxed&lt;BREAK SIZE="small"/&gt;}
&gt;&gt;&gt;



%%%%%%%%%%%%%
\subsection{To Do}
%%%%%%%%%%%%%

\begin{itemize}
\item
How do we deal with accents (e.g., \verb+ M\"obius+)
\end{itemize}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



\&lt;plain,fontmath math\&gt;&lt;&lt;&lt;
\Configure{MathClass}{0}{*}{&lt;span class="mi"\Hnewline&gt;}%
                                    {&lt;/span&gt;}{}
\Configure{MathClass}{1}{*}{&lt;span class="before-mo-op" 
                                  title="speech-extra"&gt;
            &lt;/span&gt;&lt;mo class="mo-op"\Hnewline
                       &gt;}{&lt;/mo&gt;&lt;span class="after-mo-op"
                                       title="speech-extra"&gt; &lt;/span&gt;}{}
\Configure{MathClass}{2}{*}{&lt;mo class="mo-bin"&gt;}{&lt;/mo&gt;}{}
\Configure{MathClass}{3}{*}{&lt;mo class="mo-rel"&gt;}{&lt;/mo&gt;}{}
\:CheckOption{mathml-}     \if:Option 
   \Configure{MathClass}{4}{*}{&lt;mo class="mo-open"&gt;}
                           {&lt;/mo&gt;}{}
   \Configure{MathClass}{5}{*}{&lt;mo class="mo-close"&gt;}
                           {&lt;/mo&gt;}{}
\else
   \Log:Note{for sources failing to produce
       clean mathml code, try the command line option `mathml-'}%
   \Configure{MathClass}{4}{*}{&lt;span class="mrow"&gt;&lt;mo class="mo-open"&gt;}
                           {&lt;/mo&gt;&lt;span class="mrow"&gt;}{}
   \Configure{MathClass}{5}{*}{&lt;/span&gt;&lt;mo class="mo-close"&gt;}
                           {&lt;/mo&gt;&lt;/span&gt;}{}
\fi
\Configure{MathClass}{6}{*}{&lt;mo class="mo-punc"&gt;}{&lt;/mo&gt;}{}
\Configure{MathClass}{7}{*}{&lt;span class="mn"&gt;}{&lt;/span&gt;}
                           {0123456789}      
\Configure{FormulaClass}{0}{}{}{}
\Configure{FormulaClass}{1}{}{}{}
\Configure{FormulaClass}{2}{}{}{}
\Configure{FormulaClass}{3}{}{}{}
\Configure{FormulaClass}{4}{}{}{}
\Configure{FormulaClass}{5}{}{}{}
\Configure{FormulaClass}{6}{}{}{}
&gt;&gt;&gt;





\&lt;configure jsml-math fontmath\&gt;&lt;&lt;&lt;
\def\:tempd#1#2{%
   \expandafter\def\csname #1\endcsname{\mathchar"13#2\relax}%
   \MathSymbol\mathop{#1}%
   \expandafter\def\csname #1:limits\endcsname{\expandafter
                    \:same \math:sym\mathop{#1}\limits}%
   \expandafter\def\csname #1:nolimits\endcsname{\expandafter
                  \:same \math:sym\mathop{#1}\nolimits}%
   \expandafter\edef\csname n:#1:\endcsname{\noexpand\ifDisplayMath
          \noexpand\expandafter \expandafter\noexpand \csname #1:limits\endcsname
          \noexpand\else \noexpand\expandafter
                         \expandafter\noexpand 
                         \csname #1:nolimits\endcsname\noexpand\fi}%
   \expandafter\pend:def\csname n:#1:\endcsname{\ifDisplayMath
          \mathop:prefix{mathsize-big}\fi}%
}
\:tempd{bigcap}{54} 
\:tempd{bigcup}{53} 
\:tempd{bigodot}{4A} 
\:tempd{bigoplus}{4C} 
\:tempd{bigotimes}{4E} 
\:tempd{bigsqcup}{46} 
\:tempd{biguplus}{55} 
\:tempd{bigvee}{57} 
\:tempd{bigwedge}{56} 
\:tempd{coprod}{60} 
\:tempd{intop}{52} 
\:tempd{ointop}{48} 
\:tempd{prod}{51} 
\:tempd{sum}{50}
&gt;&gt;&gt;

%%%%%%%%%%%%%
\subsection{amsopname}
%%%%%%%%%%%%%




\&lt;configure jsml-math amsopn\&gt;&lt;&lt;&lt;
\Configure{qopname}
   {\Configure{mathop}{*}
      {&lt;mo class="mo-qopname"&gt; &lt;span&gt;}
      {&lt;/span&gt; &lt;/mo&gt;}
      {}}
&gt;&gt;&gt;
</pre></body></html>