5.1 article, report, book

<..config book-report-article 3.2..>+
 <.32,4 article,report,book.>
 <.0,32,4 article,report,book.>
-_-_-

<..32 latex..>+
 \ConfigureList{description}%
    {\EndP\HCode{<dl class="description">}%
       <.save end:itm.>\global\let\end:itm=\empty}
    {<.recall end:itm.>\EndP\HCode{</dd></dl>}\ShowPar}
    {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
         class="description">}\bgroup \bf}
    {\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}}
-_-_-

<..32,4 article,report,book..>+
 <.quotations 32,4.>
 \Configure{listof}{}{}{}{\HCode{<br\xml:empty>}}{}{}
-_-_-

<..quotations 32,4..>
 \ConfigureEnv{quotation}{}{}{\start:env{quotation}}{\end:env}
-_-_-

<..config book-report-article 3.2..>+
 \ConfigureList{thebibliography}%
    {\HCode{<dl class="thebibliography">}}
    {\HCode{</dl>}\ShowPar}
    {\HCode{<dt  class="thebibliography">}\bgroup \bf}
    {\egroup\HCode{<dd\Hnewline class="thebibliography">}}
 \:CheckOption{/bib} \if:Option \else
    \ConfigureList{thebibliography}%
     {\HCode{<table border="0" cellpadding="0"
                                 cellspacing="0"><tr><td>}}%
     {\HCode{</td></tr></table>}}%
     {\HCode{</td></tr><tr valign="top"><td>}}%
     {\AnchorLabel \:nbsp\HCode{</td><td>}}
 \fi
-_-_-

<..config book-report-article 3.2..>+
 \ConfigureEnv{quote}{}{}{\start:env{quote}}{\end:env}
-_-_-

<..config book-report-article 3.2..>+
 \Configure{theindex}
    {\ifvmode \IgnorePar\fi \EndP
     \HCode{<div class="theindex">}\let\end:theidx=\empty}
    {\end:theidx\HCode{</div>}}
    {} {\hfil\break\HCode{<br\xml:empty>}}
    {\ \ \ \ } {\hfil\break\HCode{<br\xml:empty>}}
    {\ \ \ \ \ \ \ \ } {\hfil\break\HCode{<br\xml:empty>}}
    {\hbox{\end:theidx\HCode{<p class="theindex">}}%
     \def\end:theidx{\HCode{</p>}}}
-_-_-

<..32,4 report,book..>+
 \Configure{@begin}{theindex}{\ifx \indexname\empty \else
         \chapter*{\indexname}\fi}
-_-_-

<..configure html32 article..>
 \Configure{@begin}{theindex}{\ifx \indexname\empty \else
         \section*{\indexname}\fi}
-_-_-

<..latex config div..>
 \ConfigureMark{section}
    {\ifnum \c:secnumdepth>\c@secnumdepth  \expandafter\:gobble
     \else \thesection\fi}
 \Configure{section}{}{}
    {\ifvmode\IgnorePar\fi \EndP \HCode{<h3 class="sectionHead">}%
     \TitleMark\space}
    {\HCode{</h3>}\IgnoreIndent \par}
 \Configure{sectionTITLE+}{\ifnum \c:secnumdepth>\c@secnumdepth
       \ifnum \c@secnumdepth > 0
       \thesection\space
     \fi\fi #1}
-_-_-

<..latex config like div 3.2..>
 \Configure{likesection}{}{}
    {\ifvmode\IgnorePar\fi \EndP \HCode{<h3 class="likesectionHead">}}
    {\HCode{</h3>}\IgnoreIndent \ShowPar \par}
 \Configure{likesubsection}{}{}
    {\bgroup \IgnorePar\HCode{<h4 class="likesubsectionHead">}}
    {\HCode{</h4>}\IgnoreIndent\egroup}
 \Configure{likesubsubsection}{}{}
    {\bgroup\IgnorePar\HCode{<h5 class="likesubsubsectionHead">}}
    {\HCode{</h5>}\IgnoreIndent\egroup}
-_-_-

<..latex config div..>+
 \ConfigureMark{subsection}
    {\ifnum \c:secnumdepth>\c@secnumdepth  \expandafter\:gobble
     \else \thesubsection \fi}
 \Configure{subsection}{}{}
    {\bgroup \IgnorePar\HCode{<h4 class="subsectionHead">}%
     \TitleMark\space}
    {\HCode{</h4>}\IgnoreIndent\egroup}
 \Configure{subsectionTITLE+}{\ifnum \c:secnumdepth>\c@secnumdepth
       \ifnum \c@secnumdepth > 0
       \thesubsection\space
     \fi\fi #1}
-_-_-

<..latex config div..>+
 \ConfigureMark{subsubsection}
    {\ifnum \c:secnumdepth>\c@secnumdepth  \expandafter\:gobble
     \else \thesubsubsection \fi}
 \Configure{subsubsection}{}{}
    {\bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead">}%
     \TitleMark\space}
    {\HCode{</h5>}\IgnoreIndent\egroup}
 \Configure{subsubsectionTITLE+}{\ifnum \c:secnumdepth>\c@secnumdepth
       \ifnum \c@secnumdepth > 0
       \thesubsubsection\space
     \fi\fi #1}
-_-_-

<..latex config div..>+
 \Configure{paragraph}{}{}
   {\ShowPar\IgnoreIndent\HCode{<strong class="paragraphHead">}}
   {\HCode{</strong>}\IgnorePar}
 \Configure{subparagraph}{}{}
   {\ShowPar\IgnoreIndent\HCode{<strong class="subparagraphHead">}}
   {\HCode{</strong>}\IgnorePar}
-_-_-

<..config book-report-article 3.2..>+
 <.config sections 3.2.>
-_-_-