6.21 aa

  6.21.1 Sizes of Fonts
  6.21.2 ltxguide

<..configure html4 aa..>
    <.makeketitle config 4.0t.>
     <.configure aa 3.2/4.0t.>
 <.latex shared part config.>
 <.latex config div 4.0t.>
 <.latex shared div config.>
 <.shared bib env.>
 \ifx \part\:UnDef \else
    <.latex shared part config.>
 \fi
-_-_-

6.21.1 Sizes of Fonts

pages should honor the base font sizes the readers choose for their browsers. Hence, under this assumption, all tex4ht should do is just assure appropriate relative dimensions for fonts of other sizes. To meet this end, I modified latex.4ht to automatically include

{\Configure{Needs}{Font\string_Size: #1}\Needs{1...}}

when options 11pt and 12pt are listed in \documentclass.

<..article,report,book..>+
 <.base font size.>
-_-_-

<..base font size..>
 {\Configure{Needs}{Font\string_Size: #1}\ifcase  \@ptsize
    \or \Needs{11}\or \Needs{12}\else \fi}
-_-_-

<..ams art,proc,book..>+
 <.base font size.>
-_-_-

<..latex config div 4.0t..>
 <.latex shared section config.>
 <.latex shared subsection config.>
 <.latex shared subsubsection config.>
 <.latex shared paragraph config.>
-_-_-

<..latex shared section config..>+
 \ConfigureMark{section}
    {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
     \else
        \HCode{<span class="titlemark">}\@seccntformat{section}%
        \HCode{</span>}\fi }
 <.section TITLE+.>
 \Configure{section}{}{}
    {\ifvmode \IgnorePar\fi \EndP\IgnorePar
     \HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
    {\HCode{</h3>}\HtmlParOn\ShowPar \IgnoreIndent \par}
 \Configure{likesection}{}{}
    {\ifvmode \IgnorePar\fi
     \EndP\IgnorePar\HCode{<h3 class="likesectionHead"\a:LRdir>}\HtmlParOff}
    {\HCode{</h3>}\HtmlParOn \IgnoreIndent \ShowPar \par}
 \Configure{likesectionTITLE+}{#1}
-_-_-

The \ShowPar is required for examples like below.

\documentclass{book}  
  \usepackage{titlesec}  
\begin{document}  
 
\section*{foobar}  
a \par b  
\end{document}

<..latex shared subsection config..>+
 <.shared h5 subsubsection.>
 <.shared h4 subsection.>
-_-_-

<..latex shared paragraph config..>+
 \Configure{paragraph}{}{}
   {\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}\begingroup\bf}
   {\endgroup\HCode{</span>}\par\IgnorePar}
 \Configure{likeparagraph}{}{}
   {\ShowPar\IgnoreIndent\HCode{<span class="likeparagraphHead"\a:LRdir>}}
   {\HCode{</span>}\par\IgnorePar}
 \Css{.paragraphHead, .likeparagraphHead
    { margin-top:2em; font-weight: bold;}}
-_-_-

<..latex config div 4.0t..>+
 \ConfigureMark{subparagraph}{}
 \Configure{subparagraph}{}{}
   {\ShowPar\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
    \TitleMark\space}
   {\endgroup\HCode{</span>}\IgnorePar}
 \Configure{likesubparagraph}{}{}
   {\ShowPar\HCode{<span class="likesubparagraphHead"\a:LRdir>}\begingroup\bf}
   {\endgroup\HCode{</span>}\IgnorePar}
 \Css{.subparagraphHead, .likesubparagraphHead
    { font-weight: bold;}}
-_-_-

<..32,4 latex..>+
 \ConfigureEnv{picture}
    {\bgroup\ifvmode \Configure{HtmlPar}
       {\EndP\HCode{<.show input line no.>}\HCode{<p
             class="center" \a:LRdir>}}%
       {\EndP\HCode{<.show input line no.>}\HCode{<p
             class="center" \a:LRdir>}}%
       {\:xhtml{\Tg</p>}}{\:xhtml{\Tg</p>}} \ShowPar\leavevmode
     \fi}
    {\egroup}{}{}
-_-_-

6.21.2 ltxguide

<..configure html4 ltxguide..>
 \Configure{m}
    {\HCode{\string&\#x2329;}}
    {\HCode{\string&\#x232A;}}
-_-_-