\Configure{Chapter}
{}{} {Chapter \theChapterCounter} {}
\Configure{Appendix}
{}{} {Appendix \theChapterCounter} {}
\Configure{LikeChapter}
{}{} {} {}
-_-_-
\Configure{Columns}
{\IgnorePar\EndP
\HCode{<table \Hnewline cellspacing="15"><tr valign="top">}}
{\HCode{</tr></table>}}
{\HCode{<td>}\ColMag{1.03}}
{\IgnorePar\EndP\HCode{</td>}}
-_-_-
\:CheckOption{index}\if:Option
\Configure{index}
{\bgroup
\Configure{Columns}
{\IgnorePar\EndP
\HCode{<table \Hnewline class="index" width="100\%"
cellspacing="15"><tr valign="top">}}
{\HCode{</tr></table>}}
{\HCode{<td>}\ColMag{1.1}}
{\IgnorePar\EndP\HCode{</td>}}
\Columns{2}\IndexFonts}
{\EndColumns \egroup}
{\bgroup\IgnorePar\EndP\expandafter\ifx \csname prev:A\endcsname\relax
\else \hfil\break \Tg<br\xml:empty>\par\IgnorePar \fi \IndexSec}
{\egroup~~~~}
{\bgroup\hfil\break\Tg<br\xml:empty>~~~}{\egroup~~~~}
{~}{}
\def\Idx:ch{0}
\def\IndexSec#1{%
\tmp:cnt=‘#1\relax
\ifnum \tmp:cnt>‘Z\advance\tmp:cnt by -32 \fi
\ifnum \tmp:cnt<‘A\else \ifnum \tmp:cnt>‘Z \else
\ifnum \Idx:ch<\tmp:cnt
\bgroup
\Configure{centerline}
{\HCode{<div\Hnewline class="IndexSec">}}{\HCode{</div>}}
\leftline{\bf \char\tmp:cnt }%
\global\let\prev:A=\:UnDef
\xdef\Idx:ch{\the\tmp:cnt}%
\egroup
\fi
\fi \fi #1%
}
\Css{.IndexSec {margin-top:1em; margin-bottom:0.5em;}}
\fi
-_-_-
\Configure{Chapter}
{}{}
{\IgnorePar\EndP\HCode{<h2 class="ChapterHead">}%
Chapter \theChapterCounter \HCode{<br\xml:empty>}}
{\HCode{</h2>}\IgnoreIndent\IgnorePar}
\Configure{Appendix}
{}{}
{\IgnorePar\EndP\HCode{<h2 class="AppendixHead">}%
Appendix \theChapterCounter \HCode{<br\xml:empty>}}
{\HCode{</h2>}\IgnoreIndent\IgnorePar}
\Configure{LikeChapter}
{}{}
{\IgnorePar\EndP\HCode{<h2 class="LikeChapterHead">}\noindent
\bgroup \def\uppercase##1{##1}}
{\egroup \HCode{</h2>}\IgnoreIndent\IgnorePar }
-_-_-
\Configure{UList}
{\IgnorePar\EndP\def\:tempB{disc}%
\ifx\:tempA\:tempB \else \def\:tempB{square}\fi
\ifx\:tempA\:tempB \else \def\:tempB{circle}\fi
\hbox{\IgnorePar\EndP\HCode{<ul
\ifx\:tempA\:tempB type="\:tempA" \fi \:UL:>}}}
{\everypar{}\EndP\HCode{</li></ul>}}
{\ifnum \ListCounter>1 \EndP\HCode{</li>}\fi \hfil\break \HCode{<li>}}
\Configure{OList}
{\IgnorePar\EndP\hbox{\HCode{<ol
\ifx \:temp\empty \else type="\:temp" \fi
\:OL:>}}}
{\everypar{}\EndP\HCode{</li></ol>}}
{\ifnum \ListCounter>1 \EndP\HCode{</li>}\fi \hfil\break \HCode{<li>}}
-_-_-
\Configure{HTable}
{\everypar{}\EndP\HCode{<table \Hnewline\TABLE:\:HTable:>}%
\def\BR{\HCode{<br\xml:empty>}}}
{\HCode{</table>}}
{\HCode{<tr \:TR>}}{\HCode{</tr>}}
{\everypar{}\HCode{<\TD:typ\TD:more\Hnewline>}}
{\everypar{}\HCode{</\TD:typ>}}
\let\:HTable:=\empty
-_-_-
\Configure{Item}{}{\par}%
\Configure{DList}
{\IgnorePar\EndP\HCode{<dl \:DL:>}}
{\everypar{}\EndP\HCode{\End:dd</dl>}}
{\IgnorePar\EndP\ifnum \ListCounter>1 \HCode{</dd>}\fi
\HCode{<dt>}}
{\HCode{</dt><dd>}\ShowPar \def\End:dd{</dd>}\hfil\break}
\Configure{buttonList}{}{}
{}{.\ #1 }{\ListCounter}
-_-_-
\Configure{Part}{}{}{%
\html:rightskip
\bgroup
\html:rightskip \everypar{}
\IgnorePar\EndP\HCode{<h1 class="PartHead">}}
{\HCode{</h1>}\IgnoreIndent \egroup \IgnoreIndent}
\Configure{LikeSection}{}{}
{\IgnorePar \EndP\HCode{<h3 class="LikeSectionHead">}}
{\HCode{</h3>}\IgnoreIndent
<.addr for Tag and Ref of Sec.>%
\par \IgnoreIndent
}
\ConfigureMark{Section}{\theSection}
\Configure{Section}
{}{}
{\IgnorePar\EndP\HCode{<h3 class="SectionHead">}%
\gHAdvance\SectionCounter by 1
\TitleMark\space
}{\HCode{</h3>}\IgnoreIndent
<.addr for Tag and Ref of Sec.>%
\par \IgnoreIndent
}
\Configure{SubSection}
{}{}
{\par \IgnorePar\EndP\HCode{<h3 class="SubSectionHead">}}
{\HCode{</h3>}\IgnoreIndent \ShowPar} -_-_-
\ConfigureToc{Chapter}
{\HCode{<span class="ChapterToc">}}
{~}
{}
{\HCode{</span><br\xml:empty>}}
\ConfigureToc{Section}
{\HCode{<span class="SectionToc">}~~~}
{~}
{}
{\HCode{</span><br\xml:empty>}}
\ConfigureToc{LikeSection}
{}
{\HCode{<span class="LikeSectionToc">}~~~}
{}
{\HCode{</span><br\xml:empty>}}
\ConfigureToc{SubSection}
{}
{\HCode{<span class="SubSectionToc">}~~~~~~}
{}
{\HCode{</span><br\xml:empty>}}
-_-_-