\Configure{group}
  
    {\IgnorePar\EndP\HCode{<div class="group">}}
  
    {\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}
  
 \Css{div.obeylines-v  div.group  p { margin-top:0; margin-bottom:0; }}
  
 \Configure{multitable}
  
    {\IgnorePar \EndP\HCode{<table\Hnewline class="multitable">}\IgnorePar}
  
    {\HCode{</table>}}
  
    {\HCode{<tr>}}
  
    {\HCode{</tr>}}
  
    {\HCode{<td \Hnewline class="multitabl\the\colcount">}}
  
    {\IgnorePar \EndP\HCode{</td>}}
  
 \Css{.multitable td{padding-left:1em; padding-right:1em;}}
-_-_-
   
 
    \Configure{example}
  
    {\IgnorePar\EndP\HCode{<div class="example">}}
  
    {\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}
  
 \Css{div.example { margin-left:2em; }}
  
 \Configure{smallexample}
  
    {\IgnorePar\EndP\HCode{<div class="smallexample">}}
  
    {\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}
  
 \Css{div.smallexample { margin-left:2em; }}
-_-_-
   
 
    \ConfigureMark{chapter}{\the\chapno}
  
 \Configure{chapter}{}{}
  
    {\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}\TitleMark\space}
  
    {\HCode{</h2>}\IgnoreIndent}
  
 \ConfigureMark{appendix}{\appendixletter}
  
 \Configure{appendix}{}{}
  
    {\IgnorePar\EndP
  
     \HCode{<h2 class="appendixHead"\a:LRdir>}Appendix \TitleMark\space}
  
    {\HCode{</h2>}\IgnoreIndent}
  
 \Configure{unnumbered}{}{}
  
    {\IgnorePar\EndP\HCode{<h2 class="unnumberedHead"\a:LRdir>}}
  
    {\HCode{</h2>}\IgnoreIndent}
  
 \ConfigureMark{numberedsec}{\the\chapno.\the\secno}
  
 \Configure{numberedsec}{}{}
  
    {\IgnorePar\EndP\HCode{<h3
  
        class="numberedsecHead"\a:LRdir>}\TitleMark\space}
  
    {\HCode{</h3>}\IgnoreIndent}
  
 \ConfigureMark{appendixsec}{\appendixletter.\the\secno}
  
 \Configure{appendixsec}{}{}
  
    {\IgnorePar\EndP\HCode{<h3
  
        class="appendixsecHead"\a:LRdir>}\TitleMark\space}
  
    {\HCode{</h3>}\IgnoreIndent}
  
 \Configure{unnumberedsec}{}{}
  
    {\IgnorePar\EndP\HCode{<h3 class="unnumberedsecHead"\a:LRdir>}}
  
    {\HCode{</h3>}\IgnoreIndent}
  
 \ConfigureMark{numberedsubsec}{\the\chapno.\the\secno .\the\subsecno}
  
 \Configure{numberedsubsec}{}{}
  
    {\IgnorePar\EndP\HCode{<h4
  
        class="numberedsubsecHead"\a:LRdir>}\TitleMark\space}
  
    {\HCode{</h4>}\IgnoreIndent}
  
 \ConfigureMark{appendixsubsec}{\appendixletter .\the\secno.\the\subsecno}
  
 \Configure{appendixsubsec}{}{}
  
    {\IgnorePar\EndP\HCode{<h4
  
      class="appendixsubsecHead"\a:LRdir>}\TitleMark\space}
  
    {\HCode{</h4>}\IgnoreIndent}
  
 \ConfigureMark{appendixsubsec}{\appendixletter.\the\secno
  
                                         .\the\subsecno}
  
 \Configure{appendixsubsec}{}{}
  
    {\IgnorePar\EndP\HCode{<h4
  
        class="appendixsubsecHead"\a:LRdir>}\TitleMark\space}
  
    {\HCode{</h4>}\IgnoreIndent}
  
 \Configure{unnumberedsubsec}{}{}
  
    {\IgnorePar\EndP\HCode{<h4 class="unnumberedsubsecHead"\a:LRdir>}}
  
    {\HCode{</h4>}\IgnoreIndent}
  
 \ConfigureMark{numberedsubsubsec}{\the\chapno.\the\secno
  
                       .\the\subsecno.\the\subsubsecno}
  
 \Configure{numberedsubsubsec}{}{}
  
    {\IgnorePar\EndP\HCode{<h5
  
        class="numberedsubsubsecHead"\a:LRdir>}\TitleMark\space}
  
    {\HCode{</h5>}\IgnoreIndent}
  
 \ConfigureMark{appendixsubsubsec}{\appendixletter
  
              .\the\secno.\the\subsecno.\the\subsubsecno}
  
 \Configure{appendixsubsubsec}{}{}
  
    {\IgnorePar\EndP\HCode{<h5
  
      class="appendixsubsubsecHead"\a:LRdir>}\TitleMark\space}
  
    {\HCode{</h5>}\IgnoreIndent}
  
 \ConfigureMark{appendixsubsubsec}{\appendixletter.\the\secno
  
                                   .\the\subsecno.\the\subsubsecno}
  
 \Configure{appendixsubsubsec}{}{}
  
    {\IgnorePar\EndP\HCode{<h5
  
        class="appendixsubsubsecHead"\a:LRdir>}\TitleMark\space}
  
    {\HCode{</h5>}\IgnoreIndent}
  
 \Configure{unnumberedsubsubsec}{}{}
  
    {\IgnorePar\EndP\HCode{<h5 class="unnumberedsubsubsecHead"\a:LRdir>}}
  
    {\HCode{</h5>}\IgnoreIndent}
