0.24 Theorems

<..configure html-speech latex..>+
 \Configure{newtheorem}
    {\ifvmode\IgnorePar\fi\EndP
      \HCode{<div class="newtheorem">}\par\noindent
      \HCode{<span class="theorem-head">}}
    {\HCode{</span>}}
    {\EndP\IgnorePar\HCode{</div>}\ShowPar\par}
 \Css{span.theorem-head { font-weight:bold; }}
-_-_-

<..configure html-speech acm-proc-article-sp..>+
 \Configure{proof}
    {\ifvmode\IgnorePar\fi\EndP
      \HCode{<div class="newtheorem" title="proof">}\par\noindent
      \HCode{<span  class="theorem-head">}}
    {\HCode{</span>}}
    {\EndP\IgnorePar\HCode{</div>}\ShowPar\par}
-_-_-

<..configure html-speech amsthm..>
 <.shared ams thm/cls.>
-_-_-

<..ams art,proc,book..>+
 \ifx \deferred@thm@head\:UnDef\else
    <.shared ams thm/cls.>
 \fi
-_-_-

<..shared ams thm/cls..>
 \Configure{proof}
    {\ifvmode \IgnorePar \fi \EndP
     \HCode{<div class="newtheorem" title="proof">}\par\ShowPar
     \HCode{<span class="theorem-head">}\IgnorePar}
    {\HCode{</span>}\ShowPar}
    {\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par}
-_-_-