Sections and Like Sections

<..TeX4ht (like)sec..>
 \Def:Section\Section{\theSectionCounter}{#1}
 \Def:Section\LikeSection{}{#1}
 -_-_-

The titles of the sections are typesetted as regular paragraphs with the left margins adjusted to make a space for the level numbers.

<..non-html TeX4ht (like)sec..>
 \Configure{Section}{}{}{}{\par \egroup\IgnorePar\medskip\IgnorePar}
 \def\a:Section#1{\:SctnPrfx{#1}1}
 \def\a:LikeSection#1{\:SctnPrfx{#1}0}
 \let\b:LikeSection=\b:Section
 
 \def\:SctnPrfx#1#2{%
    \bgroup
       \:bigskip
       \ShowPar
       \SectionFonts
       \bf  \rightskip \z@ plus 0.5\hsize
       \ifnum #2=1 <.Section number.>%
       \else \parindent=\z@ \leavevmode   \fi
       {<.headline from section.>}%
 }
 -_-_-

<..Section number..>
 \gHAdvance\SectionCounter by 1
 \def\:temp{\theSection \hskip 0.7em }%
 \setbox0=\hbox{\:temp}%
 \advance \leftskip by \wd0
 \parindent -\wd0   \:temp
 -_-_-

<..TeX4ht (like)sec..>+
 \def\theSection{\theSectionCounter}
 -_-_-

The \par is inserted before the \nobreak to provide for a vertical mode before the latter command is inserted. The motivation for the latter command is to prohibit a HPage break immediately after the title.

<..TeX4ht (like)sec..>+
 \ifx \SectionFonts\:UnDef
    \font\:SecBF=cmbx10 scaled \magstep3
    \font\:SecTT=cmtt10 scaled \magstep3
 
    \def\SectionFonts{\let\tt=\:SecTT
       \let\bf=\:SecBF  \baselineskip=20.74pt}
 \fi
 -_-_-

<..TeX4ht (like)sec..>+
 \gHAssign\SectionCounter=0
 
 \def\theSectionCounter{%
    \ifnum \ChapterCounter=0 \else \theChapterCounter.\fi
    \SectionCounter  }
 -_-_-

<..TeX4ht subsec..>
 \Def:Section\SubSection{}{#1}
 -_-_-

<..non-html TeX4ht subsec????..>
 \def\a:subsection#1{
    \bgroup
       \:bigskip \ShowPar
       \rightskip=\z@ plus 0.5\hsize
       \leavevmode   \SubSectionFonts\bf
 }
 -_-_-

<..non-html TeX4ht subsec..>
 \Configure{SubSection}{}{}{}{\par \egroup \nobreak \medskip
    \IgnorePar   \ignorespaces}
 \def\a:SubSection#1{\bgroup
    \:bigskip \:noparfalse \noindent
    \rightskip=\z@ plus 0.5\hsize
    \SubSectionFonts\bf }
 -_-_-

<..TeX4ht subsec..>+
 \ifx\SubSectionFonts\:UnDef
    \font\:SubSecFont=cmbx10 scaled \magstep2
    \def\SubSectionFonts{\let\bf=\:SubSecFont \baselineskip=17.28pt}
 \fi
 -_-_-