-_-_-
   
 
    \ConfigureToc{chapter}
  
     {\Tg<span class="chapterToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{appendix}
  
     {\Tg<span class="appendixToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{unnumbered}
  
     {\Tg<span class="unnumberedToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{numberedsec}
  
     {\Tg<span class="numberedsecToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{appendixsec}
  
     {\Tg<span class="appendixsecToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{unnumberedsec}
  
     {\Tg<span class="unnumberedsecToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{numberedsubsec}
  
     {\Tg<span class="numberedsubsecToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{appendixsubsec}
  
     {\Tg<span class="appendixsubsecToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{appendixsubsec}
  
     {\Tg<span class="appendixsubsecToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{unnumberedsubsec}
  
     {\Tg<span class="unnumberedsubsecToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{numberedsubsubsec}
  
     {\Tg<span class="numberedsubsubsecToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{appendixsubsubsec}
  
     {\Tg<span class="appendixsubsubsecToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{appendixsubsubsec}
  
     {\Tg<span class="appendixsubsubsecToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
  
 \ConfigureToc{unnumberedsubsubsec}
  
     {\Tg<span class="unnumberedsubsubsecToc" \a:LRdir>}{ }{}{\Tg</span>\expandafter\Tg<br />}
-_-_-
   
 
    \Configure{enumerate}
  
    {\IgnorePar\EndP\HCode{<ol\space class="enumerate"\Hnewline>}}
  
    {\IgnorePar\EndP\HCode{</li></ol>}\ShowPar}
  
    {\IgnorePar\EndP\ifnum \itemno>1 \Tg</li>\fi\DeleteMark}
  
    {\HCode{<li class="enumerate">}}
  
 \Configure{itemize}
  
    {\IgnorePar\EndP\HCode{<ul\space\a:LRdir class="itemize"\Hnewline>}}
  
    {\IgnorePar\EndP\HCode{</li></ul>}\ShowPar}
  
    {\IgnorePar\EndP\ifnum \itemno>1 \Tg</li>\fi\DeleteMark}
  
    {\HCode{<li class="itemize">}}
  
 \Configure{table}%
  
    {\IgnorePar\EndP\HCode{<dl \a:LRdir class="description">}%
  
     <.save end:itm.>\global\let\end:itm=\empty}
  
    {<.recall end:itm.>\IgnorePar\EndP\HCode{</dd></dl>}}
  
    {\IgnorePar\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
  
         class="description">}\bgroup \bf}
  
    {\egroup\IgnorePar\EndP\HCode{</dt><dd\Hnewline class="description">}} -_-_-
   
 
    \Configure{titlepage}
  
    {\IgnorePar\EndP\HCode{<div class="titlepage">}}
  
    {\IgnorePar\EndP\HCode{</div>}}
  
 \Configure{title}
  
    {\IgnorePar\EndP\HCode{<div class="title">}}
  
    {\IgnorePar\EndP\HCode{</div>}}
  
 \Configure{subtitle}
  
    {\IgnorePar\EndP\HCode{<div class="subtitle">}}
  
    {\IgnorePar\EndP\HCode{</div>}}
  
 \Configure{author}
  
    {\IgnorePar\EndP\HCode{<div class="author">}}
  
    {\IgnorePar\EndP\HCode{</div>}}
-_-_-