37.2 mwrep.cls

<..mwrep.4ht..>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % mwrep.4ht                             2014-07-12-22:36 %
 % Copyright (C) 2003--2009       Eitan M. Gurari         %
 <.TeX4ht copyright.>
   <.mwcls configs.>
   <.mwcls maketitle.>
   <.mwcls divs.>
   <.mwrep,mwbk divs.>
   <.mwcls tocs.>
   <.mwrep,mwbk tocs.>
 \Hinput{mwrep}
 \endinput
 -_-_-

<..mwrep,mwbk tocs..>
 \let\mw@markandtoc=\empty
 \def\tableofcontents{%
    \ifx\contentsname\empty \else
       \ifx\contentsname\:UnDef \else
          \Configure{toToc}{}{likechapter}%
          \chapter*{\contentsname}%
          \Configure{toToc}{?}{likechapter}%
    \fi\fi
    \:tableofcontents}
 -_-_-

<..mwrep,mwbk divs..>
 \let\no:chapter\chapter
 \Def:Section\chapter{\thechapter}{#1}
   \let\:temp\no:chapter
   \let\no:chapter\chapter
   \let\chapter=\:temp
   \let\chapter:head\chapter@head
 \Def:Section\likechapter{}{#1}
   \let\:likechapter\likechapter
   \let\likechapter\:UnDef
 \def\chapter@head{\ifHeadingNumbered
    \expandafter\no:chapter \else \expandafter\:likechapter\fi{\HeadingText}}
 -_-_-

<..entries for mw rep/bk tocs..>
 \ifnum \c@tocdepth >-2 part,likepart,\fi
 \ifnum \c@tocdepth >\m@ne chapter,likechapter,appendix,\fi
 \ifnum \z@>\c@tocdepth\else section,likesection,\fi
 \ifnum 2>\c@tocdepth \else subsection,likesubsection,\fi
 \ifnum 3>\c@tocdepth \else subsubsection,likesubsubsection,\fi
 \ifnum 4>\c@tocdepth \else paragraph,likeparagraph,\fi
 \ifnum 5>\c@tocdepth \else subparagraph,likesubparagraph,\fi
 UnDFexyz-_-_-

<..mwrep,mwbk tocs..>+
 \edef\:TOC{%
    \noexpand\ifx [\noexpand\:temp
       \noexpand\expandafter\noexpand\:TableOfContents
    \noexpand\else
       \noexpand\Auto:ent{<.entries for mw rep/bk tocs.>}%
    \noexpand\fi}
 -_-_-