9.9 algorithmicx

<..configure html4 algorithmicx..>
 \ConfigureEnv{algorithmic}
    {\ifvmode \IgnorePar\fi \EndP
     \HCode{<div \a:LRdir class="algorithmic">}%
     \bgroup
        \Configure{HtmlPar}
          {\EndP}
          {\EndP}
          {}
          {}%
    }
    {\egroup
     \HCode{</div>}\par\ShowPar
    }
    {}{}
-_-_-

<..configure html4 algorithmicx..>+
 \ConfigureList{algorithmic}%
    {\EndP
     \PushMacro\end:itm
     \global\let\end:itm=\empty}
    {\PopMacro\end:itm \global\let\end:itm \end:itm
     \EndP
     \special{t4ht@.}%
     \HCode{</span>}%
    }
    {\end:itm
     \HCode{\ifx \end:itm\empty\else <br class="algorithmic"/>\fi
             <span class="label-\the\labelwidth">}%
     \global\def\end:itm{\EndP\special{t4ht@,}\Tg</span>}%
     \ifnum \c@ALG@line=10
         \Css{.algorithmic span.label{width:3em; text-align:right;}}\fi
    }
    {\HCode{</span>&\#xA0;<span\Hnewline class="algorithmic">}%
     \special{t4ht@. }}
 \Css{div.algorithmic span.algorithmic{white-space:pre}}
-_-_-