texlive[55305] Master/texmf-dist/tex/generic/tex4ht/awesomebox.4ht:

commits+karl at tug.org commits+karl at tug.org
Wed May 27 23:53:08 CEST 2020


Revision: 55305
          http://tug.org/svn/texlive?view=revision&revision=55305
Author:   karl
Date:     2020-05-27 23:53:08 +0200 (Wed, 27 May 2020)
Log Message:
-----------
awesomebox support, tex4ht r704

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=704

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/generic/tex4ht/awesomebox.4ht

Added: trunk/Master/texmf-dist/tex/generic/tex4ht/awesomebox.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/awesomebox.4ht	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/awesomebox.4ht	2020-05-27 21:53:08 UTC (rev 55305)
@@ -0,0 +1,39895 @@
+% html4.4ht (2020-05-27-14:15), generated from tex4ht-html4.tex
+% Copyright 2009-2020 TeX Users Group
+% Copyright 1997-2009 Eitan M. Gurari
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2020-05-27-14:15}
+
+\exit:ifnot{8859-6,% 
+CJK,% 
+IEEEtran,% 
+JHEP,% 
+Preamble,% 
+ProTex,% 
+SIunits,% 
+aa,% 
+abidir,% 
+acm-proc-article-sp,% 
+adjustbox,% 
+algorithm,% 
+algorithmic,% 
+algorithmicx,% 
+alltt,% 
+alphanum,% 
+amsart,% 
+amsbook,% 
+amscd,% 
+amsdtx,% 
+amsmath,% 
+amsppt,% 
+amsproc,% 
+amstex1,% 
+amsthm,% 
+animate,% 
+apa,% 
+appendix,% 
+arabicore,% 
+array,% 
+article,% 
+austrian,% 
+awesomebox,% 
+babel,% 
+beamer,% 
+biblatex,% 
+bibtopic,% 
+book,% 
+booktabs,% 
+boxedminipage,% 
+bussproofs,% 
+catalan,% 
+cgloss4e,% 
+chapterbib,% 
+color,% 
+colortbl,% 
+context,% 
+covington,% 
+cp1250,% 
+cp1252,% 
+cp1256,% 
+cp437,% 
+cp437de,% 
+cp850,% 
+cp852,% 
+cp862,% 
+cp865,% 
+croatian,% 
+curve,% 
+czech,% 
+danish,% 
+debug,% 
+diagram,% 
+diagrams,% 
+doc,% 
+dratex,% 
+dutch,% 
+elsart,% 
+emulateapj,% 
+endfloat,% 
+endnotes,% 
+english,% 
+enumerate,% 
+enumitem,% 
+epigraph,% 
+eplain,% 
+epsf,% 
+esperant,% 
+estonian,% 
+europecv,% 
+eurosym,% 
+exam,% 
+exerquiz,% 
+fancybox,% 
+fancyvrb,% 
+finnish,% 
+floatflt,% 
+foils,% 
+fontspec,% 
+framed,% 
+francais,% 
+frenchb,% 
+g-brief,% 
+galician,% 
+german,% 
+germanb,% 
+gloss,% 
+glossary,% 
+go,% 
+graphics,% 
+graphicx,% 
+greek,% 
+harvard,% 
+hebrew,% 
+hebtex,% 
+hyperref,% 
+index,% 
+jeep,% 
+jurabib,% 
+koi8-r,% 
+latex,% 
+latin1,% 
+latin2,% 
+letter,% 
+lineno,% 
+linguex,% 
+listings,% 
+llncs,% 
+lncse,% 
+longdiv,% 
+longtable,% 
+ltugboat,% 
+ltugproc,% 
+ltxguide,% 
+manju,% 
+manmac,% 
+mdframed,% 
+mdwlist,% 
+mdwtab,% 
+memoir,% 
+mex,% 
+mfpic,% 
+minitoc,% 
+minted,% 
+mls,% 
+moreverb,% 
+multicol,% 
+multind,% 
+multirow,% 
+mwart,% 
+mwbk,% 
+mwrep,% 
+ngerman,% 
+ngermanb,% 
+nicefrac,% 
+nomencl,% 
+norsk,% 
+ntheorem,% 
+ot4enc,% 
+overpic,% 
+paralist,% 
+path,% 
+pb-diagram,% 
+pd1enc,% 
+pgf,% 
+picins,% 
+pictex,% 
+pifont,% 
+plain,% 
+polish,% 
+polski,% 
+polyglossia,% 
+portuges,% 
+powerdot,% 
+proof,% 
+prosper,% 
+psfig,% 
+pst-all,% 
+pstricks,% 
+pythontex,% 
+reading,% 
+report,% 
+res,% 
+resume,% 
+revtex4,% 
+rlbabel,% 
+romanian,% 
+rotating,% 
+russianb,% 
+scottish,% 
+scrartcl,% 
+scrbook,% 
+scrjura,% 
+scrreprt,% 
+sectionbreak,% 
+seminar,% 
+seslideb,% 
+sistyle,% 
+skak,% 
+slides,% 
+slidesec,% 
+slovak,% 
+slovene,% 
+soul,% 
+spanish,% 
+subeqnarray,% 
+subfigure,% 
+subscript,% 
+supertabular,% 
+sverb,% 
+swedish,% 
+syntax,% 
+t2benc,% 
+tabulary,% 
+tcilatex,% 
+tex4ht,% 
+tex4ht2,% 
+texinfo,% 
+th4,% 
+titlesec,% 
+tugboat,% 
+turkish,% 
+ukraineb,% 
+ulem,% 
+url,% 
+usorbian,% 
+vanilla,% 
+verbatim,% 
+verse,% 
+vowel,% 
+web,% 
+welsh,% 
+wrapfig,% 
+writer,% 
+xcolor,% 
+xy}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{Preamble}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    
+\Configure{PROLOG}{VERSION,DOCTYPE,*XML-STYLESHEET}
+\:CheckOption{mouseover} \if:Option
+   \:CheckOption{xhtml} \if:Option  \else
+   \:CheckOption{DOCTYPE} \if:Option
+    \Log:Note{to request a DOCTYPE declaration
+          use the command line option `DOCTYPE'}
+   \else
+      \edef\Preamble{\Preamble,no-DOCTYPE}
+   \fi
+\fi
+
+\fi
+\:CheckOption{no-DOCTYPE} \if:Option
+  \:CheckOption{no-VERSION} \if:Option
+     \Configure{PROLOG}{*XML-STYLESHEET}
+  \else
+     \Configure{PROLOG}{VERSION,*XML-STYLESHEET}
+     \Log:Note{to remove the <?xml version=...?>  processing instruction
+          use the command line option `no-VERSION'}
+
+  \fi
+\else
+  \:CheckOption{no-VERSION} \if:Option
+     \Configure{PROLOG}{DOCTYPE,*XML-STYLESHEET}
+  \else
+     \Log:Note{to remove the <?xml version=...?>  processing instruction
+          use the command line option `no-VERSION'}
+
+  \fi
+  \Log:Note{to remove the DOCTYPE declaration
+          use the command line option `no-DOCTYPE'}
+\fi
+\:CheckOption{frames-fn}  \if:Option
+   \edef\Preamble{\Preamble,frames}
+\fi
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{tex4ht}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \NewConfigure{frames-altDOCTYPE}{1}
+\Configure{frames-altDOCTYPE}
+   {\:CheckOption{xhtml}  \if:Option
+   
+\Configure{VERSION}
+    {\HCode{<?xml version="1.0" encoding="\expandafter\ifx \csname a:charset\endcsname\relax
+         \expandafter\:encoding\A:charset
+   \else \expandafter\:encoding\a:charset\fi"
+ ?>\Hnewline}}
+%
+\Configure{DOCTYPE}
+  {\HCode{<!DOCTYPE html \xhtml:DOCTYPE>            \Hnewline
+    <!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
+    \Hnewline}}
+\def\xhtml:DOCTYPE{PUBLIC
+    "-//W3C//DTD XHTML 1.0 Transitional//\expandafter
+\ifx \csname a:dtd-lang\endcsname\relax EN\else
+  \csname a:dtd-lang\endcsname
+\fi
+"\Hnewline
+    \space\space
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"}
+\Configure{@DOCTYPE}
+  {<!ENTITY \% xhtml.dtd \xhtml:DOCTYPE>\Hnewline\%xhtml.dtd; \Hnewline}
+%
+   \def\:DTD{xhtml}
+\else
+   \Configure{DOCTYPE}{\IgnorePar\HCode
+   {<!DOCTYPE html PUBLIC
+              "-//W3C//DTD HTML 4.01 Transitional//\expandafter
+\ifx \csname a:dtd-lang\endcsname\relax EN\else
+  \csname a:dtd-lang\endcsname
+\fi
+"
+    \Hnewline\space\space "http://www.w3.org/TR/html4/loose.dtd">
+    \Hnewline}}
+%
+\fi
+}
+\:CheckOption{7}
+    \if:Option \else \:CheckOption{6}\fi
+    \if:Option \else \:CheckOption{5}\fi
+    \if:Option \else \:CheckOption{4}\fi
+    \if:Option \else \:CheckOption{3}\fi
+    \if:Option \else \:CheckOption{2}\fi
+    \if:Option \else \:CheckOption{1}\fi
+\if:Option
+    \:CheckOption{sec-filename}
+    \if:Option
+       \Configure{CutAt-filename}{%
+   \ifx \:NxtNwFN\:Undef
+      \tmp:toks={#2}%
+\immediate\openout15=\jobname .tmp
+\immediate\write15{\string\next{\the\tmp:toks}}%
+\immediate\closeout15
+\bgroup
+  \def\next{\csname no:catcodes\endcsname{92}{92}{9}%
+            \xdef\:temp}%
+  \csname no:catcodes\endcsname{32}{47}{9}%
+  \csname no:catcodes\endcsname{58}{64}{9}%
+  \csname no:catcodes\endcsname{91}{91}{9}%
+  \csname no:catcodes\endcsname{93}{96}{9}%
+  \csname no:catcodes\endcsname{126}{126}{9}%
+  \csname a:sec-filename*\endcsname
+  \input \jobname .tmp
+\egroup
+%
+      \immediate\openout15=\jobname .tmp
+\immediate\write15{\string\next[\:temp]}%
+\immediate\closeout15
+\bgroup
+  \def\next{\xdef\:temp}%
+  \csname no:catcodes\endcsname{91}{91}{1}%
+  \csname no:catcodes\endcsname{93}{93}{2}%
+  \csname no:catcodes\endcsname{123}{123}{9}%
+  \csname no:catcodes\endcsname{125}{125}{9}%
+  \input \jobname .tmp
+\egroup
+%
+      \tmp:cnt=0       \uniq:fn
+   \fi
+}
+\def\uniq:fn{%
+   \expandafter\ifx
+        \csname ct:fn\:temp
+                \ifnum \tmp:cnt>0 \the\tmp:cnt\fi\endcsname\relax
+      \expandafter\global\expandafter\let
+                  \csname ct:fn\:temp
+                          \ifnum\tmp:cnt>0 \the\tmp:cnt\fi
+                           \endcsname=\def
+      \ifx \:temp\empty \else
+         \NextFile{\:temp
+                   \ifnum \tmp:cnt>0 \the\tmp:cnt\fi .\:html}%
+      \fi
+   \else
+      \advance\tmp:cnt by 1 \expandafter\uniq:fn
+   \fi
+}
+\NewConfigure{sec-filename*}{1}
+
+    \else
+       \Log:Note{For section filenames that reflect on
+                 their titles use the command line
+                 option `sec-filename'}
+    \fi
+\fi
+\def\getClass#1{\expandafter
+   \ifx \csname a:#1Class\endcsname\relax\else
+      \csname a:#1Class\endcsname
+   \fi}
+\def\afterGetClass#1{\csname b:#1Class\endcsname}
+\if:latex  \Hinclude{\input #1.4ht}{latex}
+
+\else      \ifx \contextversion\Un:def
+   \Hinclude{\input #1.4ht}{plain}
+   \def\:temp{t}%
+   \ifx \eplain\:temp
+      \Hinclude{\input #1.4ht}{eplain}
+   \fi
+   \def\:temp{M\kern-.111em\lower.6ex\hbox{E}\kern-.075emX}
+\ifx \nM at X\:temp
+   \expandafter\ifx\csname emulateplain\endcsname\relax \else
+     \Hinclude{\input #1.4ht}{mex}
+\fi\fi
+
+   \ifx \d at nger\:UnDef \else
+      \let\leftheadline\empty
+      \let\rightheadline\empty
+      \Hinclude{\input #1.4ht}{manmac}
+   \fi
+\else
+   \Hinclude{\input #1.4ht}{context}
+\fi
+  \fi
+\NewConfigure{charset}[1]{\def\a:charset{#1}}
+\def\:temp#1charset=#2,#3!*?: {%
+   \if !#2!%
+     \Log:Note{for alternative charset, use
+          the command line option `charset=...'}
+   \else \Configure{charset}{charset=#2}\fi}
+\expandafter\:temp\Preamble ,charset=,!*?: 
+\Configure{Link}{a}{href=}{id=}{}
+\:CheckOption{NoFonts} \if:Option
+   \NoFonts
+\else
+   \Log:Note{to ignore CSS font decoration, use the `NoFonts'
+       command line option}
+\fi
+\Configure{HVerbatim+}{\z@}{\:nbsp}
+\:CheckOption{jpg} \if:Option
+   \Configure{Picture}{.jpg}
+\else
+   \Log:Note{for jpg bitmaps of pictures, use the `jpg'
+       command line option. (Character bitmaps are controled only by `g' records of tex4ht.env and `-g'
+switches of tex4ht.c)
+}
+\fi
+\:CheckOption{gif} \if:Option
+   \Configure{Picture}{.gif}
+\else
+   \Log:Note{for gif bitmaps of pictures, use the `gif'
+       command line option. (Character bitmaps are controled only by `g' records of tex4ht.env and `-g'
+switches of tex4ht.c)
+}
+\fi
+\:CheckOption{hooks++} \if:Option
+    \else \:CheckOption{hooks+}
+          \if:Option \else \:CheckOption{hooks}\fi
+    \fi
+\if:Option
+   \Configure{hooks}
+      {\HCode{<strong class="hooks"><}}{\HCode{></strong>}}{}{}
+\fi
+
+\:CheckOption{-css} \if:Option
+   \def\Css#1{}
+   \NewConfigure{CssFile}{2}
+\else
+   \ScriptCommand{\CssFile}{%
+    \immediate\write-1{--- file \aa:CssFile\space ---}%
+    \def\FontSize##1##2{\:Context{##1}\ht:special{t4ht;\%##2}\%}%
+    \def\FontName##1{\:Context{##1}\ht:special{t4ht;=}}%
+    \def\:Context##1{\ht:special{t4ht>\jobname.tmp}##1\ht:special
+       {t4ht>\aa:CssFile}}%
+    \ht:special{t4ht>\jobname.tmp}\ht:special{t4ht>\aa:CssFile}%
+    \bgroup \everypar{}\NoFonts  \bb:CssFile \hfil\break}
+  {\egroup \EndNoFonts
+    \ht:special{t4ht<\aa:CssFile}\ht:special{t4ht<\jobname.tmp}}
+\let\Css:File\CssFile
+\def\CssFile{\futurelet\:temp\Css:Fl}
+\def\Css:Fl{\ifx [\:temp  \expandafter\Css:fl
+   \else \expand:after{\Css:File \space}\fi}
+\def\Css:fl[#1]{\Css:File\space \css:files #1,,!*?: }
+\def\css:files#1,#2!*?: {\def\:temp{#1}\ifx \:temp\empty
+   \else \def\:temp{\in:css#1.!*?: \css:files#2,,!*?: }\fi
+   \:temp }
+\def\in:css#1.#2!*?: {\def\:temp{#2}\ifx \:temp\empty
+      \inc:ss#1.css!*?: 
+   \else \inc:ss#1.#2!*?: \fi}
+\def\inc:ss#1.!*?: {     \immediate\openin15=#1
+     \ifeof15 \immediate\closein15
+        \:warning{Missing file: #1}%
+     \else \immediate\closein15     \input #1 \fi
+ }
+\NewConfigure{CssFile}[2]{\def\aa:CssFile{#1}\def\bb:CssFile{#2}}
+\def\Css#1{{\def\:temp{\Configure{Needs}}%
+   \expandafter\:temp\expandafter{\aa:Css}\Needs{#1}}}
+
+   \Configure{Preamble}
+      {{\ifdim \lastskip>\z@ \unskip\fi  \IgnorePar\parindent\z@
+\leavevmode}%
+\immediate\write-1{--- file \aa:CssFile\space ---}%
+\ht:special{t4ht>\aa:CssFile}\ht:special{t4ht=\Hnewline /* css.sty */}%
+\ht:special{t4ht<\aa:CssFile}%
+} {}
+\fi
+
+\ifx \a:FontCss:\:UnDef
+   \Configure{FontCss}{Font\string_Css##1}
+                   {Font\string_Css\string_Plus\space##1}
+\fi
+\expandafter\ifx \csname aa:Css\endcsname\relax
+   \Configure{Css}{Css: ##1}
+\fi
+\:CheckOption{edit} \if:Option
+   \Configure{edit}{\HCode{<strong><}}{\HCode{></strong>}}
+                {<strong><}{></strong>}
+\fi
+\:CheckOption{hooks++} \if:Option
+\else \:CheckOption{hooks+}  \if:Option
+\else \:CheckOption{hooks}  \if:Option
+\fi\fi\fi
+\if:Option
+   \Configure{hooks}
+      {\HCode{<strong class="hooks"><}}{\HCode{></strong>}}{}{}
+\fi
+\Configure{ExitHPage}{exit}{exit }{}
+\Configure{TocLink}{\Link{#2}{#3}#4\ifvmode\IgnorePar\fi\EndLink}
+\Configure{MiniHalign}{\hlg:a}{\hlg:b}\hlg:c\hlg:d{\hlg:e}\hlg:f
+\:CheckOption{no-halign} \if:Option \else
+  \Configure{noalign-}{}{}
+\fi
+\Configure{PictureAlt*+}
+   {\let\sv:HtmlPar\HtmlPar   \let\HtmlPar\empty
+     \def\PsCode##1{{\ht:special{\PsCodeSpecial##1}}}%
+%
+     \iffalse{\fi
+\let\sv:halign\halign
+\let\sv:cr\cr
+\let\sv:crcr\crcr
+\iffalse}\fi
+\RecallTeXcr \let\halign \TeXhalign
+%
+     \NoFonts\csname PauseMathClass\endcsname \SUBOff \SUPOff
+     \let\HCode\:gobble     
+     \let\EndPicture\empty}
+   {\let\HCode\:HCode
+     \let\EndPicture\:UnDef \let\HtmlPar\sv:HtmlPar \SUBOn \SUPOn
+     \csname EndPauseMathClass\endcsname \EndNoFonts
+     \iffalse{\fi
+\let\halign\sv:halign
+\let\cr\sv:cr
+\let\crcr\sv:crcr
+\iffalse}\fi
+%
+     \let\PsCode\relax
+}
+
+
+\NewConfigure{AddCss}[1]{%
+  {\Configure{Needs}{File: #1}\Needs{}}
+  \Configure{@HEAD}{\HCode{<link rel="stylesheet" type="text/css" href="#1" />\Hnewline}}
+}
+
+\NewConfigure{AddJs}[1]{%
+  {\Configure{Needs}{File: #1}\Needs{}}
+  \Configure{@HEAD}{\HCode{\Hnewline<script type="text/javascript" src="#1"></script>\Hnewline}}
+}
+
+
+% \newcommand\AddFontFace[4]{%
+\def\AddFontFace#1#2#3#4{%
+\Css{@font-face {
+    font-family: #1;
+    src: local("#2"),
+        url('#3');
+    #4
+ }}
+ {\Configure{Needs}{File: #3}\Needs{}}
+}
+
+
+% If more font families are used, they need to have different names
+\NewConfigure{FontFamily}{2}
+
+\Configure{FontFamily}{rmfamily}{Latin Modern}
+
+% Declarations for common font styles, just local family name and font file name are needed to be provided
+\NewConfigure{NormalFont}[1]{\AddFontFace{\a:FontFamily}{\b:FontFamily}{#1}{font-weight: normal;font-style: normal;}}
+\NewConfigure{BoldFont}[1]{\AddFontFace{\a:FontFamily}{\b:FontFamily}{#1}{font-weight: bold;font-style: normal;}}
+\NewConfigure{ItalicFont}[1]{\AddFontFace{\a:FontFamily}{\b:FontFamily}{#1}{font-weight: normal;font-style: italic;}}
+\NewConfigure{BoldItalicFont}[1]{\AddFontFace{\a:FontFamily}{\b:FontFamily}{#1}{font-weight: bold;font-style: italic;}}
+
+  \Configure{writetoc}{}
+\Configure{CutAtTITLE+}{}
+\Configure{HPageTITLE+}{}
+\Configure{AtBeginDocument}
+  {\edef\recallcatcodes{%
+      \catcode`\noexpand\_\the\catcode`\_
+      \catcode`\noexpand\^\the\catcode`\^ }%
+   \catcode`\_=8\catcode`\^=7}
+  {\recallcatcodes}
+\Configure{crosslinks}{[}{]
+   }{next}{prev}{prev-tail}{front}{tail}{up}
+\:CheckOption{next}     \if:Option
+   \Configure{next+}
+     {\ShowPar\par\noindent \HCode{<span class="next">}[}
+     {]\HCode{</span>}}
+   \Css{@media print {span.next {visibility:hidden;}}}
+\fi
+
+\Configure{halignTB}{\HCode{<table }}{\HCode{>}}
+\def\R:HA{\HCode{<tr \Hnewline}\halignTR\HCode{>}}
+\def\r:HA{\HCode{</tr>}}
+\def\D:HA{\SaveEndP
+ \HCode{<td
+   \ifnum \HMultispan>1 colspan="\HMultispan"\fi}%
+   \halignTD \HCode{\Hnewline>}\ShowPar\par}
+\def\d:HA{\ifvmode \IgnorePar \fi \EndP\HCode{</td>}\RecallEndP
+}
+\Configure{HVerbatim+}{\z@}{\:nbsp}
+\Configure{CssFile}{\jobname.css}
+  {/* \aa:CssFile\space from \jobname.tex (TeX4ht) */}
+\Configure{Picture+}{}{}
+\Configure{Picture*}{}{}
+\Configure{Picture-alt}{[Picture]}
+\Configure{Needs}{l.
+   \the\inputlineno\space--- needs --- #1 ---}
+\Configure{Needs-}{l.
+   \the\inputlineno\space--- needs --- #1 ---}
+   \def\SPAN:#1{\HCode{<span class="#1">}}
+   \def\EndSPAN:{\HCode{</span>}}
+   \def\DIV:#1{\HCode{<div class="#1">}}
+   \def\EndDIV:{\HCode{</div>}}
+
+\Configure{moveright}{\leavevmode\endgraf }
+\Configure{HChar}{x}
+
+\Configure{TITLE+}{\HCode{\jobname.\:html}}
+
+\ifx \a:DOCTYPE\relax
+   \:CheckOption{frames}  \if:Option
+      \:CheckOption{xhtml} \if:Option
+   
+\Configure{VERSION}
+    {\HCode{<?xml version="1.0" encoding="\expandafter\ifx \csname a:charset\endcsname\relax
+         \expandafter\:encoding\A:charset
+   \else \expandafter\:encoding\a:charset\fi"
+ ?>\Hnewline}}
+%
+   \Configure{DOCTYPE}
+   {\HCode{<!DOCTYPE html PUBLIC
+          "-//W3C//DTD XHTML 1.0 Frameset//\expandafter
+\ifx \csname a:dtd-lang\endcsname\relax EN\else
+  \csname a:dtd-lang\endcsname
+\fi
+"
+    \Hnewline
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">\Hnewline}}
+\else
+   \Configure{DOCTYPE}
+   {\HCode{<!DOCTYPE html PUBLIC
+               "-//W3C//DTD HTML 4.01 Frameset//\expandafter
+\ifx \csname a:dtd-lang\endcsname\relax EN\else
+  \csname a:dtd-lang\endcsname
+\fi
+"
+    \Hnewline "http://www.w3.org/TR/html4/frameset.dtd">\Hnewline}}
+\fi
+
+   \else
+      \:CheckOption{xhtml}  \if:Option
+   \NewConfigure{@DOCTYPE}[1]{\def\:temp{#1}%
+      \ifx \:temp\empty  \let\a:@DOCTYPE\empty
+      \else \ifx \a:@DOCTYPE\relax  \let\a:@DOCTYPE\empty\fi
+        \pend:def\a:@DOCTYPE{#1}\fi}
+   \let\a:@DOCTYPE\relax
+\fi
+
+      \:CheckOption{xhtml}  \if:Option
+   
+\Configure{VERSION}
+    {\HCode{<?xml version="1.0" encoding="\expandafter\ifx \csname a:charset\endcsname\relax
+         \expandafter\:encoding\A:charset
+   \else \expandafter\:encoding\a:charset\fi"
+ ?>\Hnewline}}
+%
+\Configure{DOCTYPE}
+  {\HCode{<!DOCTYPE html \xhtml:DOCTYPE>            \Hnewline
+    <!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
+    \Hnewline}}
+\def\xhtml:DOCTYPE{PUBLIC
+    "-//W3C//DTD XHTML 1.0 Transitional//\expandafter
+\ifx \csname a:dtd-lang\endcsname\relax EN\else
+  \csname a:dtd-lang\endcsname
+\fi
+"\Hnewline
+    \space\space
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"}
+\Configure{@DOCTYPE}
+  {<!ENTITY \% xhtml.dtd \xhtml:DOCTYPE>\Hnewline\%xhtml.dtd; \Hnewline}
+%
+   \def\:DTD{xhtml}
+\else
+   \Configure{DOCTYPE}{\IgnorePar\HCode
+   {<!DOCTYPE html PUBLIC
+              "-//W3C//DTD HTML 4.01 Transitional//\expandafter
+\ifx \csname a:dtd-lang\endcsname\relax EN\else
+  \csname a:dtd-lang\endcsname
+\fi
+"
+    \Hnewline\space\space "http://www.w3.org/TR/html4/loose.dtd">
+    \Hnewline}}
+%
+\fi
+
+   \fi
+\fi
+\def\:encoding#1={}
+
+\ifx \a:HTML\:UnDef
+   \Configure{HTML}
+     {\IgnorePar\HCode{<html \a:@HTML
+       \:xhtml{xmlns="http://www.w3.org/1999/xhtml"
+\Hnewline}>\Hnewline}}
+     {\ifvmode\IgnorePar\fi\HCode{</html>\Hnewline}}
+\fi
+\ifx \a:HEAD\:UnDef
+   \Configure{HEAD}
+      {\IgnorePar\NoFonts\HCode {<head>}}
+      {\HCode{</head>}\EndNoFonts}
+\fi
+\ifx \a:BODY\:UnDef
+   \:CheckOption{frames} \if:Option
+      \def\Frame:Name{menu}
+\:CheckOption{xhtml}  \if:Option
+   \NewConfigure{@DOCTYPE}[1]{\def\:temp{#1}%
+      \ifx \:temp\empty  \let\a:@DOCTYPE\empty
+      \else \ifx \a:@DOCTYPE\relax  \let\a:@DOCTYPE\empty\fi
+        \pend:def\a:@DOCTYPE{#1}\fi}
+   \let\a:@DOCTYPE\relax
+\fi
+%
+\Configure{BODY}
+   {%
+    \a:frames    \NoFrames    \PushStack\BODY:stack{}
+    \:CheckOption{mouseover} \if:Option
+   \Configure{BODY}
+      {\PushStack\BODY:stack{x}%
+       \:xhtml{\SaveEndP}\IgnorePar\HCode{<body\Hnewline
+       \ifx\Frame:Name\empty\else id="tex4ht-\Frame:Name"\fi
+       \csname a:!BODY\endcsname
+         >}\HCode{<div id="overDiv"
+         style="position:absolute;
+                      visibility:hidden; z-index:1000;"></div>
+}%
+\ShowPar\par \let\Frame:Name=\empty}
+      {\IgnorePar\:xhtml{\EndP}\PopStack\BODY:stack\:temp
+        \ifx \:temp\empty \EndFrames \else
+                              \HCode{\Hnewline </body>}\fi
+        \:xhtml{\RecallEndP}}%
+\else
+   \Configure{BODY}
+      {\PushStack\BODY:stack{x}%
+       \:xhtml{\SaveEndP}\IgnorePar\HCode{<body\Hnewline
+       \ifx\Frame:Name\empty\else id="tex4ht-\Frame:Name"\fi
+       \csname a:!BODY\endcsname >}\ShowPar\par \let\Frame:Name\empty}
+      {\IgnorePar\:xhtml{\EndP}\PopStack\BODY:stack\:temp
+        \ifx \:temp\empty \EndFrames
+                        \else \HCode{\Hnewline </body>}\fi
+        \:xhtml{\RecallEndP}}%
+\fi
+%
+    \csname a:frames-altDOCTYPE\endcsname
+%
+    \HPage[tex4ht-p1]{table of contents}%
+       \par \ShowPar \Link{}{tex4ht-toc}\EndLink
+       \bgroup
+         \Configure{Link}{a}{target="tex4ht-main"  href=}{ id=}{}
+         \b:frames
+       \egroup
+       \def\Frame:Name{main}
+    \EndHPage{tex4ht-p1} \expandafter\Tg<br />
+    \HPage[tex4ht-p2]{text}\par\ShowPar
+        \Link{}{tex4ht-body}\EndLink
+    }
+  {\EndHPage{tex4ht-p2}}
+\NewConfigure{frames}{2}
+\Css{body\#tex4ht-menu {white-space: nowrap; }}
+
+   \else
+      \Log:Note{for content and toc
+           in 2 frames, use the command line option `frames'}
+      \Log:Note{for content, toc, and footnotes
+           in 3 frames, use the command line option `frames-fn'}
+      \:CheckOption{mouseover} \if:Option
+   \Configure{BODY}
+      {\:xhtml{\SaveEndP}\IgnorePar\HCode{<body\Hnewline
+         \csname a:!BODY\endcsname >}\HCode{<div id="overDiv"
+         style="position:absolute;
+                      visibility:hidden; z-index:1000;"></div>
+}%
+\ShowPar\par}
+      {\IgnorePar\:xhtml{\EndP}\HCode{\Hnewline
+        </body>}\:xhtml{\RecallEndP}}%
+\else
+   \Configure{BODY}
+      {\:xhtml{\SaveEndP}\IgnorePar\HCode{<body\Hnewline
+         \csname a:!BODY\endcsname >}\ShowPar\par }
+      {\IgnorePar\:xhtml{\EndP}\HCode{\Hnewline
+        </body>}\:xhtml{\RecallEndP}}%
+\fi
+
+\fi\fi
+\ifx \a:TITLE\:UnDef
+   \Configure{TITLE}{\Protect\IgnorePar
+      \HCode{<title>}}{\HCode{</title>\Hnewline}}
+\fi
+\ifx \a:@HEAD\relax \let\a:@HEAD=\empty\fi
+\ifx \a:@HEAD\empty
+   \:CheckOption{xht} \if:Option
+   \:CheckOption{xhtml}\if:Option \else \:CheckOption{xml}\fi
+\fi
+\if:Option \:CheckOption{mathplayer} \if:Option
+   \Configure{@HEAD}{\HCode{<!--\Hnewline
+   <meta
+   http-equiv="Content-Type" content="application/xhtml+xml;
+      \expandafter\ifx \csname a:charset\endcsname\relax\A:charset
+   \else \a:charset\fi"\xml:empty>\Hnewline
+   see http://lists.w3.org/Archives/Public/www-math/2007May/0056.html \Hnewline
+   -->\Hnewline}}
+\else
+   \Configure{@HEAD}{\HCode{<meta
+   http-equiv="Content-Type" content="application/xhtml+xml;
+      \expandafter\ifx \csname a:charset\endcsname\relax\A:charset
+   \else \a:charset\fi"\xml:empty>\Hnewline}}
+\fi
+\Configure{ext}{xht}
+
+\else      \Log:Note{for file extension name xht, use the command line option `xht'}%
+\Configure{@HEAD}{\HCode{<meta
+   http-equiv="Content-Type" content="text/html;
+   \expandafter\ifx \csname a:charset\endcsname\relax\A:charset
+   \else \a:charset\fi"\xml:empty>\Hnewline}}
+\fi
+\def\:gobbleM#1->{}
+\Configure{@HEAD}{\HCode{<meta
+    name="generator" content="TeX4ht
+      (https://tug.org/tex4ht/)"\xml:empty>\Hnewline}}
+\Configure{@HEAD}{\HCode{<meta
+    name="originator" content="TeX4ht
+      (https://tug.org/tex4ht/)"\xml:empty>\Hnewline
+       <!--\space\expandafter\:gobbleM\meaning
+               \Preamble\space-->\Hnewline}}
+
+\immediate\write-1{TeX4ht package options:
+    \expandafter\:gobbleM\meaning\Preamble}
+\Configure{@HEAD}
+   {\HCode{<meta name="src"
+                 content="\jobname.tex"\xml:empty>\Hnewline}}
+\:CheckOption{timestamp}\if:Option
+\Configure{@HEAD}
+   {\HCode{<meta name="date"
+                 content="\:today"\xml:empty>\Hnewline}}
+\else
+  \Log:Note{To print a timestamp, use the command line option timestamp}
+\fi
+
+   \:CheckOption{-css} \if:Option \else
+   \Log:Note{to ignore CSS code, use the command line option `-css}
+   \:CheckOption{css-in} \if:Option
+      \Log:Note{the inline CSS code is extracted from the input of the
+          previous compilation, so an extra compilation might be needed}
+      \Configure{@HEAD}{\openin15=\jobname .css
+\ifeof15   \:warning{Missing file: \jobname .css }%
+\else
+\bgroup
+   \catcode`\{=12  \catcode`\}=12  \catcode`\%=12  \catcode`\#=12
+   \HCode{\Hnewline<style type="text/css">\Hnewline <!-- \Hnewline}%
+   \loop
+      \read15 to \:temp
+      \def\:tempa{\par}\ifx \:temp\:tempa \let\:temp\empty \fi
+   \ifeof15\else
+      \expandafter\tmp:toks\expandafter{\:temp}%
+      \HCode{\the\tmp:toks \Hnewline}%
+   \repeat
+   \HCode{\Hnewline-->\Hnewline</style>\Hnewline}%
+\egroup
+\fi
+\closein15
+}
+   \else
+      \Log:Note{for inline CSS code, use the command line option `css-in'}
+      \Configure{@HEAD}{\HCode{<link
+         rel="stylesheet" type="text/css"
+         href="\aa:CssFile"\xml:empty>\Hnewline}}
+   \fi
+\fi
+
+   \:CheckOption{uni-html4} \if:Option
+   \def\A:charset{charset=utf-8}
+\else
+   \def\A:charset{charset=iso-8859-1}
+\fi
+
+\fi
+\:CheckOption{mouseover} \if:Option
+  \Configure{@HEAD}
+  {\HCode{%
+     <script type="text/javascript"
+                 src="\jobname-js.js"></script>\Hnewline
+     <script type="text/javascript" src="overlib.js"><!-- overLIB (c) Erik Bosrup --></script>
+<!--https://github.com/overlib/overlib-->%
+}}
+\def\js:on{%
+  \global\let\js:on=\relax
+  \HCode{<!--}%
+  \ht:special {t4ht at DCopyTo: \jobname-js.tex From js }%
+%
+  \HCode{\string\def\string\jstoday{\:today} }%
+  \HCode{\string\input\space onmouseover.4ht }%
+  \:CheckOption{trace-onmo} \if:Option
+      \HCode{<js trace="on">}%
+  \else
+     \Log:Note{for mouseover tracing of
+          compilation, use the command line option `trace-onmo'}
+      \HCode{<js>}%
+  \fi
+  \ht:special {t4ht at DCopyTo: \jobname-js.tex Until js }%
+%
+  \HCode{-->}%
+  \csname a:mouseover-Needs\endcsname
+\Css{.js {text-indent:0; background-color:aqua; color:black;
+   border:solid 1px black;  margin:2pt; width:99\%;}}
+\Css{.js p, .js p.bibitem
+, .js p.bibitem-p
+ {text-indent:0;
+   background-color:aqua; color:black; margin:2pt;}}
+\AtEndDocument{{\HCode{<!--}%
+  \ht:special {t4ht at DCopyTo: \jobname-js.tex From js }%
+%
+  \HCode{</js>}%
+  \ht:special {t4ht at DCopyTo: \jobname-js.tex Until js }%
+%
+  \HCode{-->}}}%
+}
+\HAssign\MO:script = 0
+\NewConfigure{mouseover-script}[1]{\bgroup
+  \gHAdvance\MO:script by 1
+  \expandafter\NextFile \expandafter{\jobname\MO:script.tmp}%
+  \HPage{}\IgnorePar \ht:special {t4ht at DCopyTo: \jobname-js.tex From var }%
+%
+    \HCode{<\if !#1!\else mouseover-script\fi>#1\if !#1!\else =\fi}%
+    \everyvbox{\IgnorePar\everyvbox{}\aftergroup\end:movar}%
+    \def\end:movar{\everyvbox{}\HCode
+                   {</\if !#1!\else mouseover-script\fi>}%
+        \ht:special {t4ht at DCopyTo: \jobname-js.tex Until var }%
+\EndHPage{}%
+        \egroup}%
+    \vbox}
+\expandafter\def\csname c:mouseover-vars:\endcsname#1#2{%
+   \expandafter\def\csname mouseover-#1-init\endcsname##1{}%
+   \def\:tempc##1{\expandafter\append:defI\csname
+      mouseover-#1-init\endcsname{tex4ht.##1=tex4ht.\expandafter\jsHash
+      \expandafter{\expandafter v####1.##1};}}%
+   \Mo:vars#2,<>}
+\def\Mo:vars#1,#2<>{%
+   \if !#1!\else
+      \expandafter\def\csname mo#1\endcsname##1{%
+          \HCode{<!--}%
+          \ht:special{t4ht at DCopyTo: \jobname-js.tex From #1 }%
+          \HCode{<#1-var>\jsHash{v##1.#1}=}%
+          \ht:special{t4ht at DCopyTo: \jobname-js.tex Skip #1 }%
+          \HCode{-->}%
+          \ht:special{t4ht at DCopyTo: \jobname-js.tex Cont #1 }%
+      }%
+      \expandafter\def\csname endmo#1\endcsname{%
+          \ht:special{t4ht at DCopyTo: \jobname-js.tex Skip #1 }%
+          \HCode{<!--}%
+          \ht:special{t4ht at DCopyTo: \jobname-js.tex Cont #1 }%
+          \HCode{</#1-var>}%
+          \ht:special{t4ht at DCopyTo: \jobname-js.tex Until #1 }%
+          \HCode{-->}%
+      }%
+      \:tempc{#1}%
+   \fi
+   \if !#2!\else \expand:after{\Mo:vars#2<>}\fi
+}
+\expandafter\ifx \csname mouseover-Needs\endcsname\relax
+  \NewConfigure{mouseover-Needs}{1}
+  \Configure{mouseover-Needs}{\Needs{"mk4ht xhtex \jobname-js"}}
+\fi
+\def\mo:args#1#2#3{\expandafter
+  \ifx \csname a:mouseover-#1-#2\endcsname\empty\else
+  \expandafter \ifx \csname a:mouseover-#1-#2\endcsname\relax
+    \expandafter \ifx \csname a:mouseover-#1\endcsname\empty
+      \else
+    \Hnewline
+    onmouseover="tex4ht.body=tex4ht.#3; tex4ht.caption='#2';
+            \expandafter\ifx \csname mouseover-#1-init\endcsname\relax
+            \else \csname mouseover-#1-init\endcsname{#2}\fi
+%
+              return overlib(\csname a:mouseover-#1\endcsname);"
+   \Hnewline    onmouseout="nd();"\Hnewline\fi
+\else
+    \Hnewline
+ onmouseover="tex4ht.body=tex4ht.#3; tex4ht.caption='#2';
+            \expandafter\ifx \csname mouseover-#1-init\endcsname\relax
+            \else \csname mouseover-#1-init\endcsname{#2}\fi
+%
+            return overlib(\csname a:mouseover-#1-#2\endcsname);"
+\Hnewline onmouseout="nd();"\Hnewline
+\fi\fi}
+\def\jsHash#1{\jsHash:a #1<>}
+\def\jsHash:a#1#2<>{%
+   \ifnum `#1<`0 JjV\else
+   \ifnum `#1>`z jJv\else
+   \ifnum `#1>`9
+      \ifnum `#1<`A jJV\else
+      \ifnum `#1>`Z
+         \ifnum `#1<`a jVV\else #1\fi
+      \else #1\fi\fi
+   \else #1\fi\fi\fi
+   \if !#2!\expandafter\done:hash
+                       \else\expandafter\jsHash:a\fi#2<>}
+\def\done:hash#1>{}
+\expandafter\Odef\csname c:mouseover-?:\endcsname[#1]#2{%
+  \def\:temp{#2}%
+  \if !#1!\expandafter\let\csname a:mouseover-\:tempb\endcsname=\:temp
+  \else \om:type#1,!*?: \fi}
+\def\om:type#1,#2!*?: {%
+  \if !#1!\else\expandafter
+     \let\csname a:mouseover-\:tempb-#1\endcsname=\:temp\fi
+  \ifx !#2!\else \def\:tempa{\om:type#2!*?: }\expandafter\:tempa \fi
+}
+
+\:CheckOption{info} \if:Option
+   \Log:Note{Option `mouseover' is powered
+  by the overlib.js utility of Erik Bosrup
+  (http://www.bosrup.com/web/overlib/).}
+\immediate\write-1{}
+\immediate\write-1{The option requires two compilations of
+  the source file.}
+\immediate\write-1{}
+\immediate\write-1{Use \string\Configure
+  {mouseover-XXX}{...} to introduce extra arguments into the overlib
+  function call `return overlib(...)'. XXX stands for
+  `cite', `footnote', or 'gloss'. The default body is at tex4ht.body,
+  and the default caption at tex4ht.caption. An empty parameter
+  requests no  sensitivity of the  mouse for the
+  specified type of entries.}
+\immediate\write-1{}
+\immediate\write-1{The variant \string\Configure
+  {mouseover-XXX}[labels]{...} of the above command restricts the
+  outcome just to the listed labels (i.e., the values listed
+  in tex4ht.caption).}
+\immediate\write-1{}
+\immediate\write-1{The \string\Configure{mouseover-script}{variable-name}
+  {javascript-code} command may be used to introduce code into the
+  javascript file, as a content of a global variable when a name is
+  given and as a bare code when the name is not given.  To be referenced,
+  the name must be prefixed by ``tex4ht.'.}
+\immediate\write-1{}
+\immediate\write-1{The \string\Configure{mouseover-vars}{XXX}
+  {variable-list} command introduces local variables, to be referenced
+  with the prefix ``tex4ht.' on their names. In addition, for each
+  variable YYY  it introduces a construct \string\moYYY
+  {label}...\string\endmoYYY\space for selecting a value for the variable
+  at the specified label.}
+\immediate\write-1{}
+\immediate\write-1{Example:}
+\immediate\write-1{
+  \string\Configure{mouseover-script}{var}{\HCode{<hr />}}}
+\immediate\write-1{\string\Configure{mouseover-vars}{cite}{Author,Title}%
+}
+\immediate\write-1{\string\Configure {mouseover-cite}
+     {tex4ht.body,CAPTION,tex4ht.caption+tex4ht.var,FULLHTML}%
+.}
+\immediate\write-1{
+  \string\moAuthor{bb}A name\string\endmoAuthor }
+\immediate\write-1{}
+\immediate\write-1{The compilation indirectly invokes the
+  command 'xhtex \string\jobname-js'.  An alternative format for
+  the command can be requested within a configuration of
+  the form \string\Configure{mouseover-Needs}{\string\Needs{"..."}}.
+  The default setting is due to
+  \string\Configure{mouseover-Needs}{\string\Needs{"xhtex
+  \string\jobname-js"}}}
+\immediate\write-1{In case \string\Configure{mouseover-Needs} is
+  undefined, introduce the instruction
+  \string\NewConfigure{mouseover-Needs}{1} before that command.
+}
+
+\fi
+
+\else
+  \Log:Note{for pop ups on mouse over,
+          use the command line option `mouseover'}
+\fi
+
+\newif\ifHCond
+\Configure{HtmlPar}
+  {\EndP\HCode{<!--l. \the\inputlineno-->%
+<p \csname a:!P\endcsname
+         class="no\ifHCond par\else indent\fi" \a:LRdir>}}
+  {\EndP\HCode{<!--l. \the\inputlineno-->%
+<p \csname a:!P\endcsname
+        class="\ifdim \parindent=\z@ no\fi indent" \a:LRdir>}}
+  {\:xhtml{\Tg</p>}}
+  {\:xhtml{\Tg</p>}}%
+
+\NewConfigure{!P}[1]{\expandafter\concat:config\csname a:!P\endcsname{#1}}
+\expandafter\let\csname a:!P\endcsname\relax
+\Configure{!P}{}
+
+
+\ifOption{p-indent}{%
+\Css{p.noindent { text-indent: 0em }}
+\Css{td p.noindent { text-indent: 0em; margin-top:0em; }}
+\Css{p.nopar { text-indent: 0em; }}
+\Css{p.indent{ text-indent: 1.5em }}
+\Css{p{margin-top:0;margin-bottom:0}}
+\Css{p.noindent  + p.noindent{margin-top:1em;}}
+}{%
+\Css{p{margin-top:0;margin-bottom:0}}
+\Css{p.indent{text-indent:0;}}
+\Css{p + p{margin-top:1em;}}
+\Css{p + div, p + pre {margin-top:1em;}}
+\Css{div + p, pre + p {margin-top:1em;}}
+}
+\NewConfigure{!BODY}[1]{\expandafter\concat:config
+  \csname a:!BODY\endcsname{#1}}
+\expandafter\let\csname a:!BODY\endcsname\relax
+\Configure{!BODY}{}
+\NewConfigure{LRdir}[1]{\concat:config\a:LRdir{#1}}
+\let\a:LRdir\relax
+\Configure{LRdir}{}
+\Configure{crosslinks+}
+   {\IgnorePar\EndP\HCode{<!--l. \the\inputlineno-->%
+%
+                          <div class="crosslinks"><p class="noindent">}}
+   {\HCode{</p></div>}\par\ShowPar}
+   {\IgnorePar\EndP\HCode{<!--l. \the\inputlineno-->%
+%
+                          <div class="crosslinks"><p class="noindent">}}
+   {\HCode{</p></div>}\par\ShowPar}
+\Css{@media print {div.crosslinks {visibility:hidden;}}}
+
+\Configure{halignTR}
+   {\HCode{ style="vertical-align:baseline;"}}
+\Configure{halignTBL}
+% %   {t}{\HCode{ valign="top"}}
+% %   {b}{\HCode{ valign="baseline"}}
+% %   {c}{\HCode{ valign="middle"}}
+    {}
+
+\Configure{halign}
+   {\EndP
+    \PushStack\Table:Stck\TableNo
+    \gHAdvance\Next:TableNo by 1
+    \global\let\TableNo=\Next:TableNo
+    \halignTB{halign}}
+   {\HCode{</table>}\PopStack\Table:Stck\TableNo}
+   {\HCode{<tr \Hnewline}\halignTR\HCode{ id="TBL-\TableNo-\HRow-">}}
+   {\HCode{</tr>}}
+   {\SaveEndP
+ \HCode{<td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}%
+   \halignTD \HCode{\Hnewline id="TBL-\TableNo-\HRow-\HCol">}\ShowPar\par}
+   {\ifvmode \IgnorePar \fi \EndP\HCode{</td>}\RecallEndP
+}
+\Configure{pic-halign}{}
+\Configure{halignTB<>}{halign}{\HCode{id="TBL-\TableNo" class="halign"\Hnewline }<>}
+\HAssign\Next:TableNo0 \global\let\TableNo=\Next:TableNo
+\Configure{halignTD} {}{}
+   {<}{\HCode{ style="white-space:nowrap; text-align:left;"}}
+   {-}{\HCode{ style="white-space:nowrap; text-align:center;"}}
+   {>}{\HCode{ style="white-space:nowrap; text-align:right;"}}
+   {^}{\HCode{ style="vertical-align:top; white-space:nowrap;"}}
+   {=}{\HCode{ style="vertical-align:baseline; white-space:nowrap;"}}
+   {|}{\HCode{ style="vertical-align:middle; white-space:nowrap;"}}
+   {_}{\HCode{ style="vertical-align:bottom; white-space:nowrap;"}}
+   {p}{\HCode{ style="white-space:normal; text-align:left;"}\Protect\a:HColWidth}
+   {m}{\HCode{ style="white-space:nowrap; text-align:left; vertical-align:middle;"}}
+   {b}{\HCode{ style="white-space:nowrap; text-align:left; vertical-align:baseline;"}}
+   {}
+\NewConfigure{HColWidth}{1}
+\Configure{HColWidth}{}
+\ifx \a:imgdir\:UnDef
+   \let\a:imgdir=\empty
+   \catcode`\:=12
+      \expandafter
+      \def\csname :temp\endcsname#1imgdir:#2,#3!*?: {%
+         \if !#2!\else \expandafter
+                          \def\csname a:imgdir\endcsname{#2}\fi}
+      \expandafter\csname :temp\expandafter\endcsname
+         \Preamble ,imgdir:,!*?: %
+   \catcode`\:=11
+   \Log:Note{for addressing images in
+       a subdirectory,  use the command line option `imgdir:.../'}
+\fi
+
+\Configure{IMG}
+  {\ht:special{t4ht=<img\Hnewline src="\a:imgdir  }}
+  {\ht:special{t4ht=" alt="}}
+  {" }
+  {\ht:special{t4ht=" }}
+  {\ht:special{t4ht=\xml:empty>}}
+\Css{a img { border-top: 0; border-left: 0; border-right: 0; }}
+\Configure{htf}{0}{+}{<span\Hnewline
+   class="}{\%s}{-\%s}{x-x-\%d}{}{">}{</span>}
+\ifx \a:imgdir\:UnDef
+   \let\a:imgdir=\empty
+   \catcode`\:=12
+      \expandafter
+      \def\csname :temp\endcsname#1imgdir:#2,#3!*?: {%
+         \if !#2!\else \expandafter
+                          \def\csname a:imgdir\endcsname{#2}\fi}
+      \expandafter\csname :temp\expandafter\endcsname
+         \Preamble ,imgdir:,!*?: %
+   \catcode`\:=11
+   \Log:Note{for addressing images in
+       a subdirectory,  use the command line option `imgdir:.../'}
+\fi
+
+\Configure{htf}{1}{+}{<img\Hnewline
+   src="\a:imgdir  }{" alt="}{" class="}{\%s}{-\%d}{x-x-\%x}{" />}
+\Configure{htf}{3}{+}{<img\Hnewline
+   src="\a:imgdir  }{" alt="}{" class="\%s-}{\%s}{-\%d}{x-x-\%x}%
+   {" style="text-align:middle" />}
+\Configure{htf}{4}{+}{<span\Hnewline
+   class="}{}{}{}{}{small-caps">}{</span>}
+\Configure{htf}{6}{+}{<u\Hnewline
+   class="}{}{}{}{}{underline">}{</u>}
+\Configure{htf}{8}{+}
+   {<sup class="htf">}{}{}{}{}{}{</sup>}
+\Configure{htf}{10}{+}
+   {<span class="htf-cmbx">}{}{}{}{}{}{</span>}
+\Configure{htf}{12}{+}
+   {<span\Hnewline class="htf-calligraphy">}{}{}{}{}{}{</span>}
+\Configure{htf}{14}{+}
+   {<span\Hnewline class="htf-italic">}{}{}{}{}{}{</span>}
+\Configure{htf}{16}{+}
+   {<span\Hnewline class="htf-bold">}{}{}{}{}{}{</span>}
+\Configure{htf}{18}{+}
+   {<span\Hnewline class="htf-calligraphy-bold">}{}{}{}{}{}{</span>}
+\Configure{htf}{20}{+}
+   {<span\Hnewline class="htf-flip-hor">}{}{}{}{}{}{</span>}
+\Configure{htf}{22}{+}
+   {<sub class="htf">}{}{}{}{}{}{</sub>}
+\Configure{htf}{24}{+}{<span\Hnewline
+   class="}{}{}{}{}{small-caps">}{</span>}
+\Configure{htf-css}{4}{.small-caps{font-variant: small-caps; }}
+\Configure{htf-css}{10}{.htf-cmbx {font-weight: bold; font-style:normal;}}
+\Configure{htf-css}{12}{.htf-calligraphy {font-family:cursive}}
+\Configure{htf-css}{14}{.htf-italic {font-style: italic;}}
+\Configure{htf-css}{16}{.htf-bold {font-weight: bold;}}
+\Configure{htf-css}{12}{.htf-calligraphy-bold {font-family:cursive ;
+   font-weight: bold; }}
+\Configure{@Picture}{\:class}
+\def\:class#1{ class="#1"
+       \expandafter\ifx\csname a:@#1\endcsname\relax\else
+       \csname a:@#1\endcsname\fi}
+\Css{center { margin-top:1em; margin-bottom:1em; }}
+\Css{td center { margin-top:0em; margin-bottom:0em; }}
+\NewConfigure{Canvas}[4]{\ht:special{t4ht"%
+   *<span\Hnewline class="Canvas">%
+   *X<span style="position:relative;\Hnewline
+     width:\%.2f#4;"></span></span>%
+   **<span\Hnewline style="position:absolute; left:\%.2f#4;
+     top:\%.2f#4;"\Hnewline class="Canvas-xy"><span\Hnewline
+     class="Canvas-char">%
+   *</span></span>%
+   *<span class="Canvas-HR"\Hnewline style="position:absolute;
+     left:\%.2f#4;top:\%.2f#4;width:\%.2f#4;"
+     ><hr\Hnewline style="height:\%.2f#4;"></span>%
+   *#1*#2*#1*#2*#3}}
+\Configure{Canvas}{0.00000290646}{0.0}{0.5}{ex}
+\Css{.Canvas { position:relative; }}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{tex4ht2}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ifx \a:imgdir\empty\else
+   \let\GIF:NAME=\gif:name
+   \def\gif:name#1{%
+     \let\:temp=\GIF:NAME
+     \ifx \gif:nm\cond:imgs
+        \def\:next{\edef\:tempa{#1}\expandafter\I:images \:tempa/....}%
+     \else
+        \def\:next{\GIF:NAME{#1}}%
+      \fi \:next}
+
+   \def\cond:imgs{\edef\gif:nm}
+
+   \def\I:images#1/#2....{%
+      \edef\:next{\noexpand\:temp{\:tempa}}%
+      \if .#2.\else \edef\:next{\noexpand\no:images{\:tempa}}\fi
+      \:next}
+   \def\no:images#1{\let\a:imgdir=\empty \:temp{#1}}
+\fi
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{latex}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{TocAt}
+   {\let\sv:atoc\a:tableofcontents
+\let\sv:btoc\b:tableofcontents
+\let\sv:ctoc\c:tableofcontents
+\let\sv:dtoc\d:tableofcontents
+\let\sv:etoc\e:tableofcontents
+%
+    \Configure{tableofcontents}
+       {\IgnorePar\EndP\HCode{<div class="\sec:typ TOCS">}\IgnorePar}
+       {}{\IgnorePar\HCode{</div>}\ShowPar}{\HCode{<br />}}{}%
+    \ifvmode \IgnorePar\fi \EndP
+   }
+   {\let\a:tableofcontents\sv:atoc
+\let\b:tableofcontents\sv:btoc
+\let\c:tableofcontents\sv:ctoc
+\let\d:tableofcontents\sv:dtoc
+\let\e:tableofcontents\sv:etoc
+\par\ShowPar}
+\Configure{TocAt*}
+   {\let\sv:atoc\a:tableofcontents
+\let\sv:btoc\b:tableofcontents
+\let\sv:ctoc\c:tableofcontents
+\let\sv:dtoc\d:tableofcontents
+\let\sv:etoc\e:tableofcontents
+%
+    \Configure{tableofcontents}
+       {\IgnorePar\EndP\HCode{<div class="\sec:typ TOCS">}\IgnorePar}
+       {}{\IgnorePar\HCode{</div>}\ShowPar}{\HCode{<br />}}{}%
+    \ifvmode \IgnorePar\fi \EndP
+   }
+   {\let\a:tableofcontents\sv:atoc
+\let\b:tableofcontents\sv:btoc
+\let\c:tableofcontents\sv:ctoc
+\let\d:tableofcontents\sv:dtoc
+\let\e:tableofcontents\sv:etoc
+\par\ShowPar}
+\:CheckOption{minitoc<} \if:Option
+   \def\MiniToc:At{\TocAt}
+\else
+   \Log:Note{For mini tocs immediately aftter the header use the
+            command line option `minitoc<'}
+   \def\MiniToc:At{\TocAt*}
+\fi
+\Configure{tableofcontents}
+   {\IgnorePar\EndP\HCode{<div class="tableofcontents"\a:LRdir>}\IgnorePar}
+   {\ifTag{tex4ht-body}{\HCode{<br />}\Link{tex4ht-body}{}Home\EndLink}{}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar}
+   {\HCode{<br />}}   {}
+\Css{li p.indent { text-indent: 0em }}
+\Css{li p:first-child{ margin-top:0em; }}
+\Css{li p:last-child, li div:last-child { margin-bottom:0.5em; }}
+\Css{li p\string ~ul:last-child,
+     li p\string ~ol:last-child{ margin-bottom:0.5em; }}
+\ConfigureEnv{trivlist}
+   {}{\ShowPar
+}{}{}
+\ConfigureList{trivlist}%
+   {\EndP\HCode{<dl \a:LRdir class="trivlist">}%
+       \PushMacro\end:itm
+\global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \end:itm
+\EndP\HCode{</dd></dl>}\ShowPar}
+   {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
+        class="trivlist">}\bgroup \bf}
+   {\egroup\HCode{</dt><dd\Hnewline class="trivlist">}}
+\ConfigureEnv{list}
+   {}{\ShowPar
+}{}{}
+\ConfigureList{list}%
+   {\EndP\HCode{<dl \a:LRdir class="list\expandafter\the
+         \csname @listdepth\endcsname">}%
+    \PushMacro\end:itm
+\global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \end:itm
+\EndP\HCode{</dd></dl>}\ShowPar}
+   {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
+        class="list">}\bgroup \bf}
+   {\egroup\HCode{</dt><dd\Hnewline class="list">}\par\ShowPar}
+\ConfigureEnv{itemize}
+   {\ifvmode \IgnorePar\fi \EndP}{\ShowPar
+}
+   {}{}
+\ConfigureList{itemize}%
+   {\EndP\HCode{<ul \a:LRdir
+          class="\getClass{itemize}itemize\expandafter\the
+          \csname @itemdepth\endcsname">}%
+       \afterGetClass{itemize}%
+       \PushMacro\end:itm
+\global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \end:itm
+\ifvmode \IgnorePar\fi
+    \EndP\HCode{</li></ul>}\ShowPar}
+   {\end:itm \global\def\end:itm{\EndP\Tg</li>}\DeleteMark}
+   {\HCode{<li class="\getClass{li}itemize">}\afterGetClass{li}}
+\NewConfigure{itemizeClass}{2}
+\Configure{itemizeClass}{}{}
+\NewConfigure{liClass}{2}
+\Configure{liClass}{}{}
+\ConfigureEnv{enumerate}
+   {}{\ShowPar
+}{}{}
+\:CheckOption{enumerate-} \if:Option
+   \ConfigureList{enumerate}%
+      {\EndP\HCode{<ol \a:enumerate:\space
+      class="enumerate\expandafter\the\csname @enumdepth\endcsname"
+      \a:LRdir
+     >}\PushMacro\end:itm
+\global\let\end:itm=\empty
+}
+      {\PopMacro\end:itm \global\let\end:itm \end:itm
+%
+\EndP\HCode{</li></ol>}\ShowPar
+}
+      {\end:itm \gdef\end:itm{\EndP\Tg</li>}\DeleteMark
+}
+      {\HCode{<li class="enumerate" value="\expandafter\the\csname
+   c at enum\romannumeral\the\@enumdepth\endcsname"\Hnewline>}\AnchorLabel
+}
+\else
+   \:CheckOption{enumerate+} \if:Option
+      \ConfigureList{enumerate}%
+   {\EndP\HCode{<dl \a:LRdir class="enumerate">}%
+      \PushMacro\end:itm
+      \global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \end:itm
+      \EndP\HCode{</dd></dl>}\ShowPar}
+   {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
+        class="enumerate">}\bgroup \bf}
+   {\egroup\EndP\HCode{</dt><dd\Hnewline class="enumerate">}}
+\Css{dd.enumerate {margin-left: 2em;}}
+\Css{dt.enumerate {float:left;
+              clear:left;
+              margin-right:0.5em;
+              margin-left:0.5em;
+              text-align:right; }}
+
+   \else
+      \ConfigureList{enumerate}%
+         {\EndP\HCode{<ol \a:enumerate:\space
+      class="enumerate\expandafter\the\csname @enumdepth\endcsname"
+      \a:LRdir
+     >}\PushMacro\end:itm
+\global\let\end:itm=\empty
+}
+         {\PopMacro\end:itm \global\let\end:itm \end:itm
+%
+\EndP\HCode{</li></ol>}\ShowPar
+}
+         {\end:itm \gdef\end:itm{\EndP\Tg</li>}\DeleteMark
+}
+         {{\Configure{Link}{li}{}{ class="enumerate" id=}{}%
+ \let\EndLink=\empty \AnchorLabel }%
+}
+      \Log:Note{for enumerated list elements with valued data,
+                      use the command line option `enumerate+'}
+
+   \fi
+   \Log:Note{for enumerated list elements li's with value attributes,
+                      use the command line option `enumerate-'}
+\fi
+\:CheckOption{css2} \if:Option
+   \bgroup
+   \def\textbullet{&\#x2219;}
+   \def\textasteriskcentered{&\#x2217;}
+   \Css{ul.itemize1 {list-style-type: none;}}
+   \Css{ul.itemize1 li.itemize:before { display: marker;
+                                  marker-offset: 0.5em;
+                                        content: "\labelitemi\space" }}
+   \Css{ul.itemize2 {list-style-type: none;}}
+   \Css{ul.itemize2 li.itemize:before { display: marker;
+                                  marker-offset: 0.5em;
+                                        content: "\labelitemii\space" }}
+   \Css{ul.itemize3 {list-style-type: none;}}
+   \Css{ul.itemize3 li.itemize:before { display: marker;
+                                  marker-offset: 0.5em;
+                                        content: "\labelitemiii\space" }}
+\egroup
+
+\else
+   \Log:Note{for CSS2 code, use the command line option `css2'}
+\fi
+\def\c:enumerate:#1{\c:enu #1!*?: }
+\def\c:enu#1#2#3#4#5!*?: {%
+\def\a:enumerate:{\ifcase \@enumdepth \or
+         #1\or #2\or #3\or #4\else\fi #5}}
+\Configure{enumerate}{{}{}{}{}}
+\Css{.enumerate1    {list-style-type:decimal;}}
+\Css{.enumerate2    {list-style-type:lower-alpha;}}
+\Css{.enumerate3    {list-style-type:lower-roman;}}
+\Css{.enumerate4    {list-style-type:upper-alpha;}}
+\def\PictureAltex{\afterassignment\set:Img\tmp:toks}
+\def\set:Img{\Picture*[\special{t4ht*=&&}%
+\special{t4ht*=""}%
+\special{t4ht*=<<}%
+\special{t4ht*=>>}%
+   \HCode{\the\tmp:toks}%
+\special{t4ht*=}%
+]{}\the\tmp:toks\EndPicture}
+\Configure{pageref}
+   {\HCode{<span class="pageref">}}
+   {\HCode{</span>}}
+   {\S}
+\Configure{newtheorem}
+   {\ifvmode\IgnorePar\fi\EndP
+     \HCode{<div class="newtheorem">}\par\noindent\HCode{<span
+           class="head">}}
+   {\HCode{</span>}}
+   {\:xhtml{\EndP}\IgnorePar\HCode{</div>}\ShowPar\par}
+\Css{div.newtheorem { margin-bottom: 2em; margin-top: 2em;}}
+\Configure{ }{\:nbsp}
+
+\def\end:TTT{\ifvmode\IgnorePar\fi \EndP\HCode{</td></tr></table>}}
+\:CheckOption{new-accents}     \if:Option \else
+  \Configure{accents}
+    {\expandafter\ifx \csname #1-num\endcsname\relax
+       \ht:special{t4ht at +\string&{35}x#2{59}}x%
+     \else
+       \ht:special{t4ht at +\string&\#x#2;}X%
+     \fi
+    }
+    {\expandafter\ifx \csname a:#1-css\endcsname\relax
+        \Picture+{ \a:@Picture{#1}}#2{#3}\EndPicture
+     \else
+        \csname a:#1-css\endcsname #3\csname b:#1-css\endcsname
+     \fi
+    }
+    \expandafter\let\csname ring-num\endcsname=\def
+\fi
+
+\Configure{obeylines}
+   {\ifvmode \:xhtml{\IgnorePar\EndP}\IgnoreIndent
+       \HCode{<div class="obeylines-v">}%
+       \gdef\ob:ln{\ht:special{t4ht=</div>}}%
+    \else
+       \SaveEndP \HCode{<span class="obeylines-h">}%
+       \gdef\ob:ln{\ht:special{t4ht=</span>}\RecallEndP}%
+    \fi
+   }
+   {\EndP\ob:ln\ShowPar}
+   {\hbox{\HCode{<br />}}}
+\Css{.obeylines-h,.obeylines-v {white-space: nowrap; }}
+\Css{div.obeylines-v p { margin-top:0; margin-bottom:0; }}
+\Configure{overline}
+   {\HCode{<span class="overline">}}
+   {\HCode{</span>}}
+\Css{.overline{ text-decoration:overline; }}
+\Css{.overline img{ border-top: 1px solid black;  }}
+\Configure{displaylines}
+   {\IgnorePar \EndP
+     \HCode{<table \Hnewline border="0" width="100\%"
+         class="displaylines">}\IgnorePar}
+   {\HCode{</table>}}
+   {\HCode{<tr class="displaylines"><td \Hnewline
+       style="vertical-align:baseline;" class="displaylines"
+       >}}{\HCode{</td></tr>}}
+\Css{td.displaylines {text-align:center; white-space:nowrap;}}
+\def\:zbsp#1{cellpadding="0" border="0" cellspacing="0"\Hnewline
+   class="#1"}
+\Configure{centerline}{\ifvmode \IgnorePar
+     \fi \EndP\HCode{<div \Hnewline
+      class="centerline">}}{\EndP\HCode{</div>}\ShowPar}
+\Configure{leftline}{\ifvmode \IgnorePar
+     \fi \EndP \HCode{<p\Hnewline  class="leftline">}}
+   {\HCode{</p>}\ShowPar}
+\Configure{rightline}
+   {\IgnorePar\EndP\HCode{<p class="rightline">}}
+   {\HCode{</p>}\ShowPar}
+\Css{.centerline {text-align:center;}}
+\Css{.rightline {text-align:right;}}
+
+\:CheckOption{pic-tabular}  \if:Option
+   \ConfigureEnv{tabular}
+     {\IgnorePar\EndP\Tg<div class="pic-tabular">\Picture*{}}
+     {\EndPicture\Tg</div>}{}{}
+   \Css{div.pic-tabular {text-align:center;}}
+\else
+   \Log:Note{for pictorial tabular,
+                      use the command line option `pic-tabular'}
+\fi
+\Configure{hspace}{}{}{\:nbsp}
+\Configure{ref}
+   {\Link}
+   {\ifx \RefArg\:UnDef\else
+      \Tg<!--tex4ht:ref: \RefArg\space-->\fi\EndLink}
+   {}
+\ConfigureEnv{verbatim}{\env:verb{verbatim}}{\endenv:verb}{}{}
+\ConfigureEnv{verbatim*}{\env:verb{verbatim}}{\endenv:verb}{}{}
+\HAssign\verbatimN 0
+\def\env:verb#1{\ifinner\else \vfill\break\fi
+  \IgnorePar\EndP  \HAssign\Verb:N=0
+  \gHAdvance\verbatimN by 1
+  \HCode{<pre class="#1" id="verbatim-\verbatimN"\a:LRdir>}\EndNoFonts}
+\def\endenv:verb{\NoFonts
+  \EndP \ht:special{t4ht=</pre>}\ShowPar \par{\HCondtrue\noindent}%
+}
+\HAssign\Verb:N=0
+\Css{pre.verbatim {font-family: monospace,monospace;
+                   text-align:left;
+                   clear:both;
+ }}
+\:CheckOption{pic-fbox} \if:Option
+  \Configure{fbox}
+    {\leavevmode\Picture+[]{ \a:@Picture{fbox}}} {\EndPicture}
+\else
+  \Log:Note{for bitmap fbox'es, use
+          the command line option `pic-fbox'}
+  \Configure{fbox}
+     {\ifvmode \IgnorePar\EndP
+               \HCode{<div class="fbox">}%
+               \def\end:bx{\HCode{</div>}\par}%
+      \else
+               \HCode{<span class="fbox">}%
+               \def\end:bx{\HCode{</span>}}%
+      \fi}
+     {\end:bx}
+  \Css{.fbox {padding-left:\the\fboxsep;
+                  padding-right:\the\fboxsep;
+                  text-indent:0pt;
+                  border:solid black \the\fboxrule;
+      }}
+  \Css{div.fbox {display:table}}
+   \Css{div.center div.fbox {text-align:center; clear:both;
+                             padding-left:3.0pt; padding-right:3.0pt;
+                             text-indent:0pt; border:solid black 0.4pt; }}
+\fi
+\ConfigureEnv{minipage}
+   {\IgnorePar\EndP
+    \HCode{<div class="minipage">}%
+    {\ifnum 0=`}\fi
+   }
+   {\ifnum 0=`{\fi}%
+    \EndP\HCode{</div>}}
+   {}{}
+\Css{div.minipage{width:100\%;}}
+\ConfigureEnv{picture}
+   {\bgroup\ifvmode \Configure{HtmlPar}
+      {\EndP\HCode{<!--l. \the\inputlineno-->%
+}\HCode{<p
+            class="center" \a:LRdir>}}%
+      {\EndP\HCode{<!--l. \the\inputlineno-->%
+}\HCode{<p
+            class="center" \a:LRdir>}}%
+      {\:xhtml{\Tg</p>}}{\:xhtml{\Tg</p>}} \ShowPar\leavevmode
+    \fi}
+   {\egroup}{}{}
+\:CheckOption{no-bib} \if:Option\else
+   \:CheckOption{mouseover} \if:Option
+      \Configure{cite}
+  {\HCode{<span class="cite">}}
+  {\HCode{</span>}}
+  {\Link[ \mo:args{cite}{\@citeb}{\expandafter
+              \jsHash\expandafter{\expandafter X\@citeb}}%
+]}
+  {\EndLink }
+\expandafter\def\csname c:mouseover-cite:\endcsname{%
+  \def\:tempb{cite}\csname c:mouseover-?:\endcsname}
+\Configure{mouseover-cite}{tex4ht.body,FULLHTML}
+
+      \Configure{bibitem}
+   {\bibitem:link}
+   {\EndLink\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+}
+\def\bibitem:link#1#2{\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\HCode
+   {<!--}\ht:special {t4ht at DCopyTo: \jobname-js.tex Addr1 bib }%
+\HCode{#2=}\ht:special {t4ht at DCopyTo: \jobname-js.tex Addr2 bib }%
+\HCode
+   {-->}\Link{#1}{#2}}
+
+   \else
+      \Configure{cite}
+   {\HCode{<span class="cite">}}  {\HCode{</span>}}
+   {\Link}         {\EndLink}
+
+      \Configure{bibitem}{\Link}{\EndLink}
+
+   \fi
+\fi
+
+
+\:CheckOption{frames}  \if:Option
+   \:CheckOption{frames-fn}  \if:Option
+      \Configure{frames}
+         {\HorFrames[rows="*"]{*,3*}
+            \VerFrames[cols="*"]{3*,*}
+               \Frame[ name="tex4ht-menu"
+                       frameborder="0" ]{tex4ht-toc}
+               \Frame[ name="tex4ht-fn"
+                       frameborder="0" ]{}
+            \EndFrames
+            \Frame[ name="tex4ht-main"
+                    frameborder="0" ]{tex4ht-body}}
+         {\let\contentsname=\empty \tableofcontents}
+   \else
+      \Configure{frames}
+         {\HorFrames[rows="*"]{*,3*}
+            \Frame[ name="tex4ht-menu"
+                    frameborder="0" ]{tex4ht-toc}
+            \Frame[ name="tex4ht-main"
+                    frameborder="0" ]{tex4ht-body}}
+         {\let\contentsname=\empty  \tableofcontents}
+   \fi
+\fi
+\append:def\center{\par}
+\ConfigureEnv{center}
+  {\ifvmode \IgnorePar\fi \EndP}{\ShowPar
+}
+  {\EndP\IgnorePar
+   \HCode{<div class="\getClass{center}"\Hnewline>}\ShowPar\endgraf
+   \afterGetClass{center}}
+  {\IgnorePar\EndP\HCode{</div>}}
+\ConfigureEnv{flushleft}
+  {\ifvmode \IgnorePar\fi \EndP}{\ShowPar
+}
+  {\EndP\IgnorePar
+   \HCode{<div class="flushleft"\Hnewline>}\ShowPar\endgraf}
+  {\IgnorePar\EndP\HCode{</div>}}
+\ConfigureEnv{flushright}
+  {\ifvmode \IgnorePar\fi \EndP}{\ShowPar
+}
+  {\EndP\IgnorePar
+   \HCode{<div class="flushright"\Hnewline>}\ShowPar\endgraf}
+  {\IgnorePar\EndP\HCode{</div>}}
+\Css{div.center,
+     div.center div.center {text-align: center;
+   margin-left:1em; margin-right:1em;}}
+\NewConfigure{centerClass}{2}
+\Configure{centerClass}{center}{}
+\Css{div.center div {text-align: left;}}
+\Css{div.flushright,
+     div.flushright div.flushright {text-align: right;}}
+\Css{div.flushright div {text-align: left;}}
+\Css{div.flushleft {text-align: left;}}
+\Configure{underline}
+   {\HCode{<span class="underline">}\:gobble}
+   {\HCode{</span>}}
+\Css{.underline{ text-decoration:underline; }}
+\Css{.underline img{ border-bottom: 1px solid black;
+                     margin-bottom:1pt; }}
+
+\expandafter\let\csname tex4ht:4ht\endcsname\empty
+\def\no:dupl#1#2{%
+   \expandafter\ifx \csname #1:4ht\endcsname\relax
+      \expandafter\let \csname #1:4ht\endcsname\empty
+      \expand:after{#2}%
+   \fi
+}
+
+\ifx\InputIfFileExists\UnDef%
+\def\input:if:fileexists#1#2#3{%
+   \openin15 #1.4ht%
+   \ifeof15%
+   #3%
+   \else%
+   \input #1%
+   \fi\closein15%
+}%
+\else
+\let\input:if:fileexists\InputIfFileExists%
+\fi%
+\Hinclude{\input #1.4ht}{fontmath}
+\Hinclude{\@ifpackageloaded{colortbl}{%
+      \no:dupl{array}{\input  array.4ht}%
+      \no:dupl{color}{\input  color.4ht}%
+      \no:dupl{colortbl}{\input  colortbl.4ht}%
+    }{}}{colortbl}
+
+\def\h:input#1.#2.#3!*?: {%
+   \:CheckOption{no_#1}\if:Option
+      \let\:temp\empty
+   \else
+      \let\:temp\empty
+      \no:dupl{#1}{%
+        \def\:warn:msg{}
+        \:CheckOption{debug}\if:Option
+          \def\:warn:msg{%
+            \:warning{No configuration file for #1.\if .#2.tex\else #2\fi}%
+          }
+        \fi%
+        \def\:temp{\input:if:fileexists{#1.4ht}{}{\:warn:msg}}%
+       }%
+   \fi  \:temp}
+\edef\:temp{\noexpand\Hinclude
+   {\noexpand\h:input ##1..!*?: }{\@filelist}}
+\:temp
+
+\expandafter\let\csname tex4ht:4ht\endcsname\empty
+\def\no:dupl#1#2{%
+   \expandafter\ifx \csname #1:4ht\endcsname\relax
+      \expandafter\let \csname #1:4ht\endcsname\empty
+      \expand:after{#2}%
+   \fi
+}
+
+\Hinclude{\ifx \PsfigVersion\:UnDef \else
+      \no:dupl{#1}{\expand:after{\input psfig.4ht}}\fi}
+   {psfig}
+\Hinclude{\:CheckOption{#1}
+   \if:Option     \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {pictex}
+\Hinclude{%
+   \expandafter\ifx \csname PSTricksLoaded\endcsname\relax\else
+                  \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {pstricks}
+\Hinclude{%
+   \ifx \:DraCatCodes\:UnDef \else
+                  \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {dratex}
+\Hinclude{%
+   \ifx \xyloaded\:UnDef \else
+                  \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {xy}
+
+\Hinclude{%
+   \ifx \epsfsetgraph\:UnDef \else
+                  \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {epsf}
+
+\Hinclude{%
+   \ifx \diagram at help@messages\:UnDef \else
+                  \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {diagrams}
+
+\Hinclude{%
+   \ifx \figvisu\:UnDef \else
+                  \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {fig4tex}
+
+\Hinclude{}
+   {pctable}
+\Hinclude{%
+   \:CheckOption{xhtml}\if:Option \fi}
+   {xhtml}
+\Hinclude{\:CheckOption{#1}
+      \if:Option\else   \:CheckOption{ShowFont}\fi
+      \if:Option\else   \:CheckOption{frames-}\fi
+      \if:Option\else   \:CheckOption{frames}\fi
+      \if:Option\else   \:CheckOption{image-maps}\fi
+      \if:Option\else   \:CheckOption{java}\fi
+      \if:Option\else   \:CheckOption{javascript}\fi
+      \if:Option \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {th4}
+\Hinclude{\ifx \sethebrew\:UnDef\else \ifx \ArabTeX\:UnDef\else
+      \no:dupl{#1}{\expand:after{\input hebtex.4ht}}\fi \fi}
+   {hebtex}
+
+\ifx \ttfamily\:UnDef \else \Configure{tt}{\ttfamily} \fi
+\Configure{hline}{\ifx \ar:cnt\:UnDef\else
+      \o:noalign:{\append:def\hline:s{\a:HBorder}%
+\def\:tempb{\ifnum \tmp:cnt<\ar:cnt
+    \advance\tmp:cnt by 1 \append:def\hline:s{\b:HBorder}%
+    \expandafter\:tempb
+  \fi }%
+\tmp:cnt0 \:tempb
+\append:def\hline:s{\c:HBorder}\global\let\hline:s\hline:s
+}%
+      \expandafter\ignoreEndTr
+   \fi}
+\Configure{//[]}{\ifx \ar:cnt\:UnDef
+   \else\o:noalign:{\append:def\vspc:s{\h:HBorder}%
+\def\:tempb{\ifnum \tmp:cnt<\ar:cnt
+    \advance\tmp:cnt by 1 \append:def\vspc:s{\i:HBorder}%
+    \expandafter\:tempb
+  \fi }
+\tmp:cnt0 \:tempb
+\append:def\vspc:s{\j:HBorder}\global\let\vspc:s\vspc:s
+}\fi}
+\:CheckOption{pic-framebox} \if:Option
+  \Configure{framebox}
+    {\Picture+[]{ \a:@Picture{framebox}}} {\EndPicture}
+\else
+  \Log:Note{for bitmap framebox'es, use
+          the command line option `pic-framebox'}
+  \Configure{framebox}
+     {\HCode{<span class="framebox-\frameboxAlign"\Hnewline
+                   style="width:\frameboxWidth;">}}
+     {\HCode{</span>}}
+  \Css{.framebox-c, .framebox-l, .framebox-r {
+  padding-left:\the\fboxsep;
+  padding-right:\the\fboxsep;
+  text-indent:0pt;
+  border:solid black \the\fboxrule;
+}}
+\Css{.framebox-c {text-align:center;}}
+\Css{.framebox-l {text-align:left;}}
+\Css{.framebox-r {text-align:right;}}
+
+\fi
+\Configure{oalign}{\Picture+{ \a:@Picture{oalign}}}{\EndPicture}
+\Configure{TocLink}
+  {\expandafter\ifx \csname #3-def\endcsname\relax
+      \global\expandafter\let \csname #3-def\endcsname\def
+      \Link{#2}{#3}%
+   \else
+      \Link{#2}{}%
+   \fi
+   {\Configure{ref}{}{}{}%
+\let\EndLink=\empty
+\let\H:Tag:attr\:gobbleII
+\let\:::HRef\empty
+\def\::hRef[##1]##2{}%
+\def\::hRefTag[##1]##2##3{}%
+\def\:::HRefTag##1##2{}%
+\Configure{cite}{}{}{}{}%
+%
+#4}\ifvmode\IgnorePar\fi\EndLink}
+\Configure{picture}
+    {\Picture+[PICT]{}}
+    {\EndPicture}
+\Configure{add accent}{T1:2}
+  {}{\ht:special{t4ht at +\string&\#x005E;}x}
+  {}{}
+\:CheckOption{new-accents}     \if:Option
+   \:CheckOption{accent-}     \if:Option
+  \Configure{HAccent}\acute{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\bar{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\breve{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\check{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\ddot{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\dot{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\grave{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\hat{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\tilde{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\vec{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\widehat{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\widetilde{}{\Picture+{}}{\EndPicture}
+\fi
+\:CheckOption{mathaccent-}     \if:Option
+  \Configure{HAccent}\"{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\'{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\.{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\={}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\H{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\^{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\`{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\b{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\c{Cc{}}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\d{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\t{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\u{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\v{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\~{}{\Picture+{}}{\EndPicture}
+\fi
+\Configure{accent}{*}
+   {<!--tex4ht:accent\Hnewline font="}{" char="}{" type="}{"-->}
+   {<!--tex4ht:end accent-->}
+\Configure{mathaccent}{*}
+   {<!--tex4ht:mathaccent\Hnewline font="}{" char="}{" type="}{"-->}
+   {<!--tex4ht:end mathaccent-->}
+\Configure{accented}{*}
+   {<!--tex4ht:accented\Hnewline font="}{" char="}{" type="}{"-->}
+   {<!--tex4ht:end accented-->}
+\Configure{accenting}{*}
+   {<!--tex4ht:accenting\Hnewline-->}
+   {<!--tex4ht:end accenting-->}
+
+\else
+   \Configure{accent}\widetilde\widetilde{{}{}}
+   {\a:accents{widetilde}{#1}} {\b:accents{widetilde}{#1}{#2}}
+\Configure{accent}\widehat\widehat{{}{}}
+   {\a:accents{widehat}{#1}} {\b:accents{widehat}{#1}{#2}}
+
+\expand:after{\Configure{accent}}\csname OT1\string\`\endcsname
+   \grave{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
+Y{1EF2}a{00E0}e{00E8}i{00EC}n{01F9}o{00F2}u{00F9}%
+w{1E81}y{1EF3}\i{00EC}%
+{}{}}
+   {\a:accents{grave}{#1}}   {\b:accents{grave}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname OT1\string\'\endcsname
+   \acute{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname OT1\string\^\endcsname
+   \hat{A{00C2}E{00CA}I{00CE}O{00D4}U{00DB}a{00E2}e{00EA}%
+i{00EE}o{00F4}u{00FB}C{0108}c{0109}G{011C}g{011D}%
+H{0124}h{0125}J{0134}j{0135}S{015C}s{015D}W{0174}%
+w{0175}Y{0176}y{0177}Z{1E90}z{1E91}\i{00EE}\j{0135}%
+{}{}}
+   {\a:accents{circ}{#1}}   {\b:accents{circ}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname OT1\string\~\endcsname
+   \tilde{A{00C3}N{00D1}O{00D5}a{00E3}n{00F1}o{00F5}I{0128}%
+i{0129}U{0168}u{0169}V{1E7C}v{1E7D}E{1EBC}e{1EBD}%
+Y{1EF8}y{1EF9}\i{0129}%
+{}{}}
+   {\a:accents{tilde}{#1}}   {\b:accents{tilde}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname
+           OT1\string\"\expandafter\endcsname
+   \csname OT1\string\"\endcsname{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
+t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
+a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
+Y{0178}\i{00EF}%
+{}{34}}
+   {\a:accents{uml}{#1}}     {\b:accents{uml}{#1}{#2}}
+\Configure{accent}\ddot\ddot{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
+t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
+a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
+Y{0178}\i{00EF}%
+{}{34}}
+   {\a:accents{uml}{#1}}     {\b:accents{uml}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname OT1\string\r\endcsname
+   \mathring{A{00C5}a{00E5}U{016E}u{016F}%
+{}{}}
+   {\a:accents{ring}{#1}}   {\b:accents{ring}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname OT1\string\c\endcsname}%
+   \csname OT1\string\c\endcsname{K{0136}k{0137}L{013B}l{013C}N{0145}n{0146}%
+R{0156}r{0157}S{015E}s{015F}T{0162}t{0163}%
+E{0228}e{0229}D{1E10}d{1E11}H{1E28}h{1E29}%
+C{00C7}c{00E7}G{0122}g{0123}%
+{}{}}
+   {\a:accents{cedil}{#1}}     {\b:accents{cedil}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname OT1\string\t\endcsname}%
+   \csname OT1\string\t\endcsname{{}{}}
+   {\a:accents{udot}{#1}}     {\b:accents{udot}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname OT1\string\H\endcsname}%
+   \csname OT1\string\H\endcsname{o{0151}O{0150}U{0170}u{0171}%
+{}{}}
+   {\a:accents{Huml}{#1}} {\b:accents{Huml}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname OT1\string\b\endcsname}%
+   \csname OT1\string\b\endcsname{B{1E06}b{1E07}%
+D{1E0E}d{1E0F}K{1E34}k{1E35}L{1E3A}l{1E3B}N{1E48}n{1E49}%
+R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}%
+{}{}}
+   {\a:accents{b}{#1}}     {\b:accents{b}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname OT1\string\d\endcsname}%
+   \csname OT1\string\d\endcsname{A{1EA0}a{1Ea1}B{1E04}b{1E05}D{1E0C}d{1E0D}%
+E{1EB8}e{1EB9}H{1E24}h{1E25}I{1ECA}i{1ECB}%
+K{1E32}k{1E33}L{1E36}l{1E37}M{1E42}m{1E43}%
+N{1E46}n{1E47}O{1ECC}o{1ECD}R{1E5A}r{1E5B}%
+S{1E62}s{1E63}T{1E6C}t{1E6D}U{1EE4}u{1EE5}%
+V{1E7E}v{1E7F}W{1E88}w{1E89}Y{1EF4}y{1EF5}%
+{}{}}
+   {\a:accents{d}{#1}}     {\b:accents{d}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname OT1\string\.\endcsname
+   \dot{C{010A}c{010B}E{0116}e{0117}G{0120}g{0121}%
+I{0130}Z{017B}z{017C}A{0226}a{0227}O{022E}%
+o{022F}B{1E02}b{1E03}D{1E0A}d{1E0B}F{1E1E}%
+f{1E1F}H{1E22}h{1E23}M{1E40}m{1E41}N{1E44}%
+n{1E45}P{1E56}p{1E57}R{1E58}r{1E59}S{1E60}%
+s{1E61}T{1E6A}t{1E6B}W{1E86}w{1E87}X{1E8A}%
+x{1E8B}Y{1E8E}y{1E8F}%
+{}{}}
+   {\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname OT1\string\u\endcsname
+   \breve{g{011F}I{012C}i{012D}O{014E}o{014F}%
+U{016C}u{016D}A{0102}a{0103}E{0114}%
+e{0115}G{011E}\i{012D}%
+{}{}}
+   {\a:accents{breve}{#1}} {\b:accents{breve}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname OT1\string\vec\endcsname
+   \vec{{}{}}
+   {\a:accents{vec}{#1}} {\b:accents{vec}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname OT1\string\v\endcsname
+   \check{C{010C}c{010D}D{010E}d{010F}%
+E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
+S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
+i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
+j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
+{}{}}
+   {\a:accents{check}{#1}} {\b:accents{check}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname OT1\string\=\endcsname
+   \bar{{}{}}
+   {\a:accents{bar}{#1}} {\b:accents{bar}{#1}{#2}}
+\expandafter\def
+   \csname OT1\string\l\endcsname{\ht:special{t4ht at +\string&{35}x0142{59}}x}
+\expandafter\def
+   \csname OT1\string\L\endcsname{\ht:special{t4ht at +\string&{35}x0141{59}}x}
+
+
+\def\:temp{charset=iso-8859-2}
+\ifx \a:charset\:UnDef
+      \ifx  \A:charset\:temp \let\:temp=\def \fi
+\else \ifx  \a:charset\:temp \let\:temp=\def \fi
+\fi
+\ifx \:temp\def
+   \:CheckOption{new-accents}     \if:Option \else
+      \expand:after{\Configure{accent}}\csname T1\string\`\expandafter\endcsname
+   \csname T1\string\`\endcsname{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
+Y{1EF2}a{00E0}e{00E8}i{00EC}n{01F9}o{00F2}u{00F9}%
+w{1E81}y{1EF3}\i{00EC}%
+{}{}}
+   {\a:accents{grave}{#1}}   {\b:accents{grave}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\'\expandafter\endcsname
+   \csname T1\string\'\endcsname{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\^\expandafter\endcsname
+   \csname T1\string\^\endcsname{A{00C2}E{00CA}I{00CE}O{00D4}U{00DB}a{00E2}e{00EA}%
+i{00EE}o{00F4}u{00FB}C{0108}c{0109}G{011C}g{011D}%
+H{0124}h{0125}J{0134}j{0135}S{015C}s{015D}W{0174}%
+w{0175}Y{0176}y{0177}Z{1E90}z{1E91}\i{00EE}\j{0135}%
+{}{}}
+   {\a:accents{circ}{#1}}   {\b:accents{circ}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\~\expandafter\endcsname
+   \csname T1\string\~\endcsname{A{00C3}N{00D1}O{00D5}a{00E3}n{00F1}o{00F5}I{0128}%
+i{0129}U{0168}u{0169}V{1E7C}v{1E7D}E{1EBC}e{1EBD}%
+Y{1EF8}y{1EF9}\i{0129}%
+{}{}}
+   {\a:accents{tilde}{#1}}   {\b:accents{tilde}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\"\expandafter\endcsname
+   \csname T1\string\"\endcsname{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
+t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
+a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
+Y{0178}\i{00EF}%
+{}{34}}
+   {\a:accents{uml}{#1}}     {\b:accents{uml}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\r\endcsname
+   \mathring{A{00C5}a{00E5}U{016E}u{016F}%
+{}{}}
+   {\a:accents{ring}{#1}}   {\b:accents{ring}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\c\endcsname}%
+   \csname T1\string\c\endcsname{K{0136}k{0137}L{013B}l{013C}N{0145}n{0146}%
+R{0156}r{0157}S{015E}s{015F}T{0162}t{0163}%
+E{0228}e{0229}D{1E10}d{1E11}H{1E28}h{1E29}%
+C{00C7}c{00E7}G{0122}g{0123}%
+{}{}}
+   {\a:accents{cedil}{#1}}     {\b:accents{cedil}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\t\endcsname}%
+   \csname T1\string\t\endcsname{{}{}}
+   {\a:accents{udot}{#1}}     {\b:accents{udot}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\H\endcsname}%
+   \csname T1\string\H\endcsname{o{0151}O{0150}U{0170}u{0171}%
+{}{}}
+   {\a:accents{Huml}{#1}}{\b:accents{Huml}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\b\endcsname}%
+   \csname T1\string\b\endcsname{B{1E06}b{1E07}%
+D{1E0E}d{1E0F}K{1E34}k{1E35}L{1E3A}l{1E3B}N{1E48}n{1E49}%
+R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}%
+{}{}}
+   {\a:accents{b}{#1}}     {\b:accents{b}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\d\endcsname}%
+   \csname T1\string\d\endcsname{A{1EA0}a{1Ea1}B{1E04}b{1E05}D{1E0C}d{1E0D}%
+E{1EB8}e{1EB9}H{1E24}h{1E25}I{1ECA}i{1ECB}%
+K{1E32}k{1E33}L{1E36}l{1E37}M{1E42}m{1E43}%
+N{1E46}n{1E47}O{1ECC}o{1ECD}R{1E5A}r{1E5B}%
+S{1E62}s{1E63}T{1E6C}t{1E6D}U{1EE4}u{1EE5}%
+V{1E7E}v{1E7F}W{1E88}w{1E89}Y{1EF4}y{1EF5}%
+{}{}}
+   {\a:accents{d}{#1}}     {\b:accents{d}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\.\expandafter\endcsname
+   \csname T1\string\.\endcsname
+   {{}{}}
+   {\a:accents{dot}{#1}}{\b:accents{dot}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\u\expandafter\endcsname
+   \csname T1\string\u\endcsname
+   {g{011F}I{012C}i{012D}O{014E}o{014F}%
+U{016C}u{016D}A{0102}a{0103}E{0114}%
+e{0115}G{011E}\i{012D}%
+{}{}}
+   {\a:accents{breve}{#1}}{\b:accents{breve}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\vec\expandafter\endcsname
+   \csname T1\string\vec\endcsname
+   {{}{}}
+   {\a:accents{vec}{#1}}{\b:accents{vec}{#1}{#2}}
+\expandafter\let\csname T1\string\v\endcsname\:UnDef
+\expand:after{\Configure{accent}}\csname T1\string\v\expandafter\endcsname
+   \csname T1\string\v\endcsname
+   {C{010C}c{010D}D{010E}d{010F}%
+E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
+S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
+i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
+j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
+{}{}}
+   {\a:accents{check}{#1}}{\b:accents{check}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\=\expandafter\endcsname
+   \csname T1\string\=\endcsname
+   {{}{}}
+   {\a:accents{bar}{#1}}{\b:accents{bar}{#1}{#2}}
+
+\Configure{accent}\`\grave{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
+Y{1EF2}a{00E0}e{00E8}i{00EC}n{01F9}o{00F2}u{00F9}%
+w{1E81}y{1EF3}\i{00EC}%
+{}{}}
+   {\a:accents{grave}{#1}}   {\b:accents{grave}{#1}{#2}}
+\Configure{accent}\'\acute{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+\Configure{accent}\^\hat{A{00C2}E{00CA}I{00CE}O{00D4}U{00DB}a{00E2}e{00EA}%
+i{00EE}o{00F4}u{00FB}C{0108}c{0109}G{011C}g{011D}%
+H{0124}h{0125}J{0134}j{0135}S{015C}s{015D}W{0174}%
+w{0175}Y{0176}y{0177}Z{1E90}z{1E91}\i{00EE}\j{0135}%
+{}{}}
+   {\a:accents{hat}{#1}}   {\b:accents{hat}{#1}{#2}}
+\Configure{accent}\~\tilde{A{00C3}N{00D1}O{00D5}a{00E3}n{00F1}o{00F5}I{0128}%
+i{0129}U{0168}u{0169}V{1E7C}v{1E7D}E{1EBC}e{1EBD}%
+Y{1EF8}y{1EF9}\i{0129}%
+{}{}}
+   {\a:accents{tilde}{#1}}   {\b:accents{tilde}{#1}{#2}}
+\Configure{accent}\"\ddot{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
+t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
+a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
+Y{0178}\i{00EF}%
+{}{34}}
+   {\a:accents{uml}{#1}}   {\b:accents{uml}{#1}{#2}}
+\Configure{accent}\c\c{K{0136}k{0137}L{013B}l{013C}N{0145}n{0146}%
+R{0156}r{0157}S{015E}s{015F}T{0162}t{0163}%
+E{0228}e{0229}D{1E10}d{1E11}H{1E28}h{1E29}%
+C{00C7}c{00E7}G{0122}g{0123}%
+{}{}}
+   {\a:accents{cedil}{#1}}     {\b:accents{cedil}{#1}{#2}}
+\Configure{accent}\t\t{{}{}}
+   {\a:accents{udot}{#1}}     {\b:accents{udot}{#1}{#2}}
+\Configure{accent}\H\H{o{0151}O{0150}U{0170}u{0171}%
+{}{}}
+   {\a:accents{Huml}{#1}}     {\b:accents{Huml}{#1}{#2}}
+\Configure{accent}\b\b{{}{}}
+   {\a:accents{b}{#1}}     {\b:accents{b}{#1}{#2}}
+\Configure{accent}\d\d{{}{}}
+   {\a:accents{d}{#1}}     {\b:accents{d}{#1}{#2}}
+\Configure{accent}\.\.{C{010A}c{010B}E{0116}e{0117}G{0120}g{0121}%
+I{0130}Z{017B}z{017C}A{0226}a{0227}O{022E}%
+o{022F}B{1E02}b{1E03}D{1E0A}d{1E0B}F{1E1E}%
+f{1E1F}H{1E22}h{1E23}M{1E40}m{1E41}N{1E44}%
+n{1E45}P{1E56}p{1E57}R{1E58}r{1E59}S{1E60}%
+s{1E61}T{1E6A}t{1E6B}W{1E86}w{1E87}X{1E8A}%
+x{1E8B}Y{1E8E}y{1E8F}%
+{}{}}
+   {\a:accents{dot}{#1}}      {\b:accents{dot}{#1}{#2}}
+\Configure{accent}\dot\dot{C{010A}c{010B}E{0116}e{0117}G{0120}g{0121}%
+I{0130}Z{017B}z{017C}A{0226}a{0227}O{022E}%
+o{022F}B{1E02}b{1E03}D{1E0A}d{1E0B}F{1E1E}%
+f{1E1F}H{1E22}h{1E23}M{1E40}m{1E41}N{1E44}%
+n{1E45}P{1E56}p{1E57}R{1E58}r{1E59}S{1E60}%
+s{1E61}T{1E6A}t{1E6B}W{1E86}w{1E87}X{1E8A}%
+x{1E8B}Y{1E8E}y{1E8F}%
+{}{}}
+   {\a:accents{dot}{#1}}      {\b:accents{dot}{#1}{#2}}
+\Configure{accent}\u\breve{g{011F}I{012C}i{012D}O{014E}o{014F}%
+U{016C}u{016D}A{0102}a{0103}E{0114}%
+e{0115}G{011E}\i{012D}%
+{}{}}
+   {\a:accents{breve}{#1}}      {\b:accents{breve}{#1}{#2}}
+\Configure{accent}\vec\vec{{}{}}
+   {\a:accents{vec}{#1}}      {\b:accents{vec}{#1}{#2}}
+\Configure{accent}\v\v{C{010C}c{010D}D{010E}d{010F}%
+E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
+S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
+i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
+j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
+{}{}}
+   {\a:accents{check}{#1}}      {\b:accents{check}{#1}{#2}}
+\Configure{accent}\check\check{C{010C}c{010D}D{010E}d{010F}%
+E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
+S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
+i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
+j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
+{}{}}
+   {\a:accents{check}{#1}}      {\b:accents{check}{#1}{#2}}
+\Configure{accent}\=\bar{{}{}}
+   {\a:accents{bar}{#1}}      {\b:accents{bar}{#1}{#2}}
+
+\fi \fi
+
+
+\fi
+\let\^^_\v
+\Configure{@TITLE}{\let\"=\:same \let\~=\:same \let\^=\:same
+\let\v=\:same \let\'=\:same \let\r=\:same
+\PictureOff
+}
+
+\let\@acci\' \let\@accii\` \let\@acciii\=
+\ifTag{TITLE+}{\Configure{TITLE+}{\LikeRef{TITLE+}}}{}
+
+\Configure{InsertTitle}{\let\label\lb:l
+   \let\ref\o:ref \Configure{ref}{}{}{}}
+\Configure{AfterTitle}{\let\index\:index
+       \let\ref\:ref  \let\label\lb:l }
+\Configure{NoSection}
+  {\let\sv:index\index \let\sv:label\label
+   \let\sv:newline\newline \def\newline{ }%
+   \let\sv:setfontsize\@setfontsize  \let\@setfontsize\:gobbleIII
+   \let\index\@gobble  \let\label\@gobble
+   \let\sva:rEfLiNK\a:rEfLiNK
+\let\svb:rEfLiNK\b:rEfLiNK
+\let\svc:rEfLiNK\c:rEfLiNK
+\expandafter\let\expandafter\svC:rEfLiNK\c:rEfLiNK
+\Configure{ref}{}{}{}%  \let\sv:ref\ref  \let\ref\@gobble
+%
+  }
+  {\let\index\sv:index \let\label\sv:label
+   \let\a:rEfLiNK\sva:rEfLiNK
+\let\b:rEfLiNK\svb:rEfLiNK
+\let\c:rEfLiNK\svc:rEfLiNK
+\expandafter\let\c:rEfLiNK\svC:rEfLiNK  %  \let\ref\sv:ref
+%
+   \let\newline\sv:newline    \let\@setfontsize\sv:setfontsize
+  }
+
+\Configure{extracolsep}
+   {~\tmp:dim=#1\relax\ifdim \tmp:dim>1em ~\fi}
+
+\:CheckOption{bibtex2} \if:Option
+   \Configure{bibliography2}
+      {~~[} {more} {]}
+      \Configure{bibitem2}
+      {\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+       \HCode{<span class="biblabel">}%
+       \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+%
+      }
+      {\EndP}
+      {\HCode{<span class="bibsp">}~~~\HCode{</span></span>}}
+%
+\fi
+
+\Configure{textcircled}
+   {\@use at text@encoding \@curr at enc c}
+   {\leavevmode \special{t4ht at +\string&\#x00A9;}c}
+   {\@use at text@encoding \@curr at enc \scshape r}
+   {\leavevmode \special{t4ht at +\string&\#x00AE;}r}
+   {}
+
+\NewConfigure{footnote-mark}{2}
+\NewConfigure{thank-mark}{2}
+\Configure{footnote-mark}
+   {\HCode{<span class="footnote-mark">}}
+   {\HCode{</span>}}
+\Configure{thank-mark}
+   {\HCode{<span class="thank-mark">}}
+   {\HCode{</span>}}
+\Css{span.thank-mark{ vertical-align: super }}
+\NewConfigure{footnote-text}{2}
+% \Css{span.footnote-mark{ vertical-align: super }}
+\Css{span.footnote-mark   sup.textsuperscript,
+     span.footnote-mark a sup.textsuperscript{ font-size:80\%; }}
+
+\:CheckOption{fn-in}\if:Option
+   \:CheckOption{mouseover} \if:Option
+   \Configure{footnotemark}
+   {\csname a:footnote-mark\endcsname
+\js:on
+%
+\ifTag{fn\FNnum x\minipageNum
+-bk}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+-bk)\endcsname\def
+      \Link[ \mo:args{footnote}{\FNnum}{fn\FNnum x\minipageNum
+}%
+\Hnewline
+                    ]{fn\FNnum x\minipageNum
+}{}%
+    \else
+      \Link[ \mo:args{footnote}{\FNnum}{fn\FNnum x\minipageNum
+}%
+\Hnewline
+                    ]{fn\FNnum x\minipageNum
+}{fn\FNnum x\minipageNum
+-bk}%
+    \fi
+   }
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+-bk)\endcsname\def
+    \else \Link[ \mo:args{footnote}{\FNnum}{fn\FNnum x\minipageNum
+}%
+\Hnewline
+                    ]{}{fn\FNnum x\minipageNum
+-bk}\fi
+   }%
+%
+    \NoFonts
+    \Tag{fn\FNnum x\minipageNum
+}{}}
+   {\EndNoFonts
+    \ifTag{fn\FNnum x\minipageNum
+-bk}
+   {\EndLink}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+-bk)\endcsname\def
+    \else \EndLink\fi
+   }%
+\csname b:footnote-mark\endcsname
+%
+    \expandafter\global\expandafter
+       \let\csname (fn\FNnum x\minipageNum
+-bk)\endcsname\def}
+
+   \Configure{footnotetext}
+   {\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
+   \ifvoid\fn:box\else  \csname unvbox\endcsname\fn:box\fi
+%
+    \js:on
+%
+\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex From fn }%
+%
+\HCode{<footnote>fn\FNnum x\minipageNum
+=<div class="js">}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip fn }%
+%
+\HCode{-->}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont fn }%
+%
+%
+    \csname a:footnote-mark\endcsname
+\ifTag{fn\FNnum x\minipageNum
+}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+      \Link{fn\FNnum x\minipageNum
+-bk}{}%
+    \else
+      \Link{fn\FNnum x\minipageNum
+-bk}{fn\FNnum x\minipageNum
+}%
+    \fi
+   }
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+    \else \Link{}{fn\FNnum x\minipageNum
+}\fi
+   }%
+%
+    \NoFonts   \Tag{fn\FNnum x\minipageNum
+-bk}{}%
+   }
+   {\EndNoFonts \ifTag{fn\FNnum x\minipageNum
+}
+   {\EndLink}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+    \else \EndLink\fi
+   }%
+\csname b:footnote-mark\endcsname
+}
+   {\expandafter\global\expandafter
+       \let\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+    \ht:special {t4ht at DCopyTo: \jobname-js.tex Skip fn }%
+%
+\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont fn }%
+%
+\HCode{</div></footnote>\Hnewline}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Until fn }%
+%
+\HCode{-->}%
+%
+    \EndP\egroup\RecallEndP
+}
+
+   \Configure{BODY}
+   {\ifvoid \fn:box \else
+   \expandafter \ifx \csname fn:box\body:level\endcsname\relax
+      \csname newbox\expandafter\endcsname
+                   \csname fn:box\body:level\endcsname
+   \fi
+   \global\expandafter\setbox\csname fn:box\body:level\endcsname=
+      \vbox{\csname unvbox\endcsname\fn:box}%
+\fi
+\gHAdvance\body:level by 1
+\:xhtml{\SaveEndP}\IgnorePar
+       \HCode{<body\Hnewline\csname a:!BODY\endcsname
+     >}\HCode{<div id="overDiv"
+         style="position:absolute;
+                      visibility:hidden; z-index:1000;"></div>
+}%
+\ShowPar\par}
+   {\ifvmode \IgnorePar\fi\EndP
+\ifvoid \fn:box\else
+   \HCode{<div class="footnotes">}\box\fn:box\HCode{</div>}
+   \IgnorePar\EndP
+\fi
+%
+    \relax \ifnum \FileNumber=1
+      \Configure {mouseover-script}{}{\HCode{ol\string_hauto = 1;}}%
+%
+    \fi
+    \HCode{\Hnewline
+     </body>}\:xhtml{\RecallEndP}\gHAdvance\body:level by -1
+\expandafter \ifx \csname fn:box\body:level\endcsname\relax \else
+   \global\setbox\fn:box=
+      \vbox{\expandafter\ifvoid \csname fn:box\body:level\endcsname \else
+          \csname unvbox\expandafter\endcsname
+               \csname fn:box\body:level\endcsname\fi}%
+\fi
+}%
+
+   \expandafter\def\csname c:mouseover-footnote:\endcsname{%
+  \def\:tempb{footnote}\csname c:mouseover-?:\endcsname}
+\Configure{mouseover-footnote} {tex4ht.body,FULLHTML}
+
+\else
+   \Configure{footnotemark}
+   {\csname a:footnote-mark\endcsname
+\ifTag{fn\FNnum x\minipageNum
+-bk}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+-bk)\endcsname\def
+      \Link{fn\FNnum x\minipageNum
+}{}%
+    \else
+      \Link{fn\FNnum x\minipageNum
+}{fn\FNnum x\minipageNum
+-bk}%
+    \fi
+   }
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+-bk)\endcsname\def
+    \else \Link{}{fn\FNnum x\minipageNum
+-bk}\fi
+   }%
+%
+    \NoFonts
+    \Tag{fn\FNnum x\minipageNum
+}{}}
+   {\EndNoFonts
+    \ifTag{fn\FNnum x\minipageNum
+-bk}
+   {\EndLink}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+-bk)\endcsname\def
+    \else \EndLink\fi
+   }%
+\csname b:footnote-mark\endcsname
+%
+    \expandafter\global\expandafter
+       \let\csname (fn\FNnum x\minipageNum
+-bk)\endcsname\def}
+
+   \Configure{footnotetext}
+   {\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
+   \ifvoid\fn:box\else  \csname unvbox\endcsname\fn:box\fi
+%
+    \csname a:footnote-mark\endcsname
+\ifTag{fn\FNnum x\minipageNum
+}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+      \Link{fn\FNnum x\minipageNum
+-bk}{}%
+    \else
+      \Link{fn\FNnum x\minipageNum
+-bk}{fn\FNnum x\minipageNum
+}%
+    \fi
+   }
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+    \else \Link{}{fn\FNnum x\minipageNum
+}\fi
+   }%
+%
+    \NoFonts
+    \Tag{fn\FNnum x\minipageNum
+-bk}{}%
+    \special{t4ht@(}%
+   }
+   {\special{t4ht@)}\EndNoFonts
+    \ifTag{fn\FNnum x\minipageNum
+}
+   {\EndLink}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+    \else \EndLink\fi
+   }%
+\csname b:footnote-mark\endcsname
+}
+   {\expandafter\global\expandafter
+       \let\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+    \EndP\egroup\RecallEndP
+}
+
+   \Configure{BODY}
+   {\ifvoid \fn:box \else
+   \expandafter \ifx \csname fn:box\body:level\endcsname\relax
+      \csname newbox\expandafter\endcsname
+                   \csname fn:box\body:level\endcsname
+   \fi
+   \global\expandafter\setbox\csname fn:box\body:level\endcsname=
+      \vbox{\csname unvbox\endcsname\fn:box}%
+\fi
+\gHAdvance\body:level by 1
+\:xhtml{\SaveEndP}\IgnorePar
+       \HCode{<body\Hnewline\csname a:!BODY\endcsname >}\ShowPar\par}
+   {\ifvmode \IgnorePar\fi\EndP
+\ifvoid \fn:box\else
+   \HCode{<div class="footnotes">}\box\fn:box\HCode{</div>}
+   \IgnorePar\EndP
+\fi
+\HCode{\Hnewline
+       </body>}\:xhtml{\RecallEndP}\gHAdvance\body:level by -1
+\expandafter \ifx \csname fn:box\body:level\endcsname\relax \else
+   \global\setbox\fn:box=
+      \vbox{\expandafter\ifvoid \csname fn:box\body:level\endcsname \else
+          \csname unvbox\expandafter\endcsname
+               \csname fn:box\body:level\endcsname\fi}%
+\fi
+}%
+
+\fi
+\Configure{crosslinks+}
+   {\IgnorePar\EndP\HCode{<!--l. \the\inputlineno-->%
+%
+                          <div class="crosslinks"><p class="noindent">}}
+   {\HCode{</p></div>}\par\ShowPar}
+   {\ifvmode \IgnorePar\fi\EndP
+\ifvoid \fn:box\else
+   \HCode{<div class="footnotes">}\box\fn:box\HCode{</div>}
+   \IgnorePar\EndP
+\fi
+%
+    \ifvmode \IgnorePar\fi \EndP
+    \HCode{<!--l. \the\inputlineno-->%
+%
+            <div class="crosslinks"><p class="noindent">}}
+   {\HCode{</p></div>}\par\ShowPar}
+\Css{div.footnotes{border-top:solid 1px black;
+   border-bottom:solid 1px black;
+   padding-bottom:1ex;
+   padding-top:0.5ex;
+   margin-right:15\%; margin-top:2ex;
+   font-style:italic; font-size:85\%;}}
+\Css{div.footnotes p{margin-top:0; margin-bottom:0; text-indent:0;}}
+\ifx \fn:box\:UnDef \csname newbox\endcsname\fn:box \fi
+\HAssign\body:level=0
+
+\else
+   \Log:Note{for inline footnotes use
+          command line option `fn-in'}
+   \:CheckOption{mouseover} \if:Option
+  \Configure{footnotemark}
+   {\csname a:footnote-mark\endcsname
+\ifTag{)Qfn\FNnum x\minipageNum
+}
+   {\js:on
+%
+       \leavevmode \Link[ \mo:args{footnote}{\FNnum}{fn\FNnum x\minipageNum
+}%
+%
+                                \Hnewline]{fn\FNnum x\minipageNum
+}{}}
+   {}%
+\NoFonts
+    \Tag{fn\FNnum x\minipageNum
+}{}}
+   {\EndNoFonts
+    \ifTag{)Qfn\FNnum x\minipageNum
+}
+   {\EndLink}
+   {}%
+\csname b:footnote-mark\endcsname
+}
+
+  \Configure{footnotetext}
+   {\ifTag{fn\FNnum x\minipageNum
+}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+       \:warning{Multiple footnote texts for mark \FNnum}%
+    \else  \csname a:footnote-text\endcsname\fi
+   }
+   {}%
+%
+    \csname a:footnote-mark\endcsname
+\Link{}{fn\FNnum x\minipageNum
+}%
+    \NoFonts
+   }
+   {\EndNoFonts \EndLink\csname b:footnote-mark\endcsname
+}
+   {\ifTag{fn\FNnum x\minipageNum
+}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+    \else  \csname b:footnote-text\endcsname\fi
+   }
+   {}%
+\expandafter\global\expandafter
+   \let\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+}
+\Configure{footnote-text}
+   {\HPage{}\HCode{<div>}\js:on
+%
+\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex From fn }%
+%
+\HCode{<footnote>fn\FNnum x\minipageNum
+=<div class="js">}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip fn }%
+%
+\HCode{-->}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont fn }%
+%
+}
+   {\ifvmode \IgnorePar\fi \EndP
+    \ht:special {t4ht at DCopyTo: \jobname-js.tex Skip fn }%
+%
+\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont fn }%
+%
+\HCode{</div></footnote>\Hnewline}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Until fn }%
+%
+\HCode{-->}%
+\HCode{</div>}\EndHPage{}}
+
+  \expandafter\def\csname c:mouseover-footnote:\endcsname{%
+  \def\:tempb{footnote}\csname c:mouseover-?:\endcsname}
+\Configure{mouseover-footnote} {tex4ht.body,FULLHTML}
+
+  \AtEndDocument{\Configure {mouseover-script}{}{\HCode{ol\string_hauto = 1;}}%
+}
+\else \:CheckOption{frames-fn}  \if:Option
+        \Configure{footnotemark}
+   {\csname a:footnote-mark\endcsname
+\ifTag{fn\FNnum x\minipageNum
+(L }
+   {\Link[\RefFile{fn\FNnum x\minipageNum
+}
+                             target="tex4ht-fn"]{}{}}
+   {}%
+\NoFonts
+    \Tag{fn\FNnum x\minipageNum
+}{}}
+   {\EndNoFonts
+    \ifTag{fn\FNnum x\minipageNum
+(L }
+   {\EndLink}
+   {}%
+\csname b:footnote-mark\endcsname
+}
+
+        \Configure{footnotetext}
+   {\ifTag{fn\FNnum x\minipageNum
+}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+       \:warning{Multiple footnote texts for mark \FNnum}%
+    \else
+      \Configure{!BODY}{id="tex4ht-fn" }%
+      \BeginHPage[fn\FNnum x\minipageNum
+]{ }%
+      \Configure{!BODY}{}%
+    \fi
+   }
+   {}%
+%
+    \csname a:footnote-mark\endcsname
+\Link{}{fn\FNnum x\minipageNum
+}\NoFonts
+   }
+   {\EndNoFonts\EndLink\csname b:footnote-mark\endcsname
+}
+   {\ifTag{fn\FNnum x\minipageNum
+}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+    \else
+      \close:fn\EndHPage{}
+    \fi
+   }
+   {}%
+\expandafter\global\expandafter
+   \let\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+}
+\def\close:fn{\HPage{}\Link{}{hide-fn}\EndLink\EndHPage{}%
+   \gdef\close:fn{\rightline{\Link{hide-fn}{}@\EndLink}}\close:fn}
+
+      \else
+        \Configure{footnotemark}
+   {\csname a:footnote-mark\endcsname
+\ifTag{)Qfn\FNnum x\minipageNum
+}
+   {\Link{fn\FNnum x\minipageNum
+}{}}
+   {}%
+\NoFonts
+    \Tag{fn\FNnum x\minipageNum
+}{}}
+   {\EndNoFonts \ifTag{)Qfn\FNnum x\minipageNum
+}
+   {\EndLink}
+   {}%
+\csname b:footnote-mark\endcsname
+}
+
+        \Configure{footnotetext}
+   {\ifTag{fn\FNnum x\minipageNum
+}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+       \:warning{Multiple footnote texts for mark \FNnum}%
+    \else \csname a:footnote-text\endcsname\fi
+   }
+   {}%
+%
+    \csname a:footnote-mark\endcsname
+\Link{}{fn\FNnum x\minipageNum
+}%
+    \NoFonts
+   }
+   {\EndNoFonts \EndLink\csname b:footnote-mark\endcsname
+}
+   {\ifTag{fn\FNnum x\minipageNum
+}
+   {\expandafter\ifx\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+    \else  \csname b:footnote-text\endcsname\fi
+   }
+   {}%
+\expandafter\global\expandafter
+   \let\csname (fn\FNnum x\minipageNum
+)\endcsname\def
+}
+\Configure{footnote-text}
+   {\HPage{}\HCode{<div class="footnote-text">}\par}
+   {\ifvmode \IgnorePar\fi \EndP
+    \HCode{</div>}\EndHPage{}}
+
+\fi   \fi
+
+\fi
+\Configure{textsuperscript}
+  {\HCode{<sup class="textsuperscript">}\bgroup \small}
+  {\egroup \HCode{</sup>}}
+
+\Configure{textsubscript}
+  {\HCode{<sub class="textsubscript">}\bgroup\small}
+  {\egroup \HCode{</sub>}}
+
+% \:CheckOption{javahelp} \if:Option
+%    \input javahelp.4ht
+% \else
+%    \Log:Note{for a JavaHelp output format,
+%          use the command line option `javahelp'}
+% \fi
+\Configure{verbatim}
+   {\HAdvance\Verb:N by 1 \ifnum \Verb:N>1\fi}
+   {\a:sp}
+\Configure{verb}
+   {\HCode{<span class="verb"\a:LRdir>}}
+   {\HCode{</span>}}
+\Configure{centercr}{\ht:special{t4ht=<br />}}
+   {\ht:everypar{\ht:everypar{\HtmlPar}}}
+\:CheckOption{no-array}\if:Option \else
+   \:CheckOption{pic-tabular}  \if:Option \else
+   \ConfigureEnv{tabular}
+     {\Configure{noalign}%
+  {\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
+  {\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
+%
+      \IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
+\EndP\HCode{<div class="tabular">}%
+      \PushStack\Col:Marg\AllColMargins
+     }
+     {\HCode{</div>}\PopStack\Col:Marg\AllColMargins\ShowPar
+      \Configure{noalign}{}{}%
+%
+      \ShowPar
+%
+     }{}{}
+   \Css{div.tabular, div.center div.tabular {text-align: center;
+           margin-top:0.5em; margin-bottom:0.5em;  }}
+   \Css{table.tabular td  p{margin-top:0em;}}
+   \Css{table.tabular {margin-left: auto;
+                       margin-right: auto;}}    
+\fi
+\Css{td p:first-child{ margin-top:0em; }}
+\Css{td p:last-child{ margin-bottom:0em; }}
+\Configure{multicolumn}
+   {\let\col:Css\empty
+    \Configure{VBorder}
+       {}
+       {\edef\col:Css{\col:Css
+                     border-\ifnum \ar:cnt=0 left\else right\fi
+                     :solid black 0.4pt;}%
+       }{}{}%
+   }
+   {\ifx \col:Css\empty \else
+        \Css{td\#TBL-\TableNo-\HRow-\HCol{\col:Css}}%
+    \fi
+   }
+   {\ifvmode\IgnorePar\fi
+    \HCode{<div class="multicolumn" }\HColAlign\HCode{>}%
+    \ifx \col:Css\empty \else
+        \Css{td\#TBL-\TableNo-\HRow-\HCol{\col:Css}}%
+    \fi
+   }
+   {\ifvmode\IgnorePar\fi \EndP\HCode{</div>}}
+\def\pic:env{%
+   \def\begin##1{\bgroup
+      \def\end####1{\o:end:{####1}\EndPicture\egroup}%
+      \ifx \EndPicture\:UnDef
+           \Picture+{ class="##1" style="text-align:middle"}%
+      \else \let\EndPicture\empty\fi
+      \o:begin:{##1}}%
+}
+\def\ColMargins{%
+   \ifx \AllColMargins\empty
+      \:warning{Empty \string\AllColMargins}%
+   \else
+      \tmp:cnt\HCol\relax
+      \expandafter\nosp:hbr\AllColMargins 1//%
+   \fi }
+\def\nosp:hbr#11#2//{\ifnum \tmp:cnt>1 \advance\tmp:cnt by -1
+   \nosp:hbr#2//\else\nosp:gt#11#2//\fi}
+\def\nosp:gt#11#21#3//{%
+   \def\:temp{#1}\ifx \:temp\empty 1\else 0\fi
+   \def\:temp{#2}\ifx \:temp\empty 1\else 0\fi}
+\Css{div.td00{ margin-left:0pt; margin-right:0pt; }}
+\Css{div.td01{ margin-left:0pt; margin-right:5pt; }}
+\Css{div.td10{ margin-left:5pt; margin-right:0pt; }}
+\Css{div.td11{ margin-left:5pt; margin-right:5pt; }}
+\Configure{halignTB<>}{tabular}{\HCode{id="TBL-\TableNo"
+                                             class="tabular"\Hnewline
+   cellspacing="0" cellpadding="0" \GROUPS\Hnewline
+   }<>\HAlign}
+\Css{table[rules] {border-left:solid black 0.4pt;
+                   border-right:solid black 0.4pt; }}
+\:CheckOption{pic-tabular}  \if:Option \else
+   \Configure{tabular}
+      {\ifvmode \IgnorePar\fi \EndP \halignTB{tabular}\putVBorder }
+      {\HCode{</table>}}
+      {\HCode{<tr \Hnewline}\halignTR
+                            \HCode{ id="TBL-\TableNo-\HRow-">}}
+      {\r:HA}
+      {\HCode{<td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}%
+         \halignTD \HCode{ id="TBL-\TableNo-\HRow-\HCol"
+         \Hnewline class="td}\NoFonts
+           \bgroup
+              \ifx \ttfamily\:UnDef \else \ttfamily\fi
+              \ColMargins
+           \egroup
+\EndNoFonts
+%
+         \HCode{">}\SaveEndP
+%
+         \par  \ShowPar
+\PushStack\Table:Stck\TableNo}
+      {\IgnorePar \EndP
+\PopStack\Table:Stck\TableNo \d:HA}
+\fi
+\Configure{@{}}{}
+
+\Css{td.td00{ padding-left:0pt; padding-right:0pt; }}
+\Css{td.td01{ padding-left:0pt; padding-right:5pt; }}
+\Css{td.td10{ padding-left:5pt; padding-right:0pt; }}
+\Css{td.td11{ padding-left:5pt; padding-right:5pt; }}
+\Configure{halignTB<>}{array}{\HCode{id="TBL-\TableNo" class="array"\Hnewline
+   cellpadding="0" cellspacing="0" \GROUPS\Hnewline
+   }<>\HAlign}
+\Css{table[rules] {border-left:solid black 0.4pt;
+                   border-right:solid black 0.4pt; }}
+\:CheckOption{pic-array}  \if:Option \else
+   \Configure{array}
+      {\ifvmode \IgnorePar\fi \EndP\halignTB{array}\putVBorder}
+      {\HCode{</table>}}
+      {\R:HA}
+      {\r:HA}
+      {\D:HA\HCode{<div class="td}\NoFonts
+           \bgroup
+              \ifx \ttfamily\:UnDef \else \ttfamily\fi
+              \ColMargins
+           \egroup
+\EndNoFonts
+%
+            \HCode{">}\par  \ShowPar
+\pic:env}
+      {\IgnorePar \EndP
+\HCode{</div>}\d:HA}
+   \Configure{arrayparbox}{\ShowPar}
+\fi
+\let\VBorder\empty   \let\AllColMargins\empty
+\Configure{VBorder}
+   {\let\VBorder\empty \let\AllColMargins\empty
+    \global\let\GROUPS\empty \HAssign\NewGroup = 0
+    \gHAdvance\Next:TableNo by 1 \global\let\TableNo=\Next:TableNo }
+   {\xdef\VBorder{\VBorder\ifnum \NewGroup> 0 </colgroup>\fi}
+    \HAssign\NewGroup = 0 % \gdef\GROUPS{rules="groups"}}
+    \Css{\#TBL-\TableNo\space colgroup{border-left: 1px solid black;border-right:1px solid black;}}
+  \Css{\#TBL-\TableNo{border-collapse:collapse;}}}
+   {\Advance:\NewGroup by 1
+    \ifnum \NewGroup=1 \xdef\VBorder{\VBorder<colgroup
+        id="TBL-\TableNo-\ar:cnt g">}\fi
+    \xdef\VBorder{\VBorder<col\Hnewline id="TBL-\TableNo
+       -\ar:cnt"\xml:empty>}\xdef\AllColMargins{\AllColMargins1}}
+   {\xdef\AllColMargins{\AllColMargins 0}}
+\Configure{HBorder}
+   {<tr\Hnewline class="hline">} {<td><hr\xml:empty></td>}   {</tr>}
+   {<tr\Hnewline class="cline">}
+   {<td></td>} {<td><hr\xml:empty></td>} {</tr>}
+   {<tr\Hnewline class="vspace" style="font-size:\HBorderspace">}
+   {<td\Hnewline>\string </td>}
+   {</tr>}
+\Configure{putHBorder}{\HCode{\HBorder}}
+\HAssign\Next:TableNo0 \global\let\TableNo=\Next:TableNo
+\Css{.hline hr, .cline hr{  height : 0px; margin:0px; }}
+\Css{.hline td, .cline td{ padding: 0; }}
+\Css{.hline hr, .cline hr{border:none;border-top:1px solid black;}}
+\def\putVBorder{\expandafter\put:VBorder\VBorder</>!*?: }
+\def\put:VBorder#1</#2>#3!*?: {\def\:temp{#2}\ifx\:temp\empty
+     \HCode{\VBorder}%
+     \def\:temp{#1}\ifx\:temp\empty \else\HCode{</colgroup>}\fi
+  \else  \def\:temp{\put:VBorder#3!*?: }\expandafter\:temp\fi
+}
+
+\fi
+\:CheckOption{pic-tabbing}  \if:Option
+    \ConfigureEnv{tabbing}{\Picture*{}}{\EndPicture}{}{}
+\else
+    \Configure{tabbing}[1.5]{%
+    \ifvmode \IgnorePar\fi\EndP \leavevmode\ht:special{t4ht=<table
+     \Hnewline\:zbsp{tabbing}><tr \Hnewline style="vertical-align:baseline;"
+     class="tabbing">}}
+   {\ht:special{t4ht=</tr></table>}\ShowPar \csname par\endcsname
+    \Configure{HtmlPar}
+  {\EndP\HCode{<!--l. \the\inputlineno-->%
+<p \csname a:!P\endcsname
+         class="no\ifHCond par\else indent\fi" \a:LRdir>}}
+  {\EndP\HCode{<!--l. \the\inputlineno-->%
+<p \csname a:!P\endcsname
+        class="\ifdim \parindent=\z@ no\fi indent" \a:LRdir>}}
+  {\:xhtml{\Tg</p>}}
+  {\:xhtml{\Tg</p>}}%
+%
+   }
+   {\ht:special{t4ht=<td \ifx \TabWidth\empty \else
+                style="width:\TabWidth;"\fi \Hnewline
+                class="tabbing\ifx \`\TabType -right\fi">}}
+   {\ht:special{t4ht=</td>}}
+\ConfigureEnv{tabbing}{\IgnorePar\EndP}{}{}{}
+\Css{.tabbing-right {text-align:right;}}
+
+    \:CheckOption{pic-tabbing'} \if:Option
+        \:CheckOption{pic-tabbing'} \if:Option
+  \edef\:temp{\LikeRef{.}}%
+  \def\:tempa{.}\ifx \:temp\:tempa
+      \ConfigureEnv{tabbing}{\Picture*{}}{\EndPicture}{}{}
+  \fi
+\fi
+
+    \fi
+\fi
+\ifx\bf\:UnDef
+   \def\bf{\normalfont\bfseries}
+\fi
+\:CheckOption{fancylogo}\if:Option
+\def\TeX{\HCode{<span class="TEX">}T\HCode{<span\Hnewline
+     class="E">}E\HCode{</span>}X\HCode{</span>}}
+\Css{span.TEX {letter-spacing: -0.125em; }}
+\Css{span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;}}
+\Css{a span.TEX span.E {text-decoration: none; }}
+\else
+\def\TeX{TeX}
+\fi
+
+\:CheckOption{fancylogo}\if:Option
+\def\:temp{\HCode{<span class="LATEX">}L\HCode{<span
+   class="A">}A\HCode{</span>}\TeX\HCode{</span>}}
+\HLet\LaTeX\:temp
+\def\:temp{\mbox{%
+  \if b\expandafter\@car\f at series\@nil\boldmath\fi
+  \LaTeX2$_{\textstyle\varepsilon}$}}
+\expandafter\HLet\csname LaTeXe\endcsname\:temp
+\Css{span.LATEX span.A{ position:relative; top:-0.5ex;
+   left:-0.4em; font-size:85\%;}}
+\Css{span.LATEX span.TEX{ position:relative; left: -0.4em; }}
+\else
+\def\LaTeX{LaTeX}
+\def\LaTeXe{LaTeX2e}
+\fi
+\Configure{@TITLE}{\def\LaTeX{LaTeX}\let\fontencoding\:gobble
+  \let\fontfamily\:gobble \let\fontseries\:gobble
+  \let\fontshape\:gobble  \let\usefont\:gobbleIV  }
+\Configure{newline}{\HCode{<br\Hnewline class="newline" />}}
+\Configure{float}
+   {\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
+   {\:xhtml{\IgnorePar\EndP}\HCode{<hr class="float"\xml:empty><div
+     class="float"\Hnewline>}}
+   {\ifvmode \IgnorePar \fi\EndP
+    \HCode{</div><hr
+        class="endfloat" />}\csname par\endcsname\ShowPar}
+\ConfigureEnv{figure}
+   {\:xhtml{\IgnorePar\EndP}\HCode{<hr class="figure"\xml:empty><div
+     class="figure"\Hnewline>}%
+    \bgroup \Configure{float}{\ShowPar}{}{}%
+   }
+   {\egroup
+    \:xhtml{\IgnorePar\EndP}\HCode{</div><hr
+       class="endfigure"\xml:empty>}\ShowPar
+\par}
+   {}{}
+\Css{div.float, div.figure {margin-left: auto; margin-right: auto;}}
+\Css{div.float img {text-align:center;}}
+\Css{div.figure img {text-align:center;}}
+\Configure{textellipsis}          {\ht:special{t4ht at +\string&{35}x2026{59}}x}
+\ifOption{charset=iso-8859-7}
+   {\expand:after{\Configure{accent}}\csname T1\string\'\expandafter\endcsname
+   \csname T1\string\'\endcsname
+   {A{\ht:special{t4ht at +\string&{35}x00C1{59}}A}%
+E{\ht:special{t4ht at +\string&{35}x00C9{59}}E}%
+I{\ht:special{t4ht at +\string&{35}x00CD{59}}I}%
+O{\ht:special{t4ht at +\string&{35}x00D3{59}}O}%
+U{\ht:special{t4ht at +\string&{35}x00DA{59}}U}%
+Y{\ht:special{t4ht at +\string&{35}x00DD{59}}Y}%
+a{\ht:special{t4ht at +\string&{35}x00E1{59}}a}%
+e{\ht:special{t4ht at +\string&{35}x00E9{59}}e}%
+i{\ht:special{t4ht at +\string&{35}x00ED{59}}i}%
+\i{\ht:special{t4ht at +\string&{35}x00ED{59}}i}%
+o{\ht:special{t4ht at +\string&{35}x00F3{59}}o}%
+u{\ht:special{t4ht at +\string&{35}x00FA{59}}u}%
+y{\ht:special{t4ht at +\string&{35}x00FD{59}}y}%
+{\@use at text@encoding \@curr at enc a}{\ht:special{t4ht at 220}a}%
+{\@use at text@encoding \@curr at enc e}{\ht:special{t4ht at 221}e}%
+{\@use at text@encoding \@curr at enc h}{\ht:special{t4ht at 222}h}%
+{\@use at text@encoding \@curr at enc i}{\ht:special{t4ht at 223}i}%
+{\@use at text@encoding \@curr at enc o}{\ht:special{t4ht at 252}o}%
+{\@use at text@encoding \@curr at enc u}{\ht:special{t4ht at 253}u}%
+{\@use at text@encoding \@curr at enc w}{\ht:special{t4ht at 254}w}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+}
+   {}
+\:CheckOption{new-accents}     \if:Option
+\else
+   \expand:after{\Configure{accent}}\csname T1\string\`\expandafter\endcsname
+   \csname T1\string\`\endcsname{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
+Y{1EF2}a{00E0}e{00E8}i{00EC}n{01F9}o{00F2}u{00F9}%
+w{1E81}y{1EF3}\i{00EC}%
+{}{}}
+   {\a:accents{grave}{#1}}   {\b:accents{grave}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\'\expandafter\endcsname
+   \csname T1\string\'\endcsname{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\^\expandafter\endcsname
+   \csname T1\string\^\endcsname{A{00C2}E{00CA}I{00CE}O{00D4}U{00DB}a{00E2}e{00EA}%
+i{00EE}o{00F4}u{00FB}C{0108}c{0109}G{011C}g{011D}%
+H{0124}h{0125}J{0134}j{0135}S{015C}s{015D}W{0174}%
+w{0175}Y{0176}y{0177}Z{1E90}z{1E91}\i{00EE}\j{0135}%
+{}{}}
+   {\a:accents{circ}{#1}}   {\b:accents{circ}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\~\expandafter\endcsname
+   \csname T1\string\~\endcsname{A{00C3}N{00D1}O{00D5}a{00E3}n{00F1}o{00F5}I{0128}%
+i{0129}U{0168}u{0169}V{1E7C}v{1E7D}E{1EBC}e{1EBD}%
+Y{1EF8}y{1EF9}\i{0129}%
+{}{}}
+   {\a:accents{tilde}{#1}}   {\b:accents{tilde}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\"\expandafter\endcsname
+   \csname T1\string\"\endcsname{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
+t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
+a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
+Y{0178}\i{00EF}%
+{}{34}}
+   {\a:accents{uml}{#1}}     {\b:accents{uml}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\r\endcsname
+   \mathring{A{00C5}a{00E5}U{016E}u{016F}%
+{}{}}
+   {\a:accents{ring}{#1}}   {\b:accents{ring}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\c\endcsname}%
+   \csname T1\string\c\endcsname{K{0136}k{0137}L{013B}l{013C}N{0145}n{0146}%
+R{0156}r{0157}S{015E}s{015F}T{0162}t{0163}%
+E{0228}e{0229}D{1E10}d{1E11}H{1E28}h{1E29}%
+C{00C7}c{00E7}G{0122}g{0123}%
+{}{}}
+   {\a:accents{cedil}{#1}}     {\b:accents{cedil}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\t\endcsname}%
+   \csname T1\string\t\endcsname{{}{}}
+   {\a:accents{udot}{#1}}     {\b:accents{udot}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\H\endcsname}%
+   \csname T1\string\H\endcsname{o{0151}O{0150}U{0170}u{0171}%
+{}{}}
+   {\a:accents{Huml}{#1}} {\b:accents{Huml}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\b\endcsname}%
+   \csname T1\string\b\endcsname{B{1E06}b{1E07}%
+D{1E0E}d{1E0F}K{1E34}k{1E35}L{1E3A}l{1E3B}N{1E48}n{1E49}%
+R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}%
+{}{}}
+   {\a:accents{b}{#1}}     {\b:accents{b}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\d\endcsname}%
+   \csname T1\string\d\endcsname{A{1EA0}a{1Ea1}B{1E04}b{1E05}D{1E0C}d{1E0D}%
+E{1EB8}e{1EB9}H{1E24}h{1E25}I{1ECA}i{1ECB}%
+K{1E32}k{1E33}L{1E36}l{1E37}M{1E42}m{1E43}%
+N{1E46}n{1E47}O{1ECC}o{1ECD}R{1E5A}r{1E5B}%
+S{1E62}s{1E63}T{1E6C}t{1E6D}U{1EE4}u{1EE5}%
+V{1E7E}v{1E7F}W{1E88}w{1E89}Y{1EF4}y{1EF5}%
+{}{}}
+   {\a:accents{d}{#1}}     {\b:accents{d}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\.\expandafter\endcsname
+   \csname T1\string\.\endcsname
+   {C{010A}c{010B}E{0116}e{0117}G{0120}g{0121}%
+I{0130}Z{017B}z{017C}A{0226}a{0227}O{022E}%
+o{022F}B{1E02}b{1E03}D{1E0A}d{1E0B}F{1E1E}%
+f{1E1F}H{1E22}h{1E23}M{1E40}m{1E41}N{1E44}%
+n{1E45}P{1E56}p{1E57}R{1E58}r{1E59}S{1E60}%
+s{1E61}T{1E6A}t{1E6B}W{1E86}w{1E87}X{1E8A}%
+x{1E8B}Y{1E8E}y{1E8F}%
+{}{}}
+   {\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\u\expandafter\endcsname
+   \csname T1\string\u\endcsname
+   {g{011F}I{012C}i{012D}O{014E}o{014F}%
+U{016C}u{016D}A{0102}a{0103}E{0114}%
+e{0115}G{011E}\i{012D}%
+{}{}}
+   {\a:accents{breve}{#1}} {\b:accents{breve}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\vec\expandafter\endcsname
+   \csname T1\string\vec\endcsname
+   {{}{}}
+   {\a:accents{vec}{#1}} {\b:accents{vec}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\v\expandafter\endcsname
+   \csname T1\string\v\endcsname
+   {C{010C}c{010D}D{010E}d{010F}%
+E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
+S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
+i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
+j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
+{}{}}
+   {\a:accents{check}{#1}} {\b:accents{check}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\=\expandafter\endcsname
+   \csname T1\string\=\endcsname
+   {{}{}}
+   {\a:accents{bar}{#1}} {\b:accents{bar}{#1}{#2}}
+
+\fi
+\let\^^_\v
+\Configure{marginpar}
+   {%
+     \def\marginpar:class{marginpar}%
+     \if at reversemargin\def\marginpar:class{reversemarginpar}\fi%
+     \ifvmode\IgnorePar\EndP\HCode{<div class="\marginpar:class">}%
+      \def\end:margp{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}%
+      \par
+    \else
+      \SaveEndP
+      \HCode{<span class="\marginpar:class">}%
+      \bgroup
+         \Configure{HtmlPar}{\HCode{<br />}}{\HCode{<br />}}{}{}%
+      \def\end:margp{\egroup\HCode{</span>}\RecallEndP}%
+    \fi
+   }
+   {\end:margp}
+\Css{.marginpar,.reversemarginpar {width:20\%; float:right; text-align:left;
+  margin-left:auto; margin-top:0.5em; font-size:85\%;
+  text-decoration:underline;}}
+\Css{.marginpar p,.reversemarginpar p{margin-top:0.4em; margin-bottom:0.4em;}}
+\Css{.reversemarginpar{float:left;}}
+\:CheckOption{fonts} \if:Option
+  \Configure{textbf}{\Protect\HCode{<span class="textbf">}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</span>}}
+  \Configure{textit}{\Protect\HCode{<span class="textit">}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</span>}}
+  \Configure{textrm}{\Protect\HCode{<span class="textrm">}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</span>}}
+  \Configure{textup}{\Protect\HCode{<span class="textup">}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</span>}}
+  \Configure{textsc}{\Protect\HCode{<span class="textsc">}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</span>}}
+  \Configure{textsf}{\Protect\HCode{<span class="textsf">}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</span>}}
+  \Configure{textsl}{\Protect\HCode{<span class="textsl">}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</span>}}
+  \Configure{texttt}{\Protect\HCode{<span class="texttt">}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</span>}}
+  \Configure{emph}{\Protect\HCode{<span class="emph">}\NoFonts}
+                    {\EndNoFonts\Protect\HCode{</span>}}
+  \Css{span.textbf { font-weight: bold; }}
+  \Css{span.textit { font-style: italic; }}
+  \Css{span.textrm { font-family: serif; }}
+  \Css{span.textsc { font-variant: small-caps; }}
+  \Css{span.textsf { font-family: sans-serif; }}
+  \Css{span.texttt { font-family: monospace,monospace; }}
+  \Css{span.emph   { font-style: italic;}}
+  \Css{span.emph span.emph {font-style: normal;}}
+\else
+  \Log:Note{for tracing of latex font commands,
+          use the command line option `fonts'}
+\fi
+\:CheckOption{p-width} \if:Option
+  {
+  \def\x:Em{%
+    \catcode`\p=12
+    \catcode`\t=12
+    \gdef\x:Em}
+  \x:Em#1pt{#1}
+}
+\tmp:dim=10em
+\edef\ten:Em#1.#2//{#1}
+\edef\ten:Em{\expandafter\ten:Em \the\tmp:dim//}
+
+  \Configure{HColWidth}
+     {\tmp:dim=\HColWidth \divide\tmp:dim by \ten:Em\relax
+      \tmp:dim=10\tmp:dim
+      \Css{\#TBL-\TableNo-\HRow-\HCol
+                   {width:\expandafter\x:Em \the\tmp:dim em;}}}
+\else
+   \Log:Note{for width specifications of tabular p entries, use
+       the `p-width' command line option or a configuration similar
+       to \string\Configure{HColWidth}{\string\HCode
+       { style="width:\string\HColWidth"}}}
+\fi
+\def\:tempc{\special{t4ht at +\string&{35}xAE{59}}x}
+\HLet\textregistered\:tempc
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{book}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \def\tocpart#1#2#3{\par
+   \HCode{<span class="partToc" \a:LRdir>}\if !#1!\else  #1~~\fi #2\HCode{</span>}\par}%
+\def\toclikepart#1#2#3{\par
+   \HCode{<span class="likepartToc" \a:LRdir>}#2\HCode{</span>}\par}%
+\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
+        {line-height: 200\%; font-weight:bold; font-size:110\%;}}
+%
+\expandafter\ifx \csname @chapter\endcsname\relax
+   \def\tocsection#1#2#3{\par
+       \HCode{<span class="sectionToc" \a:LRdir>}\def\:temp{#1}\ifx \:temp\empty\else
+            #1 \fi #2\HCode{</span>}\par}
+   \def\toclikesection#1#2#3{\par
+      \HCode{<span class="likesectionToc" \a:LRdir>}#2\HCode{</span>}\par}%
+   \def\tocsubsection#1#2#3{\par\ \toc:num{subsection}{#1}{#2}\par}
+   \def\toclikesubsection#1#2#3{\par\
+      \HCode{<span class="likesubsectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubsubsection#1#2#3{\par
+      \ \ \toc:num{subsubsection}{#1}{#2}\par}
+   \def\toclikesubsubsection#1#2#3{\par
+      \ \ \HCode{<span class="likesubsubsectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocparagraph#1#2#3{\par\ \ \toc:num{paragraph}{#1}{#2}\par}
+   \def\toclikeparagraph#1#2#3{\par\ \
+      \HCode{<span class="likeparagraphToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubparagraph#1#2#3{\par
+      \ \ \ \ \toc:num{subparagraph}{#1}{#2}\par}
+   \def\toclikesubparagraph#1#2#3{\par
+      \ \ \ \ \HCode{<span class="likesubparagraphToc" \a:LRdir>}#2\HCode{</span>}\par}
+\else
+   \Css{.chapterToc a, .chapterToc, .likechapterToc a, .likechapterToc,
+        .appendixToc a, .appendixToc
+        {line-height: 200\%; font-weight:bold;}}
+%
+   \def\tocchapter#1#2#3{\par
+      \HCode{<span class="chapterToc" \a:LRdir>}\ifnum \c at secnumdepth >\m at ne
+                                                 #1 \fi #2\HCode{</span>}\par}
+   \def\toclikechapter#1#2#3{\par
+      \HCode{<span class="likechapterToc" \a:LRdir>}#2\HCode{</span>}\par}%
+   \def\tocappendix#1#2#3{\par
+      \HCode{<span class="appendixToc" \a:LRdir>}#1 #2\HCode{</span>}\par}
+   \def\tocsection#1#2#3{\par\ \toc:num{section}{#1}{#2}\par}
+   \def\toclikesection#1#2#3{\par\ \HCode{<span class="likesectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubsection#1#2#3{\par\ \ \toc:num{subsection}{#1}{#2}\par}
+   \def\toclikesubsection#1#2#3{\par
+      \ \ \HCode{<span class="likesubsectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubsubsection#1#2#3{\par
+      \ \ \ \toc:num{subsubsection}{#1}{#2}\par}
+   \def\toclikesubsubsection#1#2#3{\par
+      \ \ \ \HCode{<span class="likesubsubsectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocparagraph#1#2#3{\par\ \ \ \toc:num{paragraph}{#1}{#2}\par}
+   \def\toclikeparagraph#1#2#3{\par
+      \ \ \ \HCode{<span class="likeparagraphToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubparagraph#1#2#3{\par
+      \ \ \ \ \ \toc:num{subparagraph}{#1}{#2}\par}
+   \def\toclikesubparagraph#1#2#3{\par
+      \ \ \ \ \ \HCode{<span class="likesubparagraphToc" \a:LRdir>}#2\HCode{</span>}\par}
+\fi
+\def\toc:num#1#2#3{\def\:temp{#1#2}%
+   \HCode{<span class="#1Toc" \a:LRdir>}\ifx \:temp\empty
+   \else \def\:temp{#2}\ifx\:temp\empty\else #2 \fi \fi #3\HCode{</span>}}
+%\def\:SPAN#1#2{\HCode{<span class="#1">}#2\HCode{</span>}}
+ 
+\:CheckOption{7}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{6}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else \:CheckOption{5}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{4}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{3}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{2}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{1}     \if:Option
+    \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+    \CutAt{part}
+\CutAt{likepart}
+
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else
+    \Log:Note{for automatic sectioning
+        pagination, use the command line option
+                     `1', `2', `3', '4', '5', '6', or '7'}%
+\fi \fi \fi \fi \fi \fi  \fi
+\:CheckOption{sec-filename}   \if:Option \else
+    \Log:Note{for files named derived from section
+        titles, use the command line option `sec-filename'}%
+\fi
+
+
+\:CheckOption{1}     \if:Option
+   \:CheckOption{notoc*}     \if:Option
+   \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+      \MiniToc:At{part,/likepart,chapter,appendix,section}
+   \fi
+\else
+   \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+      \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+            section,likesection}
+   \fi
+\fi
+
+\fi
+\def\:temp#1index=#2,#3!*?: {%
+   \ifnum #2>1 \NewConfigure{IndexColumns}{1}
+\Configure{IndexColumns}{#2}
+\fi
+   \def\:temp{#2}%
+}
+\expandafter\:temp\Preamble,index=0,!*?: 
+\ifnum \:temp<2
+   \Log:Note{for i-columns index,
+               use the command line option `index=i' (e.g., index=2)}
+\Configure{theindex}
+   {\ifvmode \IgnorePar\fi \EndP
+    \HCode{<div class="theindex">}\let\end:theidx\empty}
+   {\end:theidx\HCode{</div>}}
+   {\hbox\bgroup\HCode{<span class="index-item">}}
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox\bgroup\HCode{<span class="index-subitem">}\ \ \ \ }
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox\bgroup\HCode{<span class="index-subsubitem">}\ \ \ \ \ \ \ \ }
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox{\end:theidx\HCode{<p class="theindex">}}%
+    \def\end:theidx{\HCode{</p>}}}
+\Css{.index-item, .index-subitem, .index-subsubitem {display:block}}
+
+\else
+   \Log:Note{the number of columns
+   requested by the option `index=\a:IndexColumns' can
+   be modified through the command \string\Configure{IndexColumns}{i}}
+\Configure{theindex}
+   {\ifvmode \IgnorePar\fi \EndP
+    \HCode{<div class="theindex">}%
+    \Configure{HColumns}
+     {\IgnorePar\EndP
+         \HCode{<table \Hnewline class="index" width="100\%"
+                     cellspacing="15"><tr style="vertical-align:top;">}}
+     {\HCode{</tr></table>}}
+     {\HCode{<td>}\ColMag{1.1}}
+     {\IgnorePar\EndP\HCode{</td>}}
+  \HColumns{\a:IndexColumns}%
+  \everypar{\HtmlPar}%
+  \Configure{HtmlPar}{}{\HCode{<br class="index-segment" />}}{}{}%
+  \par\ShowPar
+\let\end:theidx\empty}
+   {\end:theidx
+    \ifvmode\IgnorePar\fi \EndP\EndHColumns
+\HCode{</div>}}
+   {\hbox\bgroup\HCode{<span class="index-item">}}
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox\bgroup\HCode{<span class="index-subitem">}\ \ \ \ }
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox\bgroup\HCode{<span class="index-subsubitem">}\ \ \ \ \ \ \ \ }
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {%\ifvmode \EndP\fi
+    % \hbox{\end:theidx\HCode{<p class="theindex">}}%
+    % \def\end:theidx{\HCode{</p>}}
+    \parindent=0pt
+   }%
+\Css{.index-item, .index-subitem, .index-subsubitem {display:block}}
+\Css{br.index-segment:first-child {display:none}}
+\Css{.index-item br,
+     .index-subitem br,
+     .index-subsubitem br {display:none}}
+\def\add:col{\Advance:\:cols  -1 \HAdvance\HCol  1\relax
+   \ifnum \:cols>0
+      \c:Cols \vsplit0 to \tmp:dim  \d:Cols  \expandafter\add:col
+   \fi}
+\NewConfigure{HColumns}{4}
+\def\c:Cols{\edef\sv:dim{\the\tmp:dim}\c:HColumns}
+\def\d:Cols{\d:HColumns \tmp:dim\sv:dim }
+\def\ColMag#1{\tmp:dim  #1\tmp:dim}
+\def\HColumns#1{%
+   \a:HColumns
+   \HAssign\:cols#1  \setbox0=\vbox\bgroup
+   \divide\hsize  #1  }
+\def\EndHColumns{\egroup   \HAssign\HCol0
+  \tmp:dim\ht0  \advance\tmp:dim  \dp0  \divide\tmp:dim  \:cols
+  \add:col \c:Cols \box0 \d:Cols \b:HColumns}
+
+\fi
+
+\Configure{caption}{\HCode{\if:nopar  \else <br />\fi}
+   \:xhtml{\IgnorePar\EndP}\HCode{<div class="caption"\Hnewline
+                                 ><span class="id">}}
+   {: } {\HCode{</span><span \Hnewline class="content">}}
+   {\HCode{</span></div>}\HCode{<!--tex4ht:label?:
+   \cur:th\:currentlabel\space-->}%
+}
+\Css{div.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
+                  text-align:left;}}
+\Css{div.caption span.id{font-weight: bold; white-space: nowrap; }}
+
+
+\Configure{endlikeparagraph}
+   {paragraph,subsubsection,likesubsubsection,subsection,%
+    likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endsubparagraph}
+   {likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
+    subsection,likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesubparagraph}
+   {subparagraph,likeparagraph,subsubsection,likesubsubsection,%
+    subsection,likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+
+\ConfigureEnv{thebibliography}{\IgnorePar}{\ShowPar\par}{}{}
+
+\ifx \part\:UnDef \else
+   \Configure{endpart}{likepart}
+\Configure{endlikepart}{endpart}
+\Configure{part}{}{}
+   {\IgnorePar \EndP\HCode{<h1 class="partHead"\a:LRdir>}%
+       \HCode{<span class="titlemark">}\partname \ \thepart
+       \HCode{<br /></span>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{likepart}{}{}
+   {\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{partTITLE+}{\thepart\space #1}
+\Configure{likepartTITLE+}{#1}
+\Css{h1.partHead{text-align: center}}
+
+\fi
+\ConfigureToc{lof}
+  {\HCode{<span class="lofToc" \a:LRdir>}}{\ }{}{\HCode{</span><br />}}
+\ConfigureToc{lot}
+  {\HCode{<span class="lotToc" \a:LRdir>}}{\ }{}{\HCode{</span><br />}}
+
+\ConfigureList{description}%
+   {\EndP\HCode{<dl \a:LRdir class="description">}%
+      \PushMacro\end:itm
+\global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \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">}}
+
+\Configure{enumiii}
+    {\HCode{<span class="roman-numeral">}}
+    {\HCode{</span>}}
+
+\:CheckOption{no-bib} \if:Option\else
+   \:CheckOption{mouseover} \if:Option
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi\EndP \js:on
+\HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi\EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\csname bibliography2\endcsname
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \EndP\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{</div></bibitem>\Hnewline}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Until bib }%
+%
+\HCode{-->}
+}\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex From bib }%
+%
+\HCode{<bibitem>}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set1 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set2 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{<div class="js">}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{-->}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+        \leavevmode \ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\HCode{<span
+      class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+}
+
+   \else
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\csname bibliography2\endcsname
+\EndP}%
+   \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+    \HCode{<span class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}}
+
+   \fi
+   \Css{p.bibitem { text-indent: -2em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+\Css{p.bibitem-p { text-indent: 0em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+
+\fi
+
+\Configure{endsection}
+     {likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesection}
+     {section,chapter,likechapter,appendix,part,likepart}
+\ConfigureMark{section}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@seccntformat{section}%
+       \HCode{</span>}\fi }
+\Configure{sectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesection\space
+    \fi\fi #1}
+
+\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}
+
+\Configure{endsubsection}
+   {likesubsection,section,likesection,chapter,%
+      likechapter,appendix,part,likepart}
+\Configure{endlikesubsection}
+   {subsection,section,likesection,chapter,%
+      likechapter,appendix,part,likepart}
+\ConfigureMark{subsubsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@seccntformat{subsubsection}%
+       \HCode{</span>}\fi}
+\Configure{subsubsectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesubsubsection\space
+    \fi\fi #1}
+
+\Configure{subsubsection}{}{}
+   {\ifvmode \IgnorePar \fi  \EndP
+    \bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead"\a:LRdir>}%
+    \TitleMark\space \HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{likesubsubsection}{}{}
+   {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
+    \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+
+\ConfigureMark{subsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@seccntformat{subsection}%
+       \HCode{</span>}\fi }
+\Configure{subsectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesubsection\space
+    \fi\fi #1}
+
+\Configure{subsection}{}{}
+   {\ifvmode \IgnorePar\fi
+    \EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
+    \TitleMark\space \HtmlParOff}
+   {\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{likesubsection}{}{}{\EndP\bgroup
+   \ifvmode \IgnorePar\fi
+   \HCode{<h4 class="likesubsectionHead"\a:LRdir>}\HtmlParOff }
+  {\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{likesubsectionTITLE+}{#1}
+
+
+\Configure{endsubsubsection}
+   {likesubsubsection,subsection,likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesubsubsection}
+   {subsubsection,subsection,likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+
+\Configure{endparagraph}
+   {likeparagraph,subsubsection,likesubsubsection,subsection,%
+    likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\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;}}
+
+\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;}}
+
+\ConfigureEnv{quote}
+   {}{}
+   {\IgnorePar\EndP
+    \HCode{<div class="\getClass{quote}">}\afterGetClass{quote}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar\ShowIndent}
+\Css{.quote  {margin-bottom:0.25em; margin-top:0.25em;
+              margin-left:1em; margin-right:1em; text-align:justify;}}
+\NewConfigure{quoteClass}{2}
+\Configure{quoteClass}{quote}{}
+
+\ConfigureEnv{verse}
+   {\ifvmode \IgnorePar\fi\EndP\Tg<div class="verse">}
+   {\ifvmode \IgnorePar\fi\EndP\Tg</div>\par\ShowPar}
+   {}{}
+\ConfigureList{verse}
+   {}{}
+   {\parindent=\z@}  {\par}
+\Css{.verse{white-space:nowrap; margin-left:2em}}
+\Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+\a:NoSection \let\leavevmode\empty \let\not at math@alphabet\:gobbleII
+\def\text at command##1{##1}\let\selectfont\empty
+\def\check at icl ##1\check at icr{}%
+\let\thanks\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\Tag{TITLE+}{\@title}}
+%
+    \HCode{<div class="maketitle">}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
+   {\NoFonts\IgnorePar\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
+   {\HCode{</h2>}\IgnoreIndent\EndNoFonts}
+\Css{div.maketitle {text-align:center;}}
+\Css{h2.titleHead{text-align:center;}}
+\Css{div.maketitle{ margin-bottom: 2em; }}
+\:CheckOption{fn-in}\if:Option
+   \Configure{thanks author date and}
+   {\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
+     \ifvoid\fn:box\else  \csname unvbox\endcsname\fn:box\fi}
+   {\EndP\egroup\RecallEndP }
+   {\HCode{<div class="author" \a:LRdir>}}{\HCode{</div>}}
+   {\HCode{<div class="date" \a:LRdir>}}{\HCode{</div>}}
+   {\HCode{<br class="and" />}}
+   {\HCode{<br />}}
+\Configure{thank}
+   {\csname a:thank-mark\endcsname
+\Link{tk-\the\c at footnote}{\ifx
+        \footnote\thanks kt-\the\c at footnote\fi}}
+   {\EndLink \csname b:thank-mark\endcsname
+}
+   {\HCode{<p>}\protect\Link{\ifx \footnote\thanks kt-\the\c at footnote
+      \fi}{tk-\the\c at footnote}\csname a:thank-mark\endcsname
+}
+   {\csname b:thank-mark\endcsname
+\protect\EndLink}
+   {\HCode{</p>}}
+
+\Css{div.author, div.date {text-align:center;}}
+\Css{div.thanks{text-align:left; margin-left:10\%; font-size:85\%;
+                font-style:italic; }}
+
+\else
+   \Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="thanks" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="author" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="date" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\HCode{<br class="and" />}}
+   {\HCode{<br />}}
+\Configure{thank}
+   {\csname a:thank-mark\endcsname
+\Link{tk-\the\c at footnote}{}}
+   {\EndLink \csname b:thank-mark\endcsname
+}
+   {\HCode{<br />}\protect\Link{}{tk-\the\c at footnote}\protect
+     \EndLink \csname a:thank-mark\endcsname
+}
+   {\csname b:thank-mark\endcsname
+} {}
+
+\Css{div.author, div.date {text-align:center;}}
+\Css{div.thanks{text-align:left; margin-left:10\%; font-size:85\%;
+                font-style:italic; }}
+\Css{div.author{white-space: nowrap;}}
+
+\fi
+
+
+\ConfigureEnv{table}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{<div class="table">}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par\ShowPar}
+   {}{}
+{\Configure{Needs}{Font\string_Size: #1}\ifcase  \@ptsize
+   \or \Needs{11}\or \Needs{12}\else \fi}
+
+\ConfigureEnv{quotation}
+   {}{}
+   {\IgnorePar\EndP\HCode{<div class="quotation">}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar}
+\Css{.quotation  {margin-bottom:0.25em;
+           margin-top:0.25em; margin-left:1em; }}
+
+\Configure{listof}{}{}{}{\HCode{<br />}}{}{ }
+
+
+
+\Configure{endpart}{likepart}
+\Configure{endlikepart}{endpart}
+\Configure{part}{}{}
+   {\IgnorePar \EndP\HCode{<h1 class="partHead"\a:LRdir>}%
+       \HCode{<span class="titlemark">}\partname \ \thepart
+       \HCode{<br /></span>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{likepart}{}{}
+   {\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{partTITLE+}{\thepart\space #1}
+\Configure{likepartTITLE+}{#1}
+\Css{h1.partHead{text-align: center}}
+
+
+\ConfigureEnv{description}{\IgnorePar}{}{}{}
+\Configure{@begin}{theindex}{\ifx \indexname\empty \else
+    \chapter*{\indexname}\fi}
+\ConfigureMark{appendix}{\HCode{<span class="titlemark">}%
+   \appendixname \ \thechapter\HCode{</span>}}
+\Configure{appendixTITLE+}{\thechapter\space#1}
+\Configure{likechapterTITLE+}{#1}
+\Configure{endchapter}{likechapter,appendix,part,likepart}
+\Configure{endlikechapter}{chapter,appendix,part,likepart}
+\Configure{endappendix}{chapter,likechapter,part,likepart}
+
+\ConfigureMark{chapter}
+   {\if at mainmatter \ifnum \c at secnumdepth >\m at ne
+       \HCode{<span class="titlemark">}\chaptername
+     \ \thechapter\HCode{</span>}\fi \fi}
+\Configure{chapterTITLE+}{\if at mainmatter\thechapter\space\fi#1}
+\renewcommand\thechapter {\if at mainmatter\@arabic\c at chapter\fi}
+\Configure{chapter}{}{}
+   {\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}%
+    \if at mainmatter \TitleMark{\HCode{<br />}}\fi }
+   {\HCode{</h2>}\IgnoreIndent\par}
+\Configure{appendix}{}{}
+   {\IgnorePar\EndP\HCode{<h2 class="appendixHead"\a:LRdir>}%
+    \if at mainmatter \TitleMark{\HCode{<br />}}\fi }
+   {\HCode{</h2>}\IgnoreIndent\par}
+\Configure{likechapter}{}{}
+   {\IgnorePar\EndP\HCode{<h2 class="likechapterHead"\a:LRdir>}}
+   {\HCode{</h2>}\IgnoreIndent\par}
+
+% \:CheckOption{2} \if:Option
+% \else
+%    \:CheckOption{3} \if:Option \else
+%       \:CheckOption{4} \if:Option \else
+%          \:CheckOption{5} \if:Option \else
+%             \:CheckOption{6} \if:Option \else
+%                \:CheckOption{7} \if:Option \else
+%                \fi
+%             \fi
+%          \fi
+%       \fi
+%    \fi
+%    \if:Option
+%        \Css{.sectionToc,       .likesectionToc       {margin-left:2em;}}
+%        \Css{.subsectionToc,    .likesubsectionToc    {margin-left:4em;}}
+%        \Css{.subsubsectionToc, .likesubsubsectionToc {margin-left:6em;}}
+%    \fi
+% \fi
+\Css{
+.chapterToc,
+.likechapterToc
+                                         {margin-left:0em;}}
+\Css{
+.chapterToc     \string~ .likesectionToc,
+.chapterToc     \string~ .sectionToc,
+.likechapterToc \string~ .likesectionToc,
+.likechapterToc \string~ .sectionToc
+                                         {margin-left:2em;}}
+\Css{
+.chapterToc     \string~ .likesectionToc \string~ .likesubsectionToc,
+.chapterToc     \string~ .likesectionToc \string~ .subsectionToc,
+.chapterToc     \string~ .sectionToc     \string~ .likesubsectionToc,
+.chapterToc     \string~ .sectionToc     \string~ .subsectionToc,
+.likechapterToc \string~ .likesectionToc \string~ .likesubsectionToc,
+.likechapterToc \string~ .likesectionToc \string~ .subsectionToc,
+.likechapterToc \string~ .sectionToc     \string~ .likesubsectionToc,
+.likechapterToc \string~ .sectionToc     \string~ .subsectionToc
+                                         {margin-left:4em;}}
+\Css{.chapterToc     \string~ .likesectionToc \string~ .likesubsectionToc \string~ .likesubsubsectionToc,
+.chapterToc     \string~ .likesectionToc \string~ .likesubsectionToc \string~ .subsubsectionToc,
+.chapterToc     \string~ .likesectionToc \string~ .subsectionToc     \string~ .likesubsubsectionToc,
+.chapterToc     \string~ .likesectionToc \string~ .subsectionToc     \string~ .subsubsectionToc,
+.chapterToc     \string~ .sectionToc     \string~ .likesubsectionToc \string~ .likesubsubsectionToc,
+.chapterToc     \string~ .sectionToc     \string~ .likesubsectionToc \string~ .subsubsectionToc,
+.chapterToc     \string~ .sectionToc     \string~ .subsectionToc     \string~ .likesubsubsectionToc,
+.chapterToc     \string~ .sectionToc     \string~ .subsectionToc     \string~ .subsubsectionToc,
+.likechapterToc \string~ .likesectionToc \string~ .likesubsectionToc \string~ .likesubsubsectionToc,
+.likechapterToc \string~ .likesectionToc \string~ .likesubsectionToc \string~ .subsubsectionToc,
+.likechapterToc \string~ .likesectionToc \string~ .subsectionToc     \string~ .likesubsubsectionToc,
+.likechapterToc \string~ .likesectionToc \string~ .subsectionToc     \string~ .subsubsectionToc,
+.likechapterToc \string~ .sectionToc     \string~ .likesubsectionToc \string~ .likesubsubsectionToc,
+.likechapterToc \string~ .sectionToc     \string~ .likesubsectionToc \string~ .subsubsectionToc,
+.likechapterToc \string~ .sectionToc     \string~ .subsectionToc     \string~ .likesubsubsectionToc
+.likechapterToc \string~ .sectionToc     \string~ .subsectionToc     \string~ .subsubsectionToc
+                                         {margin-left:6em;}}
+
+\Css{
+.likesectionToc ,
+.sectionToc
+                                         {margin-left:0em;}}
+\Css{
+.likesectionToc \string~ .likesubsectionToc,
+.likesectionToc \string~ .subsectionToc,
+.sectionToc     \string~ .likesubsectionToc,
+.sectionToc     \string~ .subsectionToc
+                                         {margin-left:2em;}}
+\Css{.likesectionToc \string~ .likesubsectionToc \string~ .likesubsubsectionToc,
+.likesectionToc \string~ .likesubsectionToc \string~ .subsubsectionToc,
+.likesectionToc \string~ .subsectionToc     \string~ .likesubsubsectionToc,
+.likesectionToc \string~ .subsectionToc     \string~ .subsubsectionToc,
+.sectionToc     \string~ .likesubsectionToc \string~ .likesubsubsectionToc,
+.sectionToc     \string~ .likesubsectionToc \string~ .subsubsectionToc,
+.sectionToc     \string~ .subsectionToc     \string~ .likesubsubsectionToc,
+.sectionToc     \string~ .subsectionToc     \string~ .subsubsectionToc
+                                         {margin-left:4em;}}
+\Css{
+.likesubsectionToc,
+.subsectionToc
+                                         {margin-left:0em;}}
+\Css{
+.likesubsectionToc \string~ .subsubsectionToc,
+.subsectionToc     \string~ .subsubsectionToc
+                                         {margin-left:2em;}}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{report}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \def\tocpart#1#2#3{\par
+   \HCode{<span class="partToc" \a:LRdir>}\if !#1!\else  #1~~\fi #2\HCode{</span>}\par}%
+\def\toclikepart#1#2#3{\par
+   \HCode{<span class="likepartToc" \a:LRdir>}#2\HCode{</span>}\par}%
+\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
+        {line-height: 200\%; font-weight:bold; font-size:110\%;}}
+%
+\expandafter\ifx \csname @chapter\endcsname\relax
+   \def\tocsection#1#2#3{\par
+       \HCode{<span class="sectionToc" \a:LRdir>}\def\:temp{#1}\ifx \:temp\empty\else
+            #1 \fi #2\HCode{</span>}\par}
+   \def\toclikesection#1#2#3{\par
+      \HCode{<span class="likesectionToc" \a:LRdir>}#2\HCode{</span>}\par}%
+   \def\tocsubsection#1#2#3{\par\ \toc:num{subsection}{#1}{#2}\par}
+   \def\toclikesubsection#1#2#3{\par\
+      \HCode{<span class="likesubsectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubsubsection#1#2#3{\par
+      \ \ \toc:num{subsubsection}{#1}{#2}\par}
+   \def\toclikesubsubsection#1#2#3{\par
+      \ \ \HCode{<span class="likesubsubsectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocparagraph#1#2#3{\par\ \ \toc:num{paragraph}{#1}{#2}\par}
+   \def\toclikeparagraph#1#2#3{\par\ \
+      \HCode{<span class="likeparagraphToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubparagraph#1#2#3{\par
+      \ \ \ \ \toc:num{subparagraph}{#1}{#2}\par}
+   \def\toclikesubparagraph#1#2#3{\par
+      \ \ \ \ \HCode{<span class="likesubparagraphToc" \a:LRdir>}#2\HCode{</span>}\par}
+\else
+   \Css{.chapterToc a, .chapterToc, .likechapterToc a, .likechapterToc,
+        .appendixToc a, .appendixToc
+        {line-height: 200\%; font-weight:bold;}}
+%
+   \def\tocchapter#1#2#3{\par
+      \HCode{<span class="chapterToc" \a:LRdir>}\ifnum \c at secnumdepth >\m at ne
+                                                 #1 \fi #2\HCode{</span>}\par}
+   \def\toclikechapter#1#2#3{\par
+      \HCode{<span class="likechapterToc" \a:LRdir>}#2\HCode{</span>}\par}%
+   \def\tocappendix#1#2#3{\par
+      \HCode{<span class="appendixToc" \a:LRdir>}#1 #2\HCode{</span>}\par}
+   \def\tocsection#1#2#3{\par\ \toc:num{section}{#1}{#2}\par}
+   \def\toclikesection#1#2#3{\par\ \HCode{<span class="likesectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubsection#1#2#3{\par\ \ \toc:num{subsection}{#1}{#2}\par}
+   \def\toclikesubsection#1#2#3{\par
+      \ \ \HCode{<span class="likesubsectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubsubsection#1#2#3{\par
+      \ \ \ \toc:num{subsubsection}{#1}{#2}\par}
+   \def\toclikesubsubsection#1#2#3{\par
+      \ \ \ \HCode{<span class="likesubsubsectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocparagraph#1#2#3{\par\ \ \ \toc:num{paragraph}{#1}{#2}\par}
+   \def\toclikeparagraph#1#2#3{\par
+      \ \ \ \HCode{<span class="likeparagraphToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubparagraph#1#2#3{\par
+      \ \ \ \ \ \toc:num{subparagraph}{#1}{#2}\par}
+   \def\toclikesubparagraph#1#2#3{\par
+      \ \ \ \ \ \HCode{<span class="likesubparagraphToc" \a:LRdir>}#2\HCode{</span>}\par}
+\fi
+\def\toc:num#1#2#3{\def\:temp{#1#2}%
+   \HCode{<span class="#1Toc" \a:LRdir>}\ifx \:temp\empty
+   \else \def\:temp{#2}\ifx\:temp\empty\else #2 \fi \fi #3\HCode{</span>}}
+%\def\:SPAN#1#2{\HCode{<span class="#1">}#2\HCode{</span>}}
+ 
+\:CheckOption{7}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{6}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else \:CheckOption{5}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{4}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{3}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{2}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{1}     \if:Option
+    \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+    \CutAt{part}
+\CutAt{likepart}
+
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else
+    \Log:Note{for automatic sectioning
+        pagination, use the command line option
+                     `1', `2', `3', '4', '5', '6', or '7'}%
+\fi \fi \fi \fi \fi \fi  \fi
+\:CheckOption{sec-filename}   \if:Option \else
+    \Log:Note{for files named derived from section
+        titles, use the command line option `sec-filename'}%
+\fi
+
+
+\:CheckOption{1}     \if:Option
+  \:CheckOption{notoc*}     \if:Option
+   \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+      \MiniToc:At{part,/likepart,section,subsection}
+   \fi
+   \Configure{tableofcontents*}{part,section}
+\else
+   \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+      \MiniToc:At{part,/likepart,section,likesection,%
+           subsection,likesubsection}
+   \fi
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}{part,likepart,section,likesection}
+\fi
+
+\fi
+\def\:temp#1index=#2,#3!*?: {%
+   \ifnum #2>1 \NewConfigure{IndexColumns}{1}
+\Configure{IndexColumns}{#2}
+\fi
+   \def\:temp{#2}%
+}
+\expandafter\:temp\Preamble,index=0,!*?: 
+\ifnum \:temp<2
+   \Log:Note{for i-columns index,
+               use the command line option `index=i' (e.g., index=2)}
+\Configure{theindex}
+   {\ifvmode \IgnorePar\fi \EndP
+    \HCode{<div class="theindex">}\let\end:theidx\empty}
+   {\end:theidx\HCode{</div>}}
+   {\hbox\bgroup\HCode{<span class="index-item">}}
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox\bgroup\HCode{<span class="index-subitem">}\ \ \ \ }
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox\bgroup\HCode{<span class="index-subsubitem">}\ \ \ \ \ \ \ \ }
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox{\end:theidx\HCode{<p class="theindex">}}%
+    \def\end:theidx{\HCode{</p>}}}
+\Css{.index-item, .index-subitem, .index-subsubitem {display:block}}
+
+\else
+   \Log:Note{the number of columns
+   requested by the option `index=\a:IndexColumns' can
+   be modified through the command \string\Configure{IndexColumns}{i}}
+\Configure{theindex}
+   {\ifvmode \IgnorePar\fi \EndP
+    \HCode{<div class="theindex">}%
+    \Configure{HColumns}
+     {\IgnorePar\EndP
+         \HCode{<table \Hnewline class="index" width="100\%"
+                     cellspacing="15"><tr style="vertical-align:top;">}}
+     {\HCode{</tr></table>}}
+     {\HCode{<td>}\ColMag{1.1}}
+     {\IgnorePar\EndP\HCode{</td>}}
+  \HColumns{\a:IndexColumns}%
+  \everypar{\HtmlPar}%
+  \Configure{HtmlPar}{}{\HCode{<br class="index-segment" />}}{}{}%
+  \par\ShowPar
+\let\end:theidx\empty}
+   {\end:theidx
+    \ifvmode\IgnorePar\fi \EndP\EndHColumns
+\HCode{</div>}}
+   {\hbox\bgroup\HCode{<span class="index-item">}}
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox\bgroup\HCode{<span class="index-subitem">}\ \ \ \ }
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox\bgroup\HCode{<span class="index-subsubitem">}\ \ \ \ \ \ \ \ }
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {%\ifvmode \EndP\fi
+    % \hbox{\end:theidx\HCode{<p class="theindex">}}%
+    % \def\end:theidx{\HCode{</p>}}
+    \parindent=0pt
+   }%
+\Css{.index-item, .index-subitem, .index-subsubitem {display:block}}
+\Css{br.index-segment:first-child {display:none}}
+\Css{.index-item br,
+     .index-subitem br,
+     .index-subsubitem br {display:none}}
+\def\add:col{\Advance:\:cols  -1 \HAdvance\HCol  1\relax
+   \ifnum \:cols>0
+      \c:Cols \vsplit0 to \tmp:dim  \d:Cols  \expandafter\add:col
+   \fi}
+\NewConfigure{HColumns}{4}
+\def\c:Cols{\edef\sv:dim{\the\tmp:dim}\c:HColumns}
+\def\d:Cols{\d:HColumns \tmp:dim\sv:dim }
+\def\ColMag#1{\tmp:dim  #1\tmp:dim}
+\def\HColumns#1{%
+   \a:HColumns
+   \HAssign\:cols#1  \setbox0=\vbox\bgroup
+   \divide\hsize  #1  }
+\def\EndHColumns{\egroup   \HAssign\HCol0
+  \tmp:dim\ht0  \advance\tmp:dim  \dp0  \divide\tmp:dim  \:cols
+  \add:col \c:Cols \box0 \d:Cols \b:HColumns}
+
+\fi
+
+\Configure{caption}{\HCode{\if:nopar  \else <br />\fi}
+   \:xhtml{\IgnorePar\EndP}\HCode{<div class="caption"\Hnewline
+                                 ><span class="id">}}
+   {: } {\HCode{</span><span \Hnewline class="content">}}
+   {\HCode{</span></div>}\HCode{<!--tex4ht:label?:
+   \cur:th\:currentlabel\space-->}%
+}
+\Css{div.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
+                  text-align:left;}}
+\Css{div.caption span.id{font-weight: bold; white-space: nowrap; }}
+
+
+\Configure{endlikeparagraph}
+   {paragraph,subsubsection,likesubsubsection,subsection,%
+    likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endsubparagraph}
+   {likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
+    subsection,likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesubparagraph}
+   {subparagraph,likeparagraph,subsubsection,likesubsubsection,%
+    subsection,likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+
+\ConfigureEnv{thebibliography}{\IgnorePar}{\ShowPar\par}{}{}
+
+\ifx \part\:UnDef \else
+   \Configure{endpart}{likepart}
+\Configure{endlikepart}{endpart}
+\Configure{part}{}{}
+   {\IgnorePar \EndP\HCode{<h1 class="partHead"\a:LRdir>}%
+       \HCode{<span class="titlemark">}\partname \ \thepart
+       \HCode{<br /></span>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{likepart}{}{}
+   {\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{partTITLE+}{\thepart\space #1}
+\Configure{likepartTITLE+}{#1}
+\Css{h1.partHead{text-align: center}}
+
+\fi
+\ConfigureToc{lof}
+  {\HCode{<span class="lofToc" \a:LRdir>}}{\ }{}{\HCode{</span><br />}}
+\ConfigureToc{lot}
+  {\HCode{<span class="lotToc" \a:LRdir>}}{\ }{}{\HCode{</span><br />}}
+
+\ConfigureList{description}%
+   {\EndP\HCode{<dl \a:LRdir class="description">}%
+      \PushMacro\end:itm
+\global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \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">}}
+
+\Configure{enumiii}
+    {\HCode{<span class="roman-numeral">}}
+    {\HCode{</span>}}
+
+\:CheckOption{no-bib} \if:Option\else
+   \:CheckOption{mouseover} \if:Option
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi\EndP \js:on
+\HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi\EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\csname bibliography2\endcsname
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \EndP\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{</div></bibitem>\Hnewline}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Until bib }%
+%
+\HCode{-->}
+}\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex From bib }%
+%
+\HCode{<bibitem>}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set1 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set2 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{<div class="js">}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{-->}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+        \leavevmode \ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\HCode{<span
+      class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+}
+
+   \else
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\csname bibliography2\endcsname
+\EndP}%
+   \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+    \HCode{<span class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}}
+
+   \fi
+   \Css{p.bibitem { text-indent: -2em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+\Css{p.bibitem-p { text-indent: 0em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+
+\fi
+
+\Configure{endsection}
+     {likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesection}
+     {section,chapter,likechapter,appendix,part,likepart}
+\ConfigureMark{section}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@seccntformat{section}%
+       \HCode{</span>}\fi }
+\Configure{sectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesection\space
+    \fi\fi #1}
+
+\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}
+
+\Configure{endsubsection}
+   {likesubsection,section,likesection,chapter,%
+      likechapter,appendix,part,likepart}
+\Configure{endlikesubsection}
+   {subsection,section,likesection,chapter,%
+      likechapter,appendix,part,likepart}
+\ConfigureMark{subsubsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@seccntformat{subsubsection}%
+       \HCode{</span>}\fi}
+\Configure{subsubsectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesubsubsection\space
+    \fi\fi #1}
+
+\Configure{subsubsection}{}{}
+   {\ifvmode \IgnorePar \fi  \EndP
+    \bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead"\a:LRdir>}%
+    \TitleMark\space \HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{likesubsubsection}{}{}
+   {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
+    \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+
+\ConfigureMark{subsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@seccntformat{subsection}%
+       \HCode{</span>}\fi }
+\Configure{subsectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesubsection\space
+    \fi\fi #1}
+
+\Configure{subsection}{}{}
+   {\ifvmode \IgnorePar\fi
+    \EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
+    \TitleMark\space \HtmlParOff}
+   {\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{likesubsection}{}{}{\EndP\bgroup
+   \ifvmode \IgnorePar\fi
+   \HCode{<h4 class="likesubsectionHead"\a:LRdir>}\HtmlParOff }
+  {\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{likesubsectionTITLE+}{#1}
+
+
+\Configure{endsubsubsection}
+   {likesubsubsection,subsection,likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesubsubsection}
+   {subsubsection,subsection,likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+
+\Configure{endparagraph}
+   {likeparagraph,subsubsection,likesubsubsection,subsection,%
+    likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\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;}}
+
+\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;}}
+
+\ConfigureEnv{quote}
+   {}{}
+   {\IgnorePar\EndP
+    \HCode{<div class="\getClass{quote}">}\afterGetClass{quote}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar\ShowIndent}
+\Css{.quote  {margin-bottom:0.25em; margin-top:0.25em;
+              margin-left:1em; margin-right:1em; text-align:justify;}}
+\NewConfigure{quoteClass}{2}
+\Configure{quoteClass}{quote}{}
+
+\ConfigureEnv{verse}
+   {\ifvmode \IgnorePar\fi\EndP\Tg<div class="verse">}
+   {\ifvmode \IgnorePar\fi\EndP\Tg</div>\par\ShowPar}
+   {}{}
+\ConfigureList{verse}
+   {}{}
+   {\parindent=\z@}  {\par}
+\Css{.verse{white-space:nowrap; margin-left:2em}}
+\Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+\a:NoSection \let\leavevmode\empty \let\not at math@alphabet\:gobbleII
+\def\text at command##1{##1}\let\selectfont\empty
+\def\check at icl ##1\check at icr{}%
+\let\thanks\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\Tag{TITLE+}{\@title}}
+%
+    \HCode{<div class="maketitle">}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
+   {\NoFonts\IgnorePar\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
+   {\HCode{</h2>}\IgnoreIndent\EndNoFonts}
+\Css{div.maketitle {text-align:center;}}
+\Css{h2.titleHead{text-align:center;}}
+\Css{div.maketitle{ margin-bottom: 2em; }}
+\:CheckOption{fn-in}\if:Option
+   \Configure{thanks author date and}
+   {\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
+     \ifvoid\fn:box\else  \csname unvbox\endcsname\fn:box\fi}
+   {\EndP\egroup\RecallEndP }
+   {\HCode{<div class="author" \a:LRdir>}}{\HCode{</div>}}
+   {\HCode{<div class="date" \a:LRdir>}}{\HCode{</div>}}
+   {\HCode{<br class="and" />}}
+   {\HCode{<br />}}
+\Configure{thank}
+   {\csname a:thank-mark\endcsname
+\Link{tk-\the\c at footnote}{\ifx
+        \footnote\thanks kt-\the\c at footnote\fi}}
+   {\EndLink \csname b:thank-mark\endcsname
+}
+   {\HCode{<p>}\protect\Link{\ifx \footnote\thanks kt-\the\c at footnote
+      \fi}{tk-\the\c at footnote}\csname a:thank-mark\endcsname
+}
+   {\csname b:thank-mark\endcsname
+\protect\EndLink}
+   {\HCode{</p>}}
+
+\Css{div.author, div.date {text-align:center;}}
+\Css{div.thanks{text-align:left; margin-left:10\%; font-size:85\%;
+                font-style:italic; }}
+
+\else
+   \Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="thanks" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="author" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="date" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\HCode{<br class="and" />}}
+   {\HCode{<br />}}
+\Configure{thank}
+   {\csname a:thank-mark\endcsname
+\Link{tk-\the\c at footnote}{}}
+   {\EndLink \csname b:thank-mark\endcsname
+}
+   {\HCode{<br />}\protect\Link{}{tk-\the\c at footnote}\protect
+     \EndLink \csname a:thank-mark\endcsname
+}
+   {\csname b:thank-mark\endcsname
+} {}
+
+\Css{div.author, div.date {text-align:center;}}
+\Css{div.thanks{text-align:left; margin-left:10\%; font-size:85\%;
+                font-style:italic; }}
+\Css{div.author{white-space: nowrap;}}
+
+\fi
+
+
+\ConfigureEnv{table}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{<div class="table">}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par\ShowPar}
+   {}{}
+{\Configure{Needs}{Font\string_Size: #1}\ifcase  \@ptsize
+   \or \Needs{11}\or \Needs{12}\else \fi}
+
+\ConfigureEnv{quotation}
+   {}{}
+   {\IgnorePar\EndP\HCode{<div class="quotation">}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar}
+\Css{.quotation  {margin-bottom:0.25em;
+           margin-top:0.25em; margin-left:1em; }}
+
+\Configure{listof}{}{}{}{\HCode{<br />}}{}{ }
+
+
+
+\Configure{endpart}{likepart}
+\Configure{endlikepart}{endpart}
+\Configure{part}{}{}
+   {\IgnorePar \EndP\HCode{<h1 class="partHead"\a:LRdir>}%
+       \HCode{<span class="titlemark">}\partname \ \thepart
+       \HCode{<br /></span>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{likepart}{}{}
+   {\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{partTITLE+}{\thepart\space #1}
+\Configure{likepartTITLE+}{#1}
+\Css{h1.partHead{text-align: center}}
+
+
+\ConfigureEnv{abstract}
+   {\IgnorePar\EndP
+    \HCode{<div\Hnewline class="abstract"\Hnewline>}\par\ShowPar}
+   {\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}{}{}
+\Css{.abstract p {margin-left:5\%; margin-right:5\%;}}
+\Css{div.abstract {width:100\%;}}
+
+\ConfigureEnv{description}{\IgnorePar}{}{}{}
+\Configure{@begin}{theindex}{\ifx \indexname\empty \else
+    \chapter*{\indexname}\fi}
+\ConfigureMark{appendix}{\HCode{<span class="titlemark">}%
+   \appendixname \ \thechapter\HCode{</span>}}
+\Configure{appendixTITLE+}{\thechapter\space#1}
+\Configure{likechapterTITLE+}{#1}
+\Configure{endchapter}{likechapter,appendix,part,likepart}
+\Configure{endlikechapter}{chapter,appendix,part,likepart}
+\Configure{endappendix}{chapter,likechapter,part,likepart}
+
+\ConfigureMark{chapter}
+   {\HCode{<span class="titlemark">}\chaptername
+    \ \thechapter\HCode{</span>}}
+\Configure{chapter}{}{}
+   {\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}%
+     \TitleMark{\HCode{<br />}}}
+   {\HCode{</h2>}\IgnoreIndent\par}
+\Configure{chapterTITLE+}{\thechapter\space#1}
+\Configure{likechapterTITLE+}{#1}
+\Configure{appendix}{}{}
+   {\IgnorePar\EndP\HCode{<h2 class="appendixHead"\a:LRdir>}%
+     \TitleMark{\HCode{<br />}}}
+   {\HCode{</h2>}\IgnoreIndent\par}
+\Configure{likechapter}{}{}
+   {\IgnorePar\EndP\HCode{<h2 class="likechapterHead"\a:LRdir>}}
+   {\HCode{</h2>}\IgnoreIndent\par}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{article}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{@begin}{theindex}{\ifx \indexname\empty \else
+    \section*{\indexname}\fi}
+\def\tocpart#1#2#3{\par
+   \HCode{<span class="partToc" \a:LRdir>}\if !#1!\else  #1~~\fi #2\HCode{</span>}\par}%
+\def\toclikepart#1#2#3{\par
+   \HCode{<span class="likepartToc" \a:LRdir>}#2\HCode{</span>}\par}%
+\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
+        {line-height: 200\%; font-weight:bold; font-size:110\%;}}
+%
+\expandafter\ifx \csname @chapter\endcsname\relax
+   \def\tocsection#1#2#3{\par
+       \HCode{<span class="sectionToc" \a:LRdir>}\def\:temp{#1}\ifx \:temp\empty\else
+            #1 \fi #2\HCode{</span>}\par}
+   \def\toclikesection#1#2#3{\par
+      \HCode{<span class="likesectionToc" \a:LRdir>}#2\HCode{</span>}\par}%
+   \def\tocsubsection#1#2#3{\par\ \toc:num{subsection}{#1}{#2}\par}
+   \def\toclikesubsection#1#2#3{\par\
+      \HCode{<span class="likesubsectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubsubsection#1#2#3{\par
+      \ \ \toc:num{subsubsection}{#1}{#2}\par}
+   \def\toclikesubsubsection#1#2#3{\par
+      \ \ \HCode{<span class="likesubsubsectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocparagraph#1#2#3{\par\ \ \toc:num{paragraph}{#1}{#2}\par}
+   \def\toclikeparagraph#1#2#3{\par\ \
+      \HCode{<span class="likeparagraphToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubparagraph#1#2#3{\par
+      \ \ \ \ \toc:num{subparagraph}{#1}{#2}\par}
+   \def\toclikesubparagraph#1#2#3{\par
+      \ \ \ \ \HCode{<span class="likesubparagraphToc" \a:LRdir>}#2\HCode{</span>}\par}
+\else
+   \Css{.chapterToc a, .chapterToc, .likechapterToc a, .likechapterToc,
+        .appendixToc a, .appendixToc
+        {line-height: 200\%; font-weight:bold;}}
+%
+   \def\tocchapter#1#2#3{\par
+      \HCode{<span class="chapterToc" \a:LRdir>}\ifnum \c at secnumdepth >\m at ne
+                                                 #1 \fi #2\HCode{</span>}\par}
+   \def\toclikechapter#1#2#3{\par
+      \HCode{<span class="likechapterToc" \a:LRdir>}#2\HCode{</span>}\par}%
+   \def\tocappendix#1#2#3{\par
+      \HCode{<span class="appendixToc" \a:LRdir>}#1 #2\HCode{</span>}\par}
+   \def\tocsection#1#2#3{\par\ \toc:num{section}{#1}{#2}\par}
+   \def\toclikesection#1#2#3{\par\ \HCode{<span class="likesectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubsection#1#2#3{\par\ \ \toc:num{subsection}{#1}{#2}\par}
+   \def\toclikesubsection#1#2#3{\par
+      \ \ \HCode{<span class="likesubsectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubsubsection#1#2#3{\par
+      \ \ \ \toc:num{subsubsection}{#1}{#2}\par}
+   \def\toclikesubsubsection#1#2#3{\par
+      \ \ \ \HCode{<span class="likesubsubsectionToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocparagraph#1#2#3{\par\ \ \ \toc:num{paragraph}{#1}{#2}\par}
+   \def\toclikeparagraph#1#2#3{\par
+      \ \ \ \HCode{<span class="likeparagraphToc" \a:LRdir>}#2\HCode{</span>}\par}
+   \def\tocsubparagraph#1#2#3{\par
+      \ \ \ \ \ \toc:num{subparagraph}{#1}{#2}\par}
+   \def\toclikesubparagraph#1#2#3{\par
+      \ \ \ \ \ \HCode{<span class="likesubparagraphToc" \a:LRdir>}#2\HCode{</span>}\par}
+\fi
+\def\toc:num#1#2#3{\def\:temp{#1#2}%
+   \HCode{<span class="#1Toc" \a:LRdir>}\ifx \:temp\empty
+   \else \def\:temp{#2}\ifx\:temp\empty\else #2 \fi \fi #3\HCode{</span>}}
+%\def\:SPAN#1#2{\HCode{<span class="#1">}#2\HCode{</span>}}
+ 
+\:CheckOption{7}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{6}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else \:CheckOption{5}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{4}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{3}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{2}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{1}     \if:Option
+    \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+    \CutAt{part}
+\CutAt{likepart}
+
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else
+    \Log:Note{for automatic sectioning
+        pagination, use the command line option
+                     `1', `2', `3', '4', '5', '6', or '7'}%
+\fi \fi \fi \fi \fi \fi  \fi
+\:CheckOption{sec-filename}   \if:Option \else
+    \Log:Note{for files named derived from section
+        titles, use the command line option `sec-filename'}%
+\fi
+
+
+\:CheckOption{1}     \if:Option
+  \:CheckOption{notoc*}     \if:Option
+   \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+      \MiniToc:At{part,/likepart,section,subsection}
+   \fi
+   \Configure{tableofcontents*}{part,section}
+\else
+   \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+      \MiniToc:At{part,/likepart,section,likesection,%
+           subsection,likesubsection}
+   \fi
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}{part,likepart,section,likesection}
+\fi
+
+\fi
+\def\:temp#1index=#2,#3!*?: {%
+   \ifnum #2>1 \NewConfigure{IndexColumns}{1}
+\Configure{IndexColumns}{#2}
+\fi
+   \def\:temp{#2}%
+}
+\expandafter\:temp\Preamble,index=0,!*?: 
+\ifnum \:temp<2
+   \Log:Note{for i-columns index,
+               use the command line option `index=i' (e.g., index=2)}
+\Configure{theindex}
+   {\ifvmode \IgnorePar\fi \EndP
+    \HCode{<div class="theindex">}\let\end:theidx\empty}
+   {\end:theidx\HCode{</div>}}
+   {\hbox\bgroup\HCode{<span class="index-item">}}
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox\bgroup\HCode{<span class="index-subitem">}\ \ \ \ }
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox\bgroup\HCode{<span class="index-subsubitem">}\ \ \ \ \ \ \ \ }
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox{\end:theidx\HCode{<p class="theindex">}}%
+    \def\end:theidx{\HCode{</p>}}}
+\Css{.index-item, .index-subitem, .index-subsubitem {display:block}}
+
+\else
+   \Log:Note{the number of columns
+   requested by the option `index=\a:IndexColumns' can
+   be modified through the command \string\Configure{IndexColumns}{i}}
+\Configure{theindex}
+   {\ifvmode \IgnorePar\fi \EndP
+    \HCode{<div class="theindex">}%
+    \Configure{HColumns}
+     {\IgnorePar\EndP
+         \HCode{<table \Hnewline class="index" width="100\%"
+                     cellspacing="15"><tr style="vertical-align:top;">}}
+     {\HCode{</tr></table>}}
+     {\HCode{<td>}\ColMag{1.1}}
+     {\IgnorePar\EndP\HCode{</td>}}
+  \HColumns{\a:IndexColumns}%
+  \everypar{\HtmlPar}%
+  \Configure{HtmlPar}{}{\HCode{<br class="index-segment" />}}{}{}%
+  \par\ShowPar
+\let\end:theidx\empty}
+   {\end:theidx
+    \ifvmode\IgnorePar\fi \EndP\EndHColumns
+\HCode{</div>}}
+   {\hbox\bgroup\HCode{<span class="index-item">}}
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox\bgroup\HCode{<span class="index-subitem">}\ \ \ \ }
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {\hbox\bgroup\HCode{<span class="index-subsubitem">}\ \ \ \ \ \ \ \ }
+   {\HCode{<br /></span>}\egroup\hfill\break}
+   {%\ifvmode \EndP\fi
+    % \hbox{\end:theidx\HCode{<p class="theindex">}}%
+    % \def\end:theidx{\HCode{</p>}}
+    \parindent=0pt
+   }%
+\Css{.index-item, .index-subitem, .index-subsubitem {display:block}}
+\Css{br.index-segment:first-child {display:none}}
+\Css{.index-item br,
+     .index-subitem br,
+     .index-subsubitem br {display:none}}
+\def\add:col{\Advance:\:cols  -1 \HAdvance\HCol  1\relax
+   \ifnum \:cols>0
+      \c:Cols \vsplit0 to \tmp:dim  \d:Cols  \expandafter\add:col
+   \fi}
+\NewConfigure{HColumns}{4}
+\def\c:Cols{\edef\sv:dim{\the\tmp:dim}\c:HColumns}
+\def\d:Cols{\d:HColumns \tmp:dim\sv:dim }
+\def\ColMag#1{\tmp:dim  #1\tmp:dim}
+\def\HColumns#1{%
+   \a:HColumns
+   \HAssign\:cols#1  \setbox0=\vbox\bgroup
+   \divide\hsize  #1  }
+\def\EndHColumns{\egroup   \HAssign\HCol0
+  \tmp:dim\ht0  \advance\tmp:dim  \dp0  \divide\tmp:dim  \:cols
+  \add:col \c:Cols \box0 \d:Cols \b:HColumns}
+
+\fi
+
+\Configure{caption}{\HCode{\if:nopar  \else <br />\fi}
+   \:xhtml{\IgnorePar\EndP}\HCode{<div class="caption"\Hnewline
+                                 ><span class="id">}}
+   {: } {\HCode{</span><span \Hnewline class="content">}}
+   {\HCode{</span></div>}\HCode{<!--tex4ht:label?:
+   \cur:th\:currentlabel\space-->}%
+}
+\Css{div.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
+                  text-align:left;}}
+\Css{div.caption span.id{font-weight: bold; white-space: nowrap; }}
+
+
+\Configure{endlikeparagraph}
+   {paragraph,subsubsection,likesubsubsection,subsection,%
+    likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endsubparagraph}
+   {likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
+    subsection,likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesubparagraph}
+   {subparagraph,likeparagraph,subsubsection,likesubsubsection,%
+    subsection,likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+
+\ConfigureEnv{thebibliography}{\IgnorePar}{\ShowPar\par}{}{}
+
+\ifx \part\:UnDef \else
+   \Configure{endpart}{likepart}
+\Configure{endlikepart}{endpart}
+\Configure{part}{}{}
+   {\IgnorePar \EndP\HCode{<h1 class="partHead"\a:LRdir>}%
+       \HCode{<span class="titlemark">}\partname \ \thepart
+       \HCode{<br /></span>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{likepart}{}{}
+   {\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{partTITLE+}{\thepart\space #1}
+\Configure{likepartTITLE+}{#1}
+\Css{h1.partHead{text-align: center}}
+
+\fi
+\ConfigureToc{lof}
+  {\HCode{<span class="lofToc" \a:LRdir>}}{\ }{}{\HCode{</span><br />}}
+\ConfigureToc{lot}
+  {\HCode{<span class="lotToc" \a:LRdir>}}{\ }{}{\HCode{</span><br />}}
+
+\ConfigureList{description}%
+   {\EndP\HCode{<dl \a:LRdir class="description">}%
+      \PushMacro\end:itm
+\global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \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">}}
+
+\Configure{enumiii}
+    {\HCode{<span class="roman-numeral">}}
+    {\HCode{</span>}}
+
+\:CheckOption{no-bib} \if:Option\else
+   \:CheckOption{mouseover} \if:Option
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi\EndP \js:on
+\HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi\EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\csname bibliography2\endcsname
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \EndP\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{</div></bibitem>\Hnewline}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Until bib }%
+%
+\HCode{-->}
+}\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex From bib }%
+%
+\HCode{<bibitem>}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set1 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set2 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{<div class="js">}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{-->}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+        \leavevmode \ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\HCode{<span
+      class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+}
+
+   \else
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\csname bibliography2\endcsname
+\EndP}%
+   \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+    \HCode{<span class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}}
+
+   \fi
+   \Css{p.bibitem { text-indent: -2em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+\Css{p.bibitem-p { text-indent: 0em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+
+\fi
+
+\Configure{endsection}
+     {likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesection}
+     {section,chapter,likechapter,appendix,part,likepart}
+\ConfigureMark{section}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@seccntformat{section}%
+       \HCode{</span>}\fi }
+\Configure{sectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesection\space
+    \fi\fi #1}
+
+\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}
+
+\Configure{endsubsection}
+   {likesubsection,section,likesection,chapter,%
+      likechapter,appendix,part,likepart}
+\Configure{endlikesubsection}
+   {subsection,section,likesection,chapter,%
+      likechapter,appendix,part,likepart}
+\ConfigureMark{subsubsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@seccntformat{subsubsection}%
+       \HCode{</span>}\fi}
+\Configure{subsubsectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesubsubsection\space
+    \fi\fi #1}
+
+\Configure{subsubsection}{}{}
+   {\ifvmode \IgnorePar \fi  \EndP
+    \bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead"\a:LRdir>}%
+    \TitleMark\space \HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{likesubsubsection}{}{}
+   {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
+    \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+
+\ConfigureMark{subsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@seccntformat{subsection}%
+       \HCode{</span>}\fi }
+\Configure{subsectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesubsection\space
+    \fi\fi #1}
+
+\Configure{subsection}{}{}
+   {\ifvmode \IgnorePar\fi
+    \EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
+    \TitleMark\space \HtmlParOff}
+   {\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{likesubsection}{}{}{\EndP\bgroup
+   \ifvmode \IgnorePar\fi
+   \HCode{<h4 class="likesubsectionHead"\a:LRdir>}\HtmlParOff }
+  {\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{likesubsectionTITLE+}{#1}
+
+
+\Configure{endsubsubsection}
+   {likesubsubsection,subsection,likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesubsubsection}
+   {subsubsection,subsection,likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+
+\Configure{endparagraph}
+   {likeparagraph,subsubsection,likesubsubsection,subsection,%
+    likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\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;}}
+
+\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;}}
+
+\ConfigureEnv{quote}
+   {}{}
+   {\IgnorePar\EndP
+    \HCode{<div class="\getClass{quote}">}\afterGetClass{quote}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar\ShowIndent}
+\Css{.quote  {margin-bottom:0.25em; margin-top:0.25em;
+              margin-left:1em; margin-right:1em; text-align:justify;}}
+\NewConfigure{quoteClass}{2}
+\Configure{quoteClass}{quote}{}
+
+\ConfigureEnv{verse}
+   {\ifvmode \IgnorePar\fi\EndP\Tg<div class="verse">}
+   {\ifvmode \IgnorePar\fi\EndP\Tg</div>\par\ShowPar}
+   {}{}
+\ConfigureList{verse}
+   {}{}
+   {\parindent=\z@}  {\par}
+\Css{.verse{white-space:nowrap; margin-left:2em}}
+\Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+\a:NoSection \let\leavevmode\empty \let\not at math@alphabet\:gobbleII
+\def\text at command##1{##1}\let\selectfont\empty
+\def\check at icl ##1\check at icr{}%
+\let\thanks\:gobble
+\def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\Tag{TITLE+}{\@title}}
+%
+    \HCode{<div class="maketitle">}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
+   {\NoFonts\IgnorePar\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
+   {\HCode{</h2>}\IgnoreIndent\EndNoFonts}
+\Css{div.maketitle {text-align:center;}}
+\Css{h2.titleHead{text-align:center;}}
+\Css{div.maketitle{ margin-bottom: 2em; }}
+\:CheckOption{fn-in}\if:Option
+   \Configure{thanks author date and}
+   {\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
+     \ifvoid\fn:box\else  \csname unvbox\endcsname\fn:box\fi}
+   {\EndP\egroup\RecallEndP }
+   {\HCode{<div class="author" \a:LRdir>}}{\HCode{</div>}}
+   {\HCode{<div class="date" \a:LRdir>}}{\HCode{</div>}}
+   {\HCode{<br class="and" />}}
+   {\HCode{<br />}}
+\Configure{thank}
+   {\csname a:thank-mark\endcsname
+\Link{tk-\the\c at footnote}{\ifx
+        \footnote\thanks kt-\the\c at footnote\fi}}
+   {\EndLink \csname b:thank-mark\endcsname
+}
+   {\HCode{<p>}\protect\Link{\ifx \footnote\thanks kt-\the\c at footnote
+      \fi}{tk-\the\c at footnote}\csname a:thank-mark\endcsname
+}
+   {\csname b:thank-mark\endcsname
+\protect\EndLink}
+   {\HCode{</p>}}
+
+\Css{div.author, div.date {text-align:center;}}
+\Css{div.thanks{text-align:left; margin-left:10\%; font-size:85\%;
+                font-style:italic; }}
+
+\else
+   \Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="thanks" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="author" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="date" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\HCode{<br class="and" />}}
+   {\HCode{<br />}}
+\Configure{thank}
+   {\csname a:thank-mark\endcsname
+\Link{tk-\the\c at footnote}{}}
+   {\EndLink \csname b:thank-mark\endcsname
+}
+   {\HCode{<br />}\protect\Link{}{tk-\the\c at footnote}\protect
+     \EndLink \csname a:thank-mark\endcsname
+}
+   {\csname b:thank-mark\endcsname
+} {}
+
+\Css{div.author, div.date {text-align:center;}}
+\Css{div.thanks{text-align:left; margin-left:10\%; font-size:85\%;
+                font-style:italic; }}
+\Css{div.author{white-space: nowrap;}}
+
+\fi
+
+
+\ConfigureEnv{table}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{<div class="table">}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par\ShowPar}
+   {}{}
+{\Configure{Needs}{Font\string_Size: #1}\ifcase  \@ptsize
+   \or \Needs{11}\or \Needs{12}\else \fi}
+
+\ConfigureEnv{quotation}
+   {}{}
+   {\IgnorePar\EndP\HCode{<div class="quotation">}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar}
+\Css{.quotation  {margin-bottom:0.25em;
+           margin-top:0.25em; margin-left:1em; }}
+
+\Configure{listof}{}{}{}{\HCode{<br />}}{}{ }
+
+
+
+\ConfigureEnv{abstract}
+   {\IgnorePar\EndP
+    \HCode{<div\Hnewline class="abstract"\Hnewline>}\par\ShowPar}
+   {\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}{}{}
+\Css{.abstract p {margin-left:5\%; margin-right:5\%;}}
+\Css{div.abstract {width:100\%;}}
+
+\:CheckOption{1} \if:Option
+\else
+   \:CheckOption{2} \if:Option \else
+      \:CheckOption{3} \if:Option \else
+         \:CheckOption{4} \if:Option \else
+            \:CheckOption{5} \if:Option \else
+               \:CheckOption{6} \if:Option \else
+                  \:CheckOption{7} \if:Option \else
+                  \fi
+               \fi
+            \fi
+         \fi
+      \fi
+   \fi
+   \if:Option
+       \Css{.subsectionToc,    .likesubsectionToc    {margin-left:2em;}}
+       \Css{.subsubsectionToc, .likesubsubsectionToc {margin-left:4em;}}
+   \fi
+\fi
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{tcilatex}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{GRAPHICSPS}
+   {\Picture+[PICT]{}}  {\EndPicture}
+\Configure{GRAPHICSHP}
+   {\Picture+[PICT]{}}  {\EndPicture}
+\Configure{DFRAME}
+  {\EndP \IgnorePar\HCode{<div class="FRAME">}}
+  {\HCode{</div>}\par\ShowPar}
+\Configure{FFRAME}
+  {\EndP \IgnorePar\HCode{<div class="FRAME">}}
+  {\HCode{</div>}\par\ShowPar}
+\Configure{IFRAME}
+  {\ifvmode \IgnorePar \fi}  {}
+\Css{div.FRAME {text-align:center;}}
+\expandafter\ifx \csname @TCItagstar\endcsname\relax
+   
+\else
+   
+\fi
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{graphics}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \:CheckOption{graphics-} \if:Option
+   \Configure{graphics}
+     {\bgroup
+        \let\E:IMG=\e:IMG \let\e:IMG=\empty
+      \Picture+[\a:GraphicsAlt]{ class="graphics"}}
+     {\EndPicture
+         \E:IMG\HCode{<!--tex4ht:graphics
+         \Hnewline  name="\PictureFile"  src="\Gin at base\Gin at ext"
+         \Hnewline -->}%
+      \egroup}
+\else
+   \def\:temp#1graphics-#2,#3!*?: {\def\gr:density{#2}}
+\expandafter\:temp\Preamble,graphics-,!*?: 
+\ifx \gr:density\empty
+   \Log:Note{if included graphics are
+      of degraded quality, try the command line options
+      `graphics-num' or `graphics-'. The `num' should provide
+      the density of pixels in the bitmaps (e.g., 110).
+   }
+\fi
+\def\int:pt#1.#2!*?: {#1}
+
+   \Configure{graphics}
+     {\bgroup
+        \let\E:IMG=\e:IMG \let\e:IMG=\empty
+      \Picture+[\a:GraphicsAlt]{ class="graphics"}}
+     {\EndPicture        \ifx\noBoundingBox\UnDefined
+          \ifx \gr:density\empty
+   \HCode{
+      width="\expandafter\int:pt\the\Gin at req@width!*?: "
+      height="\expandafter\int:pt\the\Gin at req@height!*?: "
+   }%
+\else
+   \bgroup
+     \divide\Gin at req@width by 72
+     \multiply\Gin at req@width by \gr:density \relax
+     \divide\Gin at req@height by 72
+     \multiply\Gin at req@height by \gr:density \relax
+     \HCode{
+        width="\expandafter\int:pt\the\Gin at req@width!*?: "
+        height="\expandafter\int:pt\the\Gin at req@height!*?: "
+     }%
+   \egroup
+\fi
+\fi
+         \E:IMG\HCode{<!--tex4ht:graphics
+         \Hnewline  name="\PictureFile"  src="\Gin at base\Gin at ext"
+         \Hnewline -->}%
+      \egroup}
+\fi
+\Configure{graphics*}
+   {gif}
+   {{\Configure{Needs}{File: \Gin at base.gif}\Needs{}}%
+   \Picture[\a:GraphicsAlt]{{\Gin at base.gif} \csname a:Gin-dim\endcsname
+}}
+\Configure{graphics*}
+   {png}
+   {{\Configure{Needs}{File: \Gin at base.png}\Needs{}}%
+   \Picture[\a:GraphicsAlt]{{\Gin at base.png} \csname a:Gin-dim\endcsname
+}}
+\Configure{graphics*}
+   {jpg}
+   {{\Configure{Needs}{File: \Gin at base.jpg}\Needs{}}%
+   \Picture[\a:GraphicsAlt]{{\Gin at base.jpg} \csname a:Gin-dim\endcsname
+}}
+\Configure{graphics*}
+   {jpeg}
+   {{\Configure{Needs}{File: \Gin at base.jpeg}\Needs{}}%
+   \Picture[\a:GraphicsAlt]{{\Gin at base.jpeg} \csname a:Gin-dim\endcsname
+}}
+\Configure{graphics*}
+   {svg}
+   {{\Configure{Needs}{File: \Gin at base.svg}\Needs{}}%
+   \Picture[\a:GraphicsAlt]{{\Gin at base.svg} \csname a:Gin-dim\endcsname
+}}
+\Configure{graphics*}
+   {eps}
+   {\openin15=\csname Gin at base\endcsname\PictExt\relax%
+   \ifeof15%
+   \Needs{\a:EpsConvert}%
+   \fi%
+   \closein15%
+   {\Configure{Needs}{File: \Gin at base\PictExt}\Needs{}}%
+   \Picture[\a:GraphicsAlt]{{\Gin at base\PictExt} \csname a:Gin-dim\endcsname
+}}
+
+\DeclareGraphicsExtensions{.png,.svg,.jpg,.eps,.pdf}
+
+
+\edef\svg:ext{.svg}
+
+\NewConfigure{ImageMagick}{1}
+\NewConfigure{Ghostscript}{1}
+
+\Configure{ImageMagick}{convert}
+\Configure{Ghostscript}{rungs}
+
+
+\NewConfigure{EpsConvert}{1}
+\NewConfigure{PdfConvert}{2}
+
+% test the picture output format
+\ifx\PictExt\svg:ext
+\Configure{PdfConvert}{svg}{"pdf2svg "\Gin at base.pdf" "\Gin at base-\Gin at page.\a:PdfConvert" \Gin at page"}
+% the quality of conversion using ImageMagick is quite bad, it rasterizes the vectors and
+% the resulting SVG is basically PNG encapsulated in SVG
+% \Configure{EpsConvert}{"\a:ImageMagick\space '\Gin at base.eps' '\Gin at base.svg'"}
+% it is better to use the following command. pdf2svg must be installed separately.
+\Configure{EpsConvert}{"epstopdf "\Gin at base.eps"  && pdf2svg "\Gin at base.pdf" "\Gin at base.svg""}
+\else
+\Configure{PdfConvert}{png}{"\a:Ghostscript\space -q -dNOPAUSE -dBATCH -dusecropbox -sDEVICE=pngalpha -r300 \ifx\Gin at page\@empty\else -dFirstPage="\Gin at page"  -dLastPage="\Gin at page"\fi\space -sOutputFile="\Gin at base-\Gin at page.\a:PdfConvert" "\Gin at base.pdf" "}
+\Configure{EpsConvert}{"\a:Ghostscript\space -dSAFER    -dBATCH    -dNOPAUSE    -dEPSCrop    -r120  -sDEVICE=pngalpha -sOutputFile="\Gin at base.png" "\Gin at base.eps" "}
+\fi
+\Configure{graphics*}
+   {pdf}
+   {\ifdefined\Gin at page\else\def\Gin at page{1}\fi%
+     \edef\svg:filename{\Gin at base-\Gin at page.\a:PdfConvert}%
+     % test for existence of the converted file
+     \openin15=\svg:filename\relax
+      \ifeof15
+      \Needs{\b:PdfConvert}%
+      \fi
+      \closein15
+     { \Configure{Needs}{File: \svg:filename}\Needs{}}%
+   \Picture[\a:GraphicsAlt]{{\svg:filename} \csname a:Gin-dim\endcsname
+}}
+
+\NewConfigure{GraphicsAlt}{1}
+\Configure{GraphicsAlt}{PIC}
+\NewConfigure{Gin-dim}{1}
+\:CheckOption{Gin-dim} \if:Option
+   \Configure{Gin-dim}
+     {\ifx\noBoundingBox\UnDefined
+        width="\expandafter\int:pt\the\Gin at req@width!*?: "
+height="\expandafter\int:pt\the\Gin at req@height!*?: "
+%
+      \else
+        \ifx \Gin:ewidth\Gin at exclamation \else
+   width="\expandafter\int:pt\Gin:ewidth!*?: "
+\fi
+\ifx \Gin:eheight\Gin at exclamation \else
+   height="\expandafter\int:pt\Gin:eheight!*?: "
+\fi
+%
+      \fi
+      class="includegraphics"
+     }
+\else \:CheckOption{Gin-dim+} \if:Option
+   \Configure{Gin-dim}
+     {\ifx \Gin:ewidth\Gin at exclamation
+         \ifx \Gin:eheight\Gin at exclamation
+            \ifx\noBoundingBox\UnDefined
+               width="\expandafter\int:pt\the\Gin at req@width!*?: "
+height="\expandafter\int:pt\the\Gin at req@height!*?: "
+%
+            \fi
+         \else
+            height="\expandafter\int:pt\Gin:eheight!*?: "
+         \fi
+      \else
+         width="\expandafter\int:pt\Gin:ewidth!*?: "
+         \ifx \Gin:eheight\Gin at exclamation \else
+            height="\expandafter\int:pt\Gin:eheight!*?: "
+         \fi
+      \fi
+      class="includegraphics"
+     }
+\else
+   \Log:Note{for key dimensions try the option
+       `Gin-dim'; for key dimensions when bounding box is unavailable
+       try `Gin-dim+'; neither is recommended}
+   \Configure{Gin-dim}
+   {\if:boundingbox{width="\expandafter\int:pt\the\Gin at req@width!*?: "
+height="\expandafter\int:pt\the\Gin at req@height!*?: "
+}{}}
+\fi \fi
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{graphicx}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{rotatebox}{\HCode{<span class="rotatebox" style="transform: rotate(-\Grot at angle deg);">}}{\HCode{</span>}}
+\Css{.rotatebox{display: inline-block;}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{debug}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Css{dd.thebibliography {margin-left: 7em;}}
+\Css{dt.thebibliography {float:left; clear:left; margin-right:1em;}}
+\Configure{subfieldlabel}
+   {\HCode{<span class="subfieldlabel">}}
+   {\HCode{</span>}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{amsart}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ConfigureList{description}%
+   {\EndP\HCode{<dl \a:LRdir class="description">}%
+      \PushMacro\end:itm
+\global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \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">}}
+
+\ConfigureEnv{description}{\IgnorePar}{}{}{}
+\Css{span.footnote-mark{ vertical-align: super; font-size:80\%; }}
+% \Css{span.footnote-mark   sup.textsuperscript,
+%     span.footnote-mark a sup.textsuperscript{ font-size:80\%; }}
+\Configure{translators}
+  {\par\IgnorePar\EndP  \HCode{<div class="translators">}\par\ShowPar}
+  {\ifvmode \IgnorePar \fi\EndP \HCode{</div>}}
+  {\HCode{<span class="translator">}}
+  {\HCode{</span>}}
+\Configure{keywords}
+   {\par\IgnorePar\EndP \HCode{<div class="keywords">}\par\ShowPar}
+   {\ifvmode \IgnorePar \fi\EndP\HCode{</div>}}
+\Configure{subjclass}
+   {\par\IgnorePar\HCode{<div class="subjclass">}\par\ShowPar}
+   {\ifvmode \IgnorePar \fi\EndP\HCode{</div>}}
+\Configure{@maketitle}
+   {\ifvmode \IgnorePar\fi \EndP
+    \Tg<div class="submaketitle">\IgnoreIndent}
+   {\ifvmode \IgnorePar \fi\EndP\Tg</div>}
+\Css{div.submaketitle{ text-align:left;  margin-top:2em;
+   border-top: 1px solid black;
+   border-bottom: 1px solid black;
+   margin-left:5\%;   margin-right:5\%;
+   font-size:85\%; line-height: 95\%;}}
+\Css{div.submaketitle div {margin-top:0.5em; margin-bottom:0.5em; }}
+\Css{div.submaketitle p { margin-top:0em; margin-bottom:0em; }}
+\ConfigureEnv{abstract}
+   {\ifvmode \IgnorePar\fi \EndP}
+   {\ifvmode \IgnorePar\fi \EndP}
+   {}{}
+\ConfigureList{abstract}
+   {\ifvmode \IgnorePar\fi \EndP \Tg<div class="abstract">\ShowPar}
+   {\ifvmode \IgnorePar\fi \EndP\Tg</div>}
+   {\ShowPar\par\HCode{<span class="title">}}
+   {\HCode{</span>}}
+\Configure{setabstract}
+   {\ifvmode \IgnorePar \fi \EndP}
+   {\ifvmode \IgnorePar \fi \EndP}
+\Css{div.abstract{ margin-top: 2em;  text-align:left;
+   margin-right:15pt; margin-left:15pt; }}
+\Configure{addresses}
+   {\ifvmode \IgnorePar\fi \EndP
+     \HCode{<div class="addresses">}\ShowPar}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
+\Configure{address}
+   {\HCode{<span class="address-title">}}
+   {\ifvmode \IgnorePar\fi \HCode{</span><span class="address">}}
+   {\HCode{</span>}}
+\Configure{curraddr}
+   {\HCode{<span class="curraddr-title">}}
+   {\ifvmode \IgnorePar\fi \HCode{</span><span class="curraddr">}}
+   {\HCode{</span>}}
+\Configure{email}
+   {\HCode{<span class="email-title">}}
+   {\ifvmode \IgnorePar\fi \HCode{</span><span class="email">}}
+   {\HCode{</span>}}
+\Configure{urladdr}
+   {\HCode{<span class="urladdr-title">}}
+   {\ifvmode \IgnorePar\fi \HCode{</span><span class="urladdr">}}
+   {\HCode{</span>}}
+\Css{div.addresses p {margin-top:0em; margin-bottom:0em; }}
+\Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+\a:NoSection \let\leavevmode\empty \let\not at math@alphabet\:gobbleII
+\def\text at command##1{##1}\let\selectfont\empty
+\def\check at icl ##1\check at icr{}%
+\let\thanks\:gobble
+\let\\\space \def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\Tag{TITLE+}{\shorttitle}}
+%
+    \HCode{<div  class="maketitle">}%
+    \ConfigureEnv{center}
+       {\ifvmode \IgnorePar\fi} {\ifvmode \IgnorePar\fi}
+       {\ifvmode \IgnorePar\fi} {\ifvmode \IgnorePar\fi}%
+    \:CheckOption{fn-in}\if:Option
+   \:CheckOption{mouseover}\if:Option
+      \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+%
+   \else
+      \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+%
+   \fi
+\else
+   \:CheckOption{mouseover}\if:Option
+      \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+%
+   \else \:CheckOption{frames-fn}\if:Option
+           \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+%
+         \else
+           \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+   \fi   \fi
+\fi
+%
+   }
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
+   {\NoFonts\IgnorePar \EndP
+    \HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar
+    \bgroup \Configure{HtmlPar}{}{}{}{}}
+   {\egroup \HCode{</h2>}\IgnoreIndent\EndNoFonts}
+\Css{h2.titleHead{text-align:center;}}
+\Css{div.maketitle{ margin-bottom: 2em; text-align:center; }}
+
+\Configure{caption}{\HCode{\if:nopar  \else <br />\fi}
+   \:xhtml{\IgnorePar\EndP}\HCode{<div class="caption"\Hnewline
+                                 ><span class="id">}}
+   {: } {\HCode{</span><span \Hnewline class="content">}}
+   {\HCode{</span></div>}\HCode{<!--tex4ht:label?:
+   \cur:th\:currentlabel\space-->}%
+}
+\Css{div.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
+                  text-align:left;}}
+\Css{div.caption span.id{font-weight: bold; white-space: nowrap; }}
+
+
+\:CheckOption{no-bib} \if:Option\else
+   \:CheckOption{mouseover} \if:Option
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi\EndP \js:on
+\HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi\EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\csname bibliography2\endcsname
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \EndP\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{</div></bibitem>\Hnewline}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Until bib }%
+%
+\HCode{-->}
+}\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex From bib }%
+%
+\HCode{<bibitem>}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set1 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set2 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{<div class="js">}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{-->}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+        \leavevmode \ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\HCode{<span
+      class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+}
+
+   \else
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\csname bibliography2\endcsname
+\EndP}%
+   \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+    \HCode{<span class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}}
+
+   \fi
+   \Css{p.bibitem { text-indent: -2em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+\Css{p.bibitem-p { text-indent: 0em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+
+\fi
+
+\ifx \deferred at thm@head\:UnDef\else
+   \Configure{proof}
+   {\ifvmode \IgnorePar \fi \EndP
+       \HCode{<div class="proof">}\par\ShowPar
+       \HCode{<span class="head">}\IgnorePar}
+   {\HCode{</span>}\ShowPar}
+   {\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par}
+
+   \Configure{qed}
+     {\HCode{<span class="qed">}} {\HCode{</span>}}
+\Css{.qed {width:2ex; float:right; text-align:right;}}
+\def\:tempc#1#2#3#4#5{%
+  \expandafter\ifx \csname #1mathaccentV\endcsname\relax
+     \o:mathaccentV:{#1}{#2}{#3}{#4}{#5}%
+  \else  \csname #1mathaccentV\endcsname{#5}\fi}
+\HLet\mathaccentV\:tempc
+\:CheckOption{new-accents}     \if:Option \else
+   \HRestore\grave
+\expandafter\let\csname gravemathaccentV\endcsname=\grave
+\expandafter\let\csname GRAVEmathaccentV\endcsname=\grave
+\expand:after{\Configure{accent}}\csname
+           gravemathaccentV\expandafter\endcsname
+   \csname GRAVEmathaccentV\endcsname{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
+Y{1EF2}a{00E0}e{00E8}i{00EC}n{01F9}o{00F2}u{00F9}%
+w{1E81}y{1EF3}\i{00EC}%
+{}{}}
+   {\a:accents{grave}{#1}}   {\b:accents{grave}{#1}{#2}}
+\HRestore\acute
+\expandafter\let\csname acutemathaccentV\endcsname=\acute
+\expandafter\let\csname ACUTEmathaccentV\endcsname=\acute
+\expand:after{\Configure{accent}}\csname
+           acutemathaccentV\expandafter\endcsname
+   \csname ACUTEmathaccentV\endcsname{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+\HRestore\hat
+\expandafter\let\csname hatmathaccentV\endcsname=\hat
+\expandafter\let\csname HATmathaccentV\endcsname=\hat
+\expand:after{\Configure{accent}}\csname
+           hatmathaccentV\expandafter\endcsname
+   \csname HATmathaccentV\endcsname{{}{}}
+   {\a:accents{hat}{#1}}   {\b:accents{hat}{#1}{#2}}
+\HRestore\tilde
+\expandafter\let\csname tildemathaccentV\endcsname=\tilde
+\expandafter\let\csname TILDEmathaccentV\endcsname=\tilde
+\expand:after{\Configure{accent}}\csname
+           tildemathaccentV\expandafter\endcsname
+   \csname TILDEmathaccentV\endcsname{A{00C3}N{00D1}O{00D5}a{00E3}n{00F1}o{00F5}I{0128}%
+i{0129}U{0168}u{0169}V{1E7C}v{1E7D}E{1EBC}e{1EBD}%
+Y{1EF8}y{1EF9}\i{0129}%
+{}{}}
+   {\a:accents{tilde}{#1}}   {\b:accents{tilde}{#1}{#2}}
+\HRestore\ddot
+\expandafter\let\csname DDOTmathaccentV\endcsname=\ddot
+\expand:after{\Configure{accent}}\csname
+           DDOTmathaccentV\expandafter\endcsname
+   \csname DDOTmathaccentV\endcsname{{}{}}
+   {\a:accents{ddot}{#1}}   {\b:accents{ddot}{#1}{#2}}
+\expandafter\let\csname ddotmathaccentV\endcsname=\ddot
+\expand:after{\Configure{accent}}\csname
+           ddotmathaccentV\expandafter\endcsname
+   \csname ddotmathaccentv\endcsname{{}{}}
+   {\a:accents{ddot}{#1}}   {\b:accents{ddot}{#1}{#2}}
+\HRestore\check
+\expandafter\let\csname checkmathaccentV\endcsname=\check
+\expandafter\let\csname CHECKmathaccentV\endcsname=\check
+\expand:after{\Configure{accent}}\csname
+           checkmathaccentV\expandafter\endcsname
+   \csname CHECKmathaccentV\endcsname{C{010C}c{010D}D{010E}d{010F}%
+E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
+S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
+i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
+j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
+{}{}}
+   {\a:accents{check}{#1}}   {\b:accents{check}{#1}{#2}}
+\HRestore\dot
+\expandafter\let\csname dotmathaccentV\endcsname=\dot
+\expandafter\let\csname DOTmathaccentV\endcsname=\dot
+\expand:after{\Configure{accent}}\csname
+           dotmathaccentV\expandafter\endcsname
+   \csname DOTmathaccentV\endcsname{C{010A}c{010B}E{0116}e{0117}G{0120}g{0121}%
+I{0130}Z{017B}z{017C}A{0226}a{0227}O{022E}%
+o{022F}B{1E02}b{1E03}D{1E0A}d{1E0B}F{1E1E}%
+f{1E1F}H{1E22}h{1E23}M{1E40}m{1E41}N{1E44}%
+n{1E45}P{1E56}p{1E57}R{1E58}r{1E59}S{1E60}%
+s{1E61}T{1E6A}t{1E6B}W{1E86}w{1E87}X{1E8A}%
+x{1E8B}Y{1E8E}y{1E8F}%
+{}{}}
+   {\a:accents{dot}{#1}}   {\b:accents{dot}{#1}{#2}}
+\HRestore\breve
+\expandafter\let\csname brevemathaccentV\endcsname=\breve
+\expandafter\let\csname BREVEmathaccentV\endcsname=\breve
+\expand:after{\Configure{accent}}\csname
+           brevemathaccentV\expandafter\endcsname
+   \csname BREVEmathaccentV\endcsname{g{011F}I{012C}i{012D}O{014E}o{014F}%
+U{016C}u{016D}A{0102}a{0103}E{0114}%
+e{0115}G{011E}\i{012D}%
+{}{}}
+   {\a:accents{breve}{#1}}   {\b:accents{breve}{#1}{#2}}
+\HRestore\bar
+\expandafter\let\csname barmathaccentV\endcsname=\bar
+\expandafter\let\csname BARmathaccentV\endcsname=\bar
+\expand:after{\Configure{accent}}\csname
+           barmathaccentV\expandafter\endcsname
+   \csname BARmathaccentV\endcsname{{}{}}
+   {\a:accents{bar}{#1}}   {\b:accents{bar}{#1}{#2}}
+\HRestore\vec
+\expandafter\let\csname vecmathaccentV\endcsname=\vec
+\expandafter\let\csname VECmathaccentV\endcsname=\vec
+\expand:after{\Configure{accent}}\csname
+           vecmathaccentV\expandafter\endcsname
+   \csname VECmathaccentV\endcsname{{}{}}
+   {\a:accents{vec}{#1}}   {\b:accents{vec}{#1}{#2}}
+
+\fi
+\def\:temp{charset=iso-8859-2}
+\ifx \a:charset\:UnDef
+      \ifx  \A:charset\:temp \let\:temp=\def \fi
+\else \ifx  \a:charset\:temp \let\:temp=\def \fi
+\fi
+\ifx \:temp\def
+   \:CheckOption{new-accents}     \if:Option \else
+      \HRestore\acute
+\expandafter\let\csname acutemathaccentV\endcsname=\acute
+\expandafter\let\csname ACUTEmathaccentV\endcsname=\acute
+\expand:after{\Configure{accent}}\csname
+           acutemathaccentV\expandafter\endcsname
+   \csname ACUTEmathaccentV\endcsname{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+
+\fi \fi
+
+\fi
+\ConfigureMark{subsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}%
+          \@ifundefined{subsectionname}{}{%
+          \ignorespaces\subsectionname\space}%
+          \@seccntformat{subsection}%
+       \HCode{</span>}\fi }
+\Configure{subsectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesubsection\space
+    \fi\fi #1}
+
+\ConfigureMark{subsubsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}%
+          \@ifundefined{subsubsectionname}{}{%
+          \ignorespaces\subsubsectionname\space}%
+          \@seccntformat{subsubsection}%
+       \HCode{</span>}\fi}
+\Configure{subsubsectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesubsubsection\space
+    \fi\fi #1}
+
+\ConfigureMark{part}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@ifundefined{partname}{}{%
+          \ignorespaces\partname\space}%
+          \@seccntformat{part}%
+       \HCode{</span>}\fi }
+\Configure{part}{}{}
+   {\ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h1 class="partHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
+   {\HCode{</h1>}\HtmlParOn \IgnoreIndent \par}
+\Configure{partTITLE+}{\thepart\space#1}
+\ConfigureMark{section}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@ifundefined{sectionname}{}{%
+          \ignorespaces\sectionname\space}%
+          \@seccntformat{section}%
+       \HCode{</span>}\fi }
+\Configure{sectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesection\space
+    \fi\fi #1}
+
+\Configure{section}{}{}
+   {\ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
+   {\HCode{</h3>}\HtmlParOn \IgnoreIndent \ShowPar\par}
+
+\ConfigureToc{part}
+  {\HCode{<span class="partToc" \a:LRdir>}\toc:Mark{part}}
+  {\End:Mark}
+  {}
+  {\HCode{</span><br />}}
+\ConfigureToc{section}
+  {\HCode{<span class="sectionToc" \a:LRdir>}\toc:Mark{section}}
+  {\End:Mark}
+  {}
+  {\HCode{</span><br />}}
+\ConfigureToc{subsection}
+  {\HCode{<span class="subsectionToc" \a:LRdir>}~~\toc:Mark{subsection}}
+  {\End:Mark}
+  {}
+  {\HCode{</span><br />}}
+\ConfigureToc{subsubsection}
+  {\HCode{<span
+       class="subsubsectionToc" \a:LRdir>}~~~~\toc:Mark{subsubsection}}
+  {\End:Mark}
+  {}
+  {\HCode{</span><br />}}
+\def\toc:Mark#1#2\End:Mark{\if !#2!\else
+   \expandafter\ifx \csname #1name\endcsname\relax\else
+   \csname #1name\endcsname~\fi #2.~~\fi}
+\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
+        {line-height: 200\%; font-weight:bold; font-size:110\%;}}
+  
+\:CheckOption{7}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{6}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else \:CheckOption{5}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{4}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{3}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{2}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{1}     \if:Option
+    \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+    \CutAt{part}
+\CutAt{likepart}
+
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else
+    \Log:Note{for automatic sectioning
+        pagination, use the command line option
+                     `1', `2', `3', '4', '5', '6', or '7'}%
+\fi \fi \fi \fi \fi \fi  \fi
+\:CheckOption{sec-filename}   \if:Option \else
+    \Log:Note{for files named derived from section
+        titles, use the command line option `sec-filename'}%
+\fi
+
+
+{\Configure{Needs}{Font\string_Size: #1}\ifcase  \@ptsize
+   \or \Needs{11}\or \Needs{12}\else \fi}
+
+
+\Css{div.translators {text-align:right; margin-bottom:0.7em;}}
+\Configure{thanks author date and}
+   {\par\IgnorePar\EndP \HCode{<div class="thanks" \a:LRdir>}\par\ShowPar}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP
+       \HCode{<div class="authors"><span class="author" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</span></div>}}
+   {\par\IgnorePar\EndP \HCode{<div class="date" \a:LRdir>}\par\ShowPar}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\lowercase{\HCode{</span><span class="and">}}and~%
+    \lowercase{\HCode{</span><span>}}}
+   {\HCode{<br />}}
+\Configure{endsection}
+     {part}
+\Configure{endsubsection}
+   {section,part}
+\Configure{endsubsubsection}
+   {subsection,section,part}
+\Configure{endparagraph}
+   {subsubsection,subsection,section,part}
+\:CheckOption{1}     \if:Option
+  \:CheckOption{notoc*}     \if:Option
+   \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+      \MiniToc:At{part,/likepart,section,subsection}
+   \fi
+   \Configure{tableofcontents*}{part,section}
+\else
+   \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+      \MiniToc:At{part,/likepart,section,likesection,%
+           subsection,likesubsection}
+   \fi
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}{part,likepart,section,likesection}
+\fi
+
+\fi
+
+\Configure{subsection}{}{}
+  {\ShowPar\noindent
+   \HCode{<span class="subsectionHead"\a:LRdir>}\begingroup\bf
+   \TitleMark\space}
+  {.\endgroup\HCode{</span>}\IgnorePar\par\ShowPar}
+\Configure{subsubsection}{}{}
+  {\ShowPar\noindent
+   \HCode{<span class="subsubsectionHead"\a:LRdir>}\begingroup\it
+   \TitleMark\space}
+  {.\endgroup\HCode{</span>}\IgnorePar}
+\Css{.sectionHead{text-align:center;}}
+\Configure{paragraph}{}{}
+  {\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}}
+  {.\HCode{</span>}\IgnorePar}
+\ConfigureMark{subparagraph}{}
+\Configure{subparagraph}{}{}
+  {\ShowPar\noindent\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup
+   \TitleMark\space}
+  {.\endgroup\HCode{</span>}\IgnorePar}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{amsbook}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ConfigureList{description}%
+   {\EndP\HCode{<dl \a:LRdir class="description">}%
+      \PushMacro\end:itm
+\global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \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">}}
+
+\ConfigureEnv{description}{\IgnorePar}{}{}{}
+\Css{span.footnote-mark{ vertical-align: super; font-size:80\%; }}
+% \Css{span.footnote-mark   sup.textsuperscript,
+%     span.footnote-mark a sup.textsuperscript{ font-size:80\%; }}
+\Configure{translators}
+  {\par\IgnorePar\EndP  \HCode{<div class="translators">}\par\ShowPar}
+  {\ifvmode \IgnorePar \fi\EndP \HCode{</div>}}
+  {\HCode{<span class="translator">}}
+  {\HCode{</span>}}
+\Configure{keywords}
+   {\par\IgnorePar\EndP \HCode{<div class="keywords">}\par\ShowPar}
+   {\ifvmode \IgnorePar \fi\EndP\HCode{</div>}}
+\Configure{subjclass}
+   {\par\IgnorePar\HCode{<div class="subjclass">}\par\ShowPar}
+   {\ifvmode \IgnorePar \fi\EndP\HCode{</div>}}
+\Configure{@maketitle}
+   {\ifvmode \IgnorePar\fi \EndP
+    \Tg<div class="submaketitle">\IgnoreIndent}
+   {\ifvmode \IgnorePar \fi\EndP\Tg</div>}
+\Css{div.submaketitle{ text-align:left;  margin-top:2em;
+   border-top: 1px solid black;
+   border-bottom: 1px solid black;
+   margin-left:5\%;   margin-right:5\%;
+   font-size:85\%; line-height: 95\%;}}
+\Css{div.submaketitle div {margin-top:0.5em; margin-bottom:0.5em; }}
+\Css{div.submaketitle p { margin-top:0em; margin-bottom:0em; }}
+\ConfigureEnv{abstract}
+   {\ifvmode \IgnorePar\fi \EndP}
+   {\ifvmode \IgnorePar\fi \EndP}
+   {}{}
+\ConfigureList{abstract}
+   {\ifvmode \IgnorePar\fi \EndP \Tg<div class="abstract">\ShowPar}
+   {\ifvmode \IgnorePar\fi \EndP\Tg</div>}
+   {\ShowPar\par\HCode{<span class="title">}}
+   {\HCode{</span>}}
+\Configure{setabstract}
+   {\ifvmode \IgnorePar \fi \EndP}
+   {\ifvmode \IgnorePar \fi \EndP}
+\Css{div.abstract{ margin-top: 2em;  text-align:left;
+   margin-right:15pt; margin-left:15pt; }}
+\Configure{addresses}
+   {\ifvmode \IgnorePar\fi \EndP
+     \HCode{<div class="addresses">}\ShowPar}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
+\Configure{address}
+   {\HCode{<span class="address-title">}}
+   {\ifvmode \IgnorePar\fi \HCode{</span><span class="address">}}
+   {\HCode{</span>}}
+\Configure{curraddr}
+   {\HCode{<span class="curraddr-title">}}
+   {\ifvmode \IgnorePar\fi \HCode{</span><span class="curraddr">}}
+   {\HCode{</span>}}
+\Configure{email}
+   {\HCode{<span class="email-title">}}
+   {\ifvmode \IgnorePar\fi \HCode{</span><span class="email">}}
+   {\HCode{</span>}}
+\Configure{urladdr}
+   {\HCode{<span class="urladdr-title">}}
+   {\ifvmode \IgnorePar\fi \HCode{</span><span class="urladdr">}}
+   {\HCode{</span>}}
+\Css{div.addresses p {margin-top:0em; margin-bottom:0em; }}
+\Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+\a:NoSection \let\leavevmode\empty \let\not at math@alphabet\:gobbleII
+\def\text at command##1{##1}\let\selectfont\empty
+\def\check at icl ##1\check at icr{}%
+\let\thanks\:gobble
+\let\\\space \def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\Tag{TITLE+}{\shorttitle}}
+%
+    \HCode{<div  class="maketitle">}%
+    \ConfigureEnv{center}
+       {\ifvmode \IgnorePar\fi} {\ifvmode \IgnorePar\fi}
+       {\ifvmode \IgnorePar\fi} {\ifvmode \IgnorePar\fi}%
+    \:CheckOption{fn-in}\if:Option
+   \:CheckOption{mouseover}\if:Option
+      \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+%
+   \else
+      \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+%
+   \fi
+\else
+   \:CheckOption{mouseover}\if:Option
+      \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+%
+   \else \:CheckOption{frames-fn}\if:Option
+           \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+%
+         \else
+           \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+   \fi   \fi
+\fi
+%
+   }
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
+   {\NoFonts\IgnorePar \EndP
+    \HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar
+    \bgroup \Configure{HtmlPar}{}{}{}{}}
+   {\egroup \HCode{</h2>}\IgnoreIndent\EndNoFonts}
+\Css{h2.titleHead{text-align:center;}}
+\Css{div.maketitle{ margin-bottom: 2em; text-align:center; }}
+
+\Configure{caption}{\HCode{\if:nopar  \else <br />\fi}
+   \:xhtml{\IgnorePar\EndP}\HCode{<div class="caption"\Hnewline
+                                 ><span class="id">}}
+   {: } {\HCode{</span><span \Hnewline class="content">}}
+   {\HCode{</span></div>}\HCode{<!--tex4ht:label?:
+   \cur:th\:currentlabel\space-->}%
+}
+\Css{div.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
+                  text-align:left;}}
+\Css{div.caption span.id{font-weight: bold; white-space: nowrap; }}
+
+
+\:CheckOption{no-bib} \if:Option\else
+   \:CheckOption{mouseover} \if:Option
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi\EndP \js:on
+\HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi\EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\csname bibliography2\endcsname
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \EndP\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{</div></bibitem>\Hnewline}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Until bib }%
+%
+\HCode{-->}
+}\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex From bib }%
+%
+\HCode{<bibitem>}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set1 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set2 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{<div class="js">}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{-->}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+        \leavevmode \ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\HCode{<span
+      class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+}
+
+   \else
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\csname bibliography2\endcsname
+\EndP}%
+   \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+    \HCode{<span class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}}
+
+   \fi
+   \Css{p.bibitem { text-indent: -2em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+\Css{p.bibitem-p { text-indent: 0em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+
+\fi
+
+\ifx \deferred at thm@head\:UnDef\else
+   \Configure{proof}
+   {\ifvmode \IgnorePar \fi \EndP
+       \HCode{<div class="proof">}\par\ShowPar
+       \HCode{<span class="head">}\IgnorePar}
+   {\HCode{</span>}\ShowPar}
+   {\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par}
+
+   \Configure{qed}
+     {\HCode{<span class="qed">}} {\HCode{</span>}}
+\Css{.qed {width:2ex; float:right; text-align:right;}}
+\def\:tempc#1#2#3#4#5{%
+  \expandafter\ifx \csname #1mathaccentV\endcsname\relax
+     \o:mathaccentV:{#1}{#2}{#3}{#4}{#5}%
+  \else  \csname #1mathaccentV\endcsname{#5}\fi}
+\HLet\mathaccentV\:tempc
+\:CheckOption{new-accents}     \if:Option \else
+   \HRestore\grave
+\expandafter\let\csname gravemathaccentV\endcsname=\grave
+\expandafter\let\csname GRAVEmathaccentV\endcsname=\grave
+\expand:after{\Configure{accent}}\csname
+           gravemathaccentV\expandafter\endcsname
+   \csname GRAVEmathaccentV\endcsname{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
+Y{1EF2}a{00E0}e{00E8}i{00EC}n{01F9}o{00F2}u{00F9}%
+w{1E81}y{1EF3}\i{00EC}%
+{}{}}
+   {\a:accents{grave}{#1}}   {\b:accents{grave}{#1}{#2}}
+\HRestore\acute
+\expandafter\let\csname acutemathaccentV\endcsname=\acute
+\expandafter\let\csname ACUTEmathaccentV\endcsname=\acute
+\expand:after{\Configure{accent}}\csname
+           acutemathaccentV\expandafter\endcsname
+   \csname ACUTEmathaccentV\endcsname{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+\HRestore\hat
+\expandafter\let\csname hatmathaccentV\endcsname=\hat
+\expandafter\let\csname HATmathaccentV\endcsname=\hat
+\expand:after{\Configure{accent}}\csname
+           hatmathaccentV\expandafter\endcsname
+   \csname HATmathaccentV\endcsname{{}{}}
+   {\a:accents{hat}{#1}}   {\b:accents{hat}{#1}{#2}}
+\HRestore\tilde
+\expandafter\let\csname tildemathaccentV\endcsname=\tilde
+\expandafter\let\csname TILDEmathaccentV\endcsname=\tilde
+\expand:after{\Configure{accent}}\csname
+           tildemathaccentV\expandafter\endcsname
+   \csname TILDEmathaccentV\endcsname{A{00C3}N{00D1}O{00D5}a{00E3}n{00F1}o{00F5}I{0128}%
+i{0129}U{0168}u{0169}V{1E7C}v{1E7D}E{1EBC}e{1EBD}%
+Y{1EF8}y{1EF9}\i{0129}%
+{}{}}
+   {\a:accents{tilde}{#1}}   {\b:accents{tilde}{#1}{#2}}
+\HRestore\ddot
+\expandafter\let\csname DDOTmathaccentV\endcsname=\ddot
+\expand:after{\Configure{accent}}\csname
+           DDOTmathaccentV\expandafter\endcsname
+   \csname DDOTmathaccentV\endcsname{{}{}}
+   {\a:accents{ddot}{#1}}   {\b:accents{ddot}{#1}{#2}}
+\expandafter\let\csname ddotmathaccentV\endcsname=\ddot
+\expand:after{\Configure{accent}}\csname
+           ddotmathaccentV\expandafter\endcsname
+   \csname ddotmathaccentv\endcsname{{}{}}
+   {\a:accents{ddot}{#1}}   {\b:accents{ddot}{#1}{#2}}
+\HRestore\check
+\expandafter\let\csname checkmathaccentV\endcsname=\check
+\expandafter\let\csname CHECKmathaccentV\endcsname=\check
+\expand:after{\Configure{accent}}\csname
+           checkmathaccentV\expandafter\endcsname
+   \csname CHECKmathaccentV\endcsname{C{010C}c{010D}D{010E}d{010F}%
+E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
+S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
+i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
+j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
+{}{}}
+   {\a:accents{check}{#1}}   {\b:accents{check}{#1}{#2}}
+\HRestore\dot
+\expandafter\let\csname dotmathaccentV\endcsname=\dot
+\expandafter\let\csname DOTmathaccentV\endcsname=\dot
+\expand:after{\Configure{accent}}\csname
+           dotmathaccentV\expandafter\endcsname
+   \csname DOTmathaccentV\endcsname{C{010A}c{010B}E{0116}e{0117}G{0120}g{0121}%
+I{0130}Z{017B}z{017C}A{0226}a{0227}O{022E}%
+o{022F}B{1E02}b{1E03}D{1E0A}d{1E0B}F{1E1E}%
+f{1E1F}H{1E22}h{1E23}M{1E40}m{1E41}N{1E44}%
+n{1E45}P{1E56}p{1E57}R{1E58}r{1E59}S{1E60}%
+s{1E61}T{1E6A}t{1E6B}W{1E86}w{1E87}X{1E8A}%
+x{1E8B}Y{1E8E}y{1E8F}%
+{}{}}
+   {\a:accents{dot}{#1}}   {\b:accents{dot}{#1}{#2}}
+\HRestore\breve
+\expandafter\let\csname brevemathaccentV\endcsname=\breve
+\expandafter\let\csname BREVEmathaccentV\endcsname=\breve
+\expand:after{\Configure{accent}}\csname
+           brevemathaccentV\expandafter\endcsname
+   \csname BREVEmathaccentV\endcsname{g{011F}I{012C}i{012D}O{014E}o{014F}%
+U{016C}u{016D}A{0102}a{0103}E{0114}%
+e{0115}G{011E}\i{012D}%
+{}{}}
+   {\a:accents{breve}{#1}}   {\b:accents{breve}{#1}{#2}}
+\HRestore\bar
+\expandafter\let\csname barmathaccentV\endcsname=\bar
+\expandafter\let\csname BARmathaccentV\endcsname=\bar
+\expand:after{\Configure{accent}}\csname
+           barmathaccentV\expandafter\endcsname
+   \csname BARmathaccentV\endcsname{{}{}}
+   {\a:accents{bar}{#1}}   {\b:accents{bar}{#1}{#2}}
+\HRestore\vec
+\expandafter\let\csname vecmathaccentV\endcsname=\vec
+\expandafter\let\csname VECmathaccentV\endcsname=\vec
+\expand:after{\Configure{accent}}\csname
+           vecmathaccentV\expandafter\endcsname
+   \csname VECmathaccentV\endcsname{{}{}}
+   {\a:accents{vec}{#1}}   {\b:accents{vec}{#1}{#2}}
+
+\fi
+\def\:temp{charset=iso-8859-2}
+\ifx \a:charset\:UnDef
+      \ifx  \A:charset\:temp \let\:temp=\def \fi
+\else \ifx  \a:charset\:temp \let\:temp=\def \fi
+\fi
+\ifx \:temp\def
+   \:CheckOption{new-accents}     \if:Option \else
+      \HRestore\acute
+\expandafter\let\csname acutemathaccentV\endcsname=\acute
+\expandafter\let\csname ACUTEmathaccentV\endcsname=\acute
+\expand:after{\Configure{accent}}\csname
+           acutemathaccentV\expandafter\endcsname
+   \csname ACUTEmathaccentV\endcsname{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+
+\fi \fi
+
+\fi
+\ConfigureMark{subsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}%
+          \@ifundefined{subsectionname}{}{%
+          \ignorespaces\subsectionname\space}%
+          \@seccntformat{subsection}%
+       \HCode{</span>}\fi }
+\Configure{subsectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesubsection\space
+    \fi\fi #1}
+
+\ConfigureMark{subsubsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}%
+          \@ifundefined{subsubsectionname}{}{%
+          \ignorespaces\subsubsectionname\space}%
+          \@seccntformat{subsubsection}%
+       \HCode{</span>}\fi}
+\Configure{subsubsectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesubsubsection\space
+    \fi\fi #1}
+
+\ConfigureMark{part}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@ifundefined{partname}{}{%
+          \ignorespaces\partname\space}%
+          \@seccntformat{part}%
+       \HCode{</span>}\fi }
+\Configure{part}{}{}
+   {\ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h1 class="partHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
+   {\HCode{</h1>}\HtmlParOn \IgnoreIndent \par}
+\Configure{partTITLE+}{\thepart\space#1}
+\ConfigureMark{section}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@ifundefined{sectionname}{}{%
+          \ignorespaces\sectionname\space}%
+          \@seccntformat{section}%
+       \HCode{</span>}\fi }
+\Configure{sectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesection\space
+    \fi\fi #1}
+
+\Configure{section}{}{}
+   {\ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
+   {\HCode{</h3>}\HtmlParOn \IgnoreIndent \ShowPar\par}
+
+\ConfigureToc{part}
+  {\HCode{<span class="partToc" \a:LRdir>}\toc:Mark{part}}
+  {\End:Mark}
+  {}
+  {\HCode{</span><br />}}
+\ConfigureToc{section}
+  {\HCode{<span class="sectionToc" \a:LRdir>}\toc:Mark{section}}
+  {\End:Mark}
+  {}
+  {\HCode{</span><br />}}
+\ConfigureToc{subsection}
+  {\HCode{<span class="subsectionToc" \a:LRdir>}~~\toc:Mark{subsection}}
+  {\End:Mark}
+  {}
+  {\HCode{</span><br />}}
+\ConfigureToc{subsubsection}
+  {\HCode{<span
+       class="subsubsectionToc" \a:LRdir>}~~~~\toc:Mark{subsubsection}}
+  {\End:Mark}
+  {}
+  {\HCode{</span><br />}}
+\def\toc:Mark#1#2\End:Mark{\if !#2!\else
+   \expandafter\ifx \csname #1name\endcsname\relax\else
+   \csname #1name\endcsname~\fi #2.~~\fi}
+\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
+        {line-height: 200\%; font-weight:bold; font-size:110\%;}}
+  
+\:CheckOption{7}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{6}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else \:CheckOption{5}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{4}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{3}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{2}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{1}     \if:Option
+    \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+    \CutAt{part}
+\CutAt{likepart}
+
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else
+    \Log:Note{for automatic sectioning
+        pagination, use the command line option
+                     `1', `2', `3', '4', '5', '6', or '7'}%
+\fi \fi \fi \fi \fi \fi  \fi
+\:CheckOption{sec-filename}   \if:Option \else
+    \Log:Note{for files named derived from section
+        titles, use the command line option `sec-filename'}%
+\fi
+
+
+{\Configure{Needs}{Font\string_Size: #1}\ifcase  \@ptsize
+   \or \Needs{11}\or \Needs{12}\else \fi}
+
+
+\Configure{subsection}{}{}
+   {\ifvmode \IgnorePar\fi
+    \EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
+    \TitleMark\space \HtmlParOff}
+   {\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{subsubsection}{}{}
+   {\ifvmode \IgnorePar \fi  \EndP
+    \bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead"\a:LRdir>}%
+    \TitleMark\space \HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{paragraph}{}{}
+  {\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}\begingroup\bf}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\ConfigureMark{subparagraph}{\thesubparagraph}
+\Css{.paragraphHead  { margin-top:2em; font-weight: bold;}}
+\Configure{subparagraph}{}{}
+  {\ShowPar\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
+   \TitleMark\space}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\Css{.subparagraphHead { font-weight: bold;}}
+
+\ConfigureToc{likepart}
+  {\HCode{<span class="likepartToc" \a:LRdir>}}
+  {\empty}
+  {}
+  {\HCode{</span><br />}}
+\ConfigureToc{chapter}
+  {\HCode{<span class="chapterToc" \a:LRdir>}%
+   \ifx \chaptername\:UnDef\else \chaptername~\fi}
+  {.~~}
+  {}
+  {\HCode{</span><br />}}
+\ConfigureToc{likechapter}
+  {\HCode{<span class="likechapterToc" \a:LRdir>}}
+  {~~}
+  {}
+  {\HCode{</span><br />}}
+\ConfigureToc{appendix}
+  {\HCode{<span class="appendixToc" \a:LRdir>}%
+   \ifx \appendixname\:UnDef\else \appendixname~\fi}
+  {.~~}
+  {}
+  {\HCode{</span><br />}}
+\Css{.chapterToc a, .chapterToc, .appendixToc a, .appendixToc
+   {line-height: 200\%; font-weight:bold;}}
+\Configure{thanks author date and}
+   {\par\IgnorePar\EndP \HCode{<div class="thanks" \a:LRdir>}\par\ShowPar}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP
+       \HCode{<div class="authors"><div class="author" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div></div>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="date" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\lowercase{\HCode{</div><div>}}}
+   {\HCode{<br />}}
+\Css{div.addresses{ margin-top:0.5em; }}
+\Configure{likepart}{}{}
+   {\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{likepartTITLE+}{#1}
+\ConfigureMark{chapter}
+   {\HCode{<span class="titlemark">}\chaptername
+    \ \thechapter\HCode{</span>}}
+\Configure{chapter}{}{}
+   {\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}%
+     \TitleMark{\HCode{<br />}}}
+   {\HCode{</h2>}\IgnoreIndent\par}
+\Configure{chapterTITLE+}{\thechapter\space#1}
+\ConfigureMark{appendix}{\HCode{<span class="titlemark">}%
+   \appendixname \ \thechapter\HCode{</span>}}
+\Configure{appendix}{}{}
+   {\IgnorePar\EndP\HCode{<h2 class="appendixHead"\a:LRdir>}%
+    \TitleMark{\HCode{<br />}}}
+   {\HCode{</h2>}\IgnoreIndent\par}
+\Configure{appendixTITLE+}{\thechapter\space#1}
+\Configure{likechapter}{}{}
+   {\IgnorePar\EndP\HCode{<h2 class="likechapterHead"\a:LRdir>}}
+   {\HCode{</h2>}\IgnoreIndent\par}
+\Configure{likechapterTITLE+}{#1}
+\Configure{endpart}{likepart}
+\Configure{endlikepart}{endpart}
+\Configure{endchapter}{likechapter,appendix,part,likepart}
+\Configure{endlikechapter}{chapter,appendix,part,likepart}
+\Configure{endappendix}{chapter,likechapter,part,likepart}
+\Configure{endsection}
+   {chapter,likechapter,appendix,part,likepart}
+\Configure{endsubsection}
+   {section,chapter,likechapter,appendix,part,likepart}
+\Configure{endsubsubsection}
+   {subsection,section,chapter,likechapter,appendix,part,likepart}
+\Configure{endparagraph}
+   {subsubsection,subsection,section,chapter,likechapter,%
+    appendix,part,likepart}
+\:CheckOption{1}     \if:Option
+   \:CheckOption{notoc*}     \if:Option
+   \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+      \MiniToc:At{part,/likepart,chapter,appendix,section}
+   \fi
+\else
+   \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+      \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+            section,likesection}
+   \fi
+\fi
+
+\fi
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{amsproc}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ConfigureList{description}%
+   {\EndP\HCode{<dl \a:LRdir class="description">}%
+      \PushMacro\end:itm
+\global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \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">}}
+
+\ConfigureEnv{description}{\IgnorePar}{}{}{}
+\Css{span.footnote-mark{ vertical-align: super; font-size:80\%; }}
+% \Css{span.footnote-mark   sup.textsuperscript,
+%     span.footnote-mark a sup.textsuperscript{ font-size:80\%; }}
+\Configure{translators}
+  {\par\IgnorePar\EndP  \HCode{<div class="translators">}\par\ShowPar}
+  {\ifvmode \IgnorePar \fi\EndP \HCode{</div>}}
+  {\HCode{<span class="translator">}}
+  {\HCode{</span>}}
+\Configure{keywords}
+   {\par\IgnorePar\EndP \HCode{<div class="keywords">}\par\ShowPar}
+   {\ifvmode \IgnorePar \fi\EndP\HCode{</div>}}
+\Configure{subjclass}
+   {\par\IgnorePar\HCode{<div class="subjclass">}\par\ShowPar}
+   {\ifvmode \IgnorePar \fi\EndP\HCode{</div>}}
+\Configure{@maketitle}
+   {\ifvmode \IgnorePar\fi \EndP
+    \Tg<div class="submaketitle">\IgnoreIndent}
+   {\ifvmode \IgnorePar \fi\EndP\Tg</div>}
+\Css{div.submaketitle{ text-align:left;  margin-top:2em;
+   border-top: 1px solid black;
+   border-bottom: 1px solid black;
+   margin-left:5\%;   margin-right:5\%;
+   font-size:85\%; line-height: 95\%;}}
+\Css{div.submaketitle div {margin-top:0.5em; margin-bottom:0.5em; }}
+\Css{div.submaketitle p { margin-top:0em; margin-bottom:0em; }}
+\ConfigureEnv{abstract}
+   {\ifvmode \IgnorePar\fi \EndP}
+   {\ifvmode \IgnorePar\fi \EndP}
+   {}{}
+\ConfigureList{abstract}
+   {\ifvmode \IgnorePar\fi \EndP \Tg<div class="abstract">\ShowPar}
+   {\ifvmode \IgnorePar\fi \EndP\Tg</div>}
+   {\ShowPar\par\HCode{<span class="title">}}
+   {\HCode{</span>}}
+\Configure{setabstract}
+   {\ifvmode \IgnorePar \fi \EndP}
+   {\ifvmode \IgnorePar \fi \EndP}
+\Css{div.abstract{ margin-top: 2em;  text-align:left;
+   margin-right:15pt; margin-left:15pt; }}
+\Configure{addresses}
+   {\ifvmode \IgnorePar\fi \EndP
+     \HCode{<div class="addresses">}\ShowPar}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
+\Configure{address}
+   {\HCode{<span class="address-title">}}
+   {\ifvmode \IgnorePar\fi \HCode{</span><span class="address">}}
+   {\HCode{</span>}}
+\Configure{curraddr}
+   {\HCode{<span class="curraddr-title">}}
+   {\ifvmode \IgnorePar\fi \HCode{</span><span class="curraddr">}}
+   {\HCode{</span>}}
+\Configure{email}
+   {\HCode{<span class="email-title">}}
+   {\ifvmode \IgnorePar\fi \HCode{</span><span class="email">}}
+   {\HCode{</span>}}
+\Configure{urladdr}
+   {\HCode{<span class="urladdr-title">}}
+   {\ifvmode \IgnorePar\fi \HCode{</span><span class="urladdr">}}
+   {\HCode{</span>}}
+\Css{div.addresses p {margin-top:0em; margin-bottom:0em; }}
+\Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+\a:NoSection \let\leavevmode\empty \let\not at math@alphabet\:gobbleII
+\def\text at command##1{##1}\let\selectfont\empty
+\def\check at icl ##1\check at icr{}%
+\let\thanks\:gobble
+\let\\\space \def\TeX{TeX}%
+\def\mbox{\hbox}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\Tag{TITLE+}{\shorttitle}}
+%
+    \HCode{<div  class="maketitle">}%
+    \ConfigureEnv{center}
+       {\ifvmode \IgnorePar\fi} {\ifvmode \IgnorePar\fi}
+       {\ifvmode \IgnorePar\fi} {\ifvmode \IgnorePar\fi}%
+    \:CheckOption{fn-in}\if:Option
+   \:CheckOption{mouseover}\if:Option
+      \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+%
+   \else
+      \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+%
+   \fi
+\else
+   \:CheckOption{mouseover}\if:Option
+      \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+%
+   \else \:CheckOption{frames-fn}\if:Option
+           \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+%
+         \else
+           \Configure{footnotetext}
+   {\csname a:footnote-mark\endcsname
+\HPage{\FNnum}\HCode{<div>}\NoFonts}
+   {\EndNoFonts}
+   {\HCode{</div>}\EndHPage{}\csname b:footnote-mark\endcsname
+}%
+%
+   \fi   \fi
+\fi
+%
+   }
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
+   {\NoFonts\IgnorePar \EndP
+    \HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar
+    \bgroup \Configure{HtmlPar}{}{}{}{}}
+   {\egroup \HCode{</h2>}\IgnoreIndent\EndNoFonts}
+\Css{h2.titleHead{text-align:center;}}
+\Css{div.maketitle{ margin-bottom: 2em; text-align:center; }}
+
+\Configure{caption}{\HCode{\if:nopar  \else <br />\fi}
+   \:xhtml{\IgnorePar\EndP}\HCode{<div class="caption"\Hnewline
+                                 ><span class="id">}}
+   {: } {\HCode{</span><span \Hnewline class="content">}}
+   {\HCode{</span></div>}\HCode{<!--tex4ht:label?:
+   \cur:th\:currentlabel\space-->}%
+}
+\Css{div.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
+                  text-align:left;}}
+\Css{div.caption span.id{font-weight: bold; white-space: nowrap; }}
+
+
+\:CheckOption{no-bib} \if:Option\else
+   \:CheckOption{mouseover} \if:Option
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi\EndP \js:on
+\HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi\EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\csname bibliography2\endcsname
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \EndP\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{</div></bibitem>\Hnewline}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Until bib }%
+%
+\HCode{-->}
+}\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex From bib }%
+%
+\HCode{<bibitem>}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set1 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set2 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{<div class="js">}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{-->}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+        \leavevmode \ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\HCode{<span
+      class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+}
+
+   \else
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\csname bibliography2\endcsname
+\EndP}%
+   \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+    \HCode{<span class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}}
+
+   \fi
+   \Css{p.bibitem { text-indent: -2em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+\Css{p.bibitem-p { text-indent: 0em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+
+\fi
+
+\ifx \deferred at thm@head\:UnDef\else
+   \Configure{proof}
+   {\ifvmode \IgnorePar \fi \EndP
+       \HCode{<div class="proof">}\par\ShowPar
+       \HCode{<span class="head">}\IgnorePar}
+   {\HCode{</span>}\ShowPar}
+   {\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par}
+
+   \Configure{qed}
+     {\HCode{<span class="qed">}} {\HCode{</span>}}
+\Css{.qed {width:2ex; float:right; text-align:right;}}
+\def\:tempc#1#2#3#4#5{%
+  \expandafter\ifx \csname #1mathaccentV\endcsname\relax
+     \o:mathaccentV:{#1}{#2}{#3}{#4}{#5}%
+  \else  \csname #1mathaccentV\endcsname{#5}\fi}
+\HLet\mathaccentV\:tempc
+\:CheckOption{new-accents}     \if:Option \else
+   \HRestore\grave
+\expandafter\let\csname gravemathaccentV\endcsname=\grave
+\expandafter\let\csname GRAVEmathaccentV\endcsname=\grave
+\expand:after{\Configure{accent}}\csname
+           gravemathaccentV\expandafter\endcsname
+   \csname GRAVEmathaccentV\endcsname{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
+Y{1EF2}a{00E0}e{00E8}i{00EC}n{01F9}o{00F2}u{00F9}%
+w{1E81}y{1EF3}\i{00EC}%
+{}{}}
+   {\a:accents{grave}{#1}}   {\b:accents{grave}{#1}{#2}}
+\HRestore\acute
+\expandafter\let\csname acutemathaccentV\endcsname=\acute
+\expandafter\let\csname ACUTEmathaccentV\endcsname=\acute
+\expand:after{\Configure{accent}}\csname
+           acutemathaccentV\expandafter\endcsname
+   \csname ACUTEmathaccentV\endcsname{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+\HRestore\hat
+\expandafter\let\csname hatmathaccentV\endcsname=\hat
+\expandafter\let\csname HATmathaccentV\endcsname=\hat
+\expand:after{\Configure{accent}}\csname
+           hatmathaccentV\expandafter\endcsname
+   \csname HATmathaccentV\endcsname{{}{}}
+   {\a:accents{hat}{#1}}   {\b:accents{hat}{#1}{#2}}
+\HRestore\tilde
+\expandafter\let\csname tildemathaccentV\endcsname=\tilde
+\expandafter\let\csname TILDEmathaccentV\endcsname=\tilde
+\expand:after{\Configure{accent}}\csname
+           tildemathaccentV\expandafter\endcsname
+   \csname TILDEmathaccentV\endcsname{A{00C3}N{00D1}O{00D5}a{00E3}n{00F1}o{00F5}I{0128}%
+i{0129}U{0168}u{0169}V{1E7C}v{1E7D}E{1EBC}e{1EBD}%
+Y{1EF8}y{1EF9}\i{0129}%
+{}{}}
+   {\a:accents{tilde}{#1}}   {\b:accents{tilde}{#1}{#2}}
+\HRestore\ddot
+\expandafter\let\csname DDOTmathaccentV\endcsname=\ddot
+\expand:after{\Configure{accent}}\csname
+           DDOTmathaccentV\expandafter\endcsname
+   \csname DDOTmathaccentV\endcsname{{}{}}
+   {\a:accents{ddot}{#1}}   {\b:accents{ddot}{#1}{#2}}
+\expandafter\let\csname ddotmathaccentV\endcsname=\ddot
+\expand:after{\Configure{accent}}\csname
+           ddotmathaccentV\expandafter\endcsname
+   \csname ddotmathaccentv\endcsname{{}{}}
+   {\a:accents{ddot}{#1}}   {\b:accents{ddot}{#1}{#2}}
+\HRestore\check
+\expandafter\let\csname checkmathaccentV\endcsname=\check
+\expandafter\let\csname CHECKmathaccentV\endcsname=\check
+\expand:after{\Configure{accent}}\csname
+           checkmathaccentV\expandafter\endcsname
+   \csname CHECKmathaccentV\endcsname{C{010C}c{010D}D{010E}d{010F}%
+E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
+S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
+i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
+j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
+{}{}}
+   {\a:accents{check}{#1}}   {\b:accents{check}{#1}{#2}}
+\HRestore\dot
+\expandafter\let\csname dotmathaccentV\endcsname=\dot
+\expandafter\let\csname DOTmathaccentV\endcsname=\dot
+\expand:after{\Configure{accent}}\csname
+           dotmathaccentV\expandafter\endcsname
+   \csname DOTmathaccentV\endcsname{C{010A}c{010B}E{0116}e{0117}G{0120}g{0121}%
+I{0130}Z{017B}z{017C}A{0226}a{0227}O{022E}%
+o{022F}B{1E02}b{1E03}D{1E0A}d{1E0B}F{1E1E}%
+f{1E1F}H{1E22}h{1E23}M{1E40}m{1E41}N{1E44}%
+n{1E45}P{1E56}p{1E57}R{1E58}r{1E59}S{1E60}%
+s{1E61}T{1E6A}t{1E6B}W{1E86}w{1E87}X{1E8A}%
+x{1E8B}Y{1E8E}y{1E8F}%
+{}{}}
+   {\a:accents{dot}{#1}}   {\b:accents{dot}{#1}{#2}}
+\HRestore\breve
+\expandafter\let\csname brevemathaccentV\endcsname=\breve
+\expandafter\let\csname BREVEmathaccentV\endcsname=\breve
+\expand:after{\Configure{accent}}\csname
+           brevemathaccentV\expandafter\endcsname
+   \csname BREVEmathaccentV\endcsname{g{011F}I{012C}i{012D}O{014E}o{014F}%
+U{016C}u{016D}A{0102}a{0103}E{0114}%
+e{0115}G{011E}\i{012D}%
+{}{}}
+   {\a:accents{breve}{#1}}   {\b:accents{breve}{#1}{#2}}
+\HRestore\bar
+\expandafter\let\csname barmathaccentV\endcsname=\bar
+\expandafter\let\csname BARmathaccentV\endcsname=\bar
+\expand:after{\Configure{accent}}\csname
+           barmathaccentV\expandafter\endcsname
+   \csname BARmathaccentV\endcsname{{}{}}
+   {\a:accents{bar}{#1}}   {\b:accents{bar}{#1}{#2}}
+\HRestore\vec
+\expandafter\let\csname vecmathaccentV\endcsname=\vec
+\expandafter\let\csname VECmathaccentV\endcsname=\vec
+\expand:after{\Configure{accent}}\csname
+           vecmathaccentV\expandafter\endcsname
+   \csname VECmathaccentV\endcsname{{}{}}
+   {\a:accents{vec}{#1}}   {\b:accents{vec}{#1}{#2}}
+
+\fi
+\def\:temp{charset=iso-8859-2}
+\ifx \a:charset\:UnDef
+      \ifx  \A:charset\:temp \let\:temp=\def \fi
+\else \ifx  \a:charset\:temp \let\:temp=\def \fi
+\fi
+\ifx \:temp\def
+   \:CheckOption{new-accents}     \if:Option \else
+      \HRestore\acute
+\expandafter\let\csname acutemathaccentV\endcsname=\acute
+\expandafter\let\csname ACUTEmathaccentV\endcsname=\acute
+\expand:after{\Configure{accent}}\csname
+           acutemathaccentV\expandafter\endcsname
+   \csname ACUTEmathaccentV\endcsname{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+
+\fi \fi
+
+\fi
+\ConfigureMark{subsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}%
+          \@ifundefined{subsectionname}{}{%
+          \ignorespaces\subsectionname\space}%
+          \@seccntformat{subsection}%
+       \HCode{</span>}\fi }
+\Configure{subsectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesubsection\space
+    \fi\fi #1}
+
+\ConfigureMark{subsubsection}
+   {\ifnum \c:secnumdepth>\c at secnumdepth  \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}%
+          \@ifundefined{subsubsectionname}{}{%
+          \ignorespaces\subsubsectionname\space}%
+          \@seccntformat{subsubsection}%
+       \HCode{</span>}\fi}
+\Configure{subsubsectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesubsubsection\space
+    \fi\fi #1}
+
+\ConfigureMark{part}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@ifundefined{partname}{}{%
+          \ignorespaces\partname\space}%
+          \@seccntformat{part}%
+       \HCode{</span>}\fi }
+\Configure{part}{}{}
+   {\ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h1 class="partHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
+   {\HCode{</h1>}\HtmlParOn \IgnoreIndent \par}
+\Configure{partTITLE+}{\thepart\space#1}
+\ConfigureMark{section}
+   {\ifnum \c:secnumdepth>\c at secnumdepth \expandafter\:gobble
+    \else
+       \HCode{<span class="titlemark">}\@ifundefined{sectionname}{}{%
+          \ignorespaces\sectionname\space}%
+          \@seccntformat{section}%
+       \HCode{</span>}\fi }
+\Configure{sectionTITLE+}{\ifnum \c:secnumdepth>\c at secnumdepth
+      \ifnum \c at secnumdepth > 0
+      \thesection\space
+    \fi\fi #1}
+
+\Configure{section}{}{}
+   {\ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
+   {\HCode{</h3>}\HtmlParOn \IgnoreIndent \ShowPar\par}
+
+\ConfigureToc{part}
+  {\HCode{<span class="partToc" \a:LRdir>}\toc:Mark{part}}
+  {\End:Mark}
+  {}
+  {\HCode{</span><br />}}
+\ConfigureToc{section}
+  {\HCode{<span class="sectionToc" \a:LRdir>}\toc:Mark{section}}
+  {\End:Mark}
+  {}
+  {\HCode{</span><br />}}
+\ConfigureToc{subsection}
+  {\HCode{<span class="subsectionToc" \a:LRdir>}~~\toc:Mark{subsection}}
+  {\End:Mark}
+  {}
+  {\HCode{</span><br />}}
+\ConfigureToc{subsubsection}
+  {\HCode{<span
+       class="subsubsectionToc" \a:LRdir>}~~~~\toc:Mark{subsubsection}}
+  {\End:Mark}
+  {}
+  {\HCode{</span><br />}}
+\def\toc:Mark#1#2\End:Mark{\if !#2!\else
+   \expandafter\ifx \csname #1name\endcsname\relax\else
+   \csname #1name\endcsname~\fi #2.~~\fi}
+\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
+        {line-height: 200\%; font-weight:bold; font-size:110\%;}}
+  
+\:CheckOption{7}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{6}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else \:CheckOption{5}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{4}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{3}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{2}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{1}     \if:Option
+    \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+    \CutAt{part}
+\CutAt{likepart}
+
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else
+    \Log:Note{for automatic sectioning
+        pagination, use the command line option
+                     `1', `2', `3', '4', '5', '6', or '7'}%
+\fi \fi \fi \fi \fi \fi  \fi
+\:CheckOption{sec-filename}   \if:Option \else
+    \Log:Note{for files named derived from section
+        titles, use the command line option `sec-filename'}%
+\fi
+
+
+{\Configure{Needs}{Font\string_Size: #1}\ifcase  \@ptsize
+   \or \Needs{11}\or \Needs{12}\else \fi}
+
+
+\Configure{subsection}{}{}
+   {\ifvmode \IgnorePar\fi
+    \EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
+    \TitleMark\space \HtmlParOff}
+   {\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{subsubsection}{}{}
+   {\ifvmode \IgnorePar \fi  \EndP
+    \bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead"\a:LRdir>}%
+    \TitleMark\space \HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{paragraph}{}{}
+  {\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}\begingroup\bf}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\ConfigureMark{subparagraph}{\thesubparagraph}
+\Css{.paragraphHead  { margin-top:2em; font-weight: bold;}}
+\Configure{subparagraph}{}{}
+  {\ShowPar\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
+   \TitleMark\space}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\Css{.subparagraphHead { font-weight: bold;}}
+
+\Css{div.translators {text-align:right; margin-bottom:0.7em;}}
+\Configure{thanks author date and}
+   {\par\IgnorePar\EndP \HCode{<div class="thanks" \a:LRdir>}\par\ShowPar}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP
+       \HCode{<div class="authors"><span class="author" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</span></div>}}
+   {\par\IgnorePar\EndP \HCode{<div class="date" \a:LRdir>}\par\ShowPar}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\lowercase{\HCode{</span><span class="and">}}and~%
+    \lowercase{\HCode{</span><span>}}}
+   {\HCode{<br />}}
+\Configure{endsection}
+     {part}
+\Configure{endsubsection}
+   {section,part}
+\Configure{endsubsubsection}
+   {subsection,section,part}
+\Configure{endparagraph}
+   {subsubsection,subsection,section,part}
+\:CheckOption{1}     \if:Option
+  \:CheckOption{notoc*}     \if:Option
+   \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+      \MiniToc:At{part,/likepart,section,subsection}
+   \fi
+   \Configure{tableofcontents*}{part,section}
+\else
+   \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+      \MiniToc:At{part,/likepart,section,likesection,%
+           subsection,likesubsection}
+   \fi
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}{part,likepart,section,likesection}
+\fi
+
+\fi
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{amsthm}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ConfigureEnv{proof}{\par\leavevmode}{\par\ShowPar}{}{}
+\Configure{proof}
+   {\ifvmode \IgnorePar \fi \EndP
+       \HCode{<div class="proof">}\par\ShowPar
+       \HCode{<span class="head">}\IgnorePar}
+   {\HCode{</span>}\ShowPar}
+   {\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{amsmath}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ConfigureEnv{subequations}
+  {\ifvmode \IgnorePar\fi \EndP
+   \HCode{<div class="subequations">}}
+  {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
+  {}{}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{amstex1}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ConfigureEnv{aligned}{\m:env{aligned}}{\endm:env}{}{}
+\def\m:env#1{\relax\ifmmode\else\par\fi\:xhtml{\IgnorePar\EndP}%
+  \HCode{<div class="center-#1"><table class="#1"\Hnewline
+   border="0" cellpadding="0" cellspacing="15"><tr><td>}
+   \Css{div.center-#1{text-align: center;}}
+ }
+\def\endm:env{\:xhtml{\IgnorePar\EndP}%
+   \HCode{</td></tr></table></center>}\IgnorePar
+   \ifmmode\else\par\fi}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{amsppt}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ifx \EnditemitemList\:UnDef
+    \Configure{itemitem}
+   {}{}
+   {\par{\Configure{HtmlPar}{\Tg<p class="itemitem" \a:LRdir>}
+                            {\Tg<p class="itemitem" \a:LRdir>} {}{}%
+         \:xhtml{\Configure{HtmlPar}{\EndP\Tg<div class="itemitem" \a:LRdir>}
+                            {\EndP\Tg<div class="itemitem" \a:LRdir>}
+                            {\Tg</div>}{\Tg</div>}}%
+         \noindent}}
+   {}
+   \Css{.itemitem {margin-left: 5em; text-indent: -2em;
+                margin-top: 0.5em; margin-bottom: 0.5em;}}
+\fi
+\Configure{specialhead}{}{}
+   {\IgnorePar\EndP\HCode{<h1 class="amsspecialheadHead"\a:LRdir>}}
+   {\HCode{</h1>}\IgnoreIndent}
+\ConfigureToc{specialhead}
+   {\HCode{<div class="center">}\ignorespaces}{ }
+   {}{\HCode{</div>}}
+\Configure{head}{}{}
+   {\IgnorePar\EndP\HCode{<h2 class="amsheadHead"\a:LRdir>}}
+   {\HCode{</h2>}\IgnoreIndent}
+\ConfigureToc{head}
+   {\ignorespaces}{ }{}{\HCode{<br />}}
+\Configure{subhead}{}{}
+   {\IgnorePar\EndP\HCode{<h3 class="amssubheadHead"\a:LRdir>}}
+   {\HCode{</h3>}\IgnoreIndent}
+\ConfigureToc{subhead}
+   {\:nbsp\:nbsp\:nbsp\:nbsp\ignorespaces} { }
+   {} {\HCode{<br />}}
+\Configure{subsubhead}{}{}
+   {\IgnorePar\EndP\HCode{<h4 class="amssubsubheadHead"\a:LRdir>}}
+   {\HCode{</h4>}\IgnoreIndent}
+\ConfigureToc{subsubhead}
+  {\:nbsp\:nbsp\:nbsp\:nbsp\:nbsp%
+       \:nbsp\:nbsp\:nbsp\ignorespaces} { } {} {\HCode{<br />}}
+\Configure{block}
+   {\IgnorePar\EndP
+       \HCode{<table cellpadding="15"><tr><td>}\IgnorePar\par}
+   {\IgnorePar\HCode{</td></tr></table>}\IgnorePar\par}
+\Configure{caption}
+   {\:xhtml{\IgnorePar\EndP}\HCode{<div class="caption">}}{}{\HCode{</div>}}
+\Css{div.caption {text-align:center;}}
+
+\Configure{roster}
+    {\IgnorePar\EndP\HCode{<table>}\let\end:item\empty}
+    {\IgnorePar\end:item\HCode{</table>}\IgnorePar\par}
+    {\IgnorePar\end:item \HCode{<tr style="vertical-align:top;"><td>}
+                        \def\end:item{\EndP\HCode{</td></tr>}}}
+    {\:nbsp\EndP\HCode{</td><td>}\ShowPar}
+    {\IgnorePar\EndP\HCode{<table>}\let\end:iitem\empty}
+    {\IgnorePar\end:iitem\HCode{</table>}\IgnorePar\par}
+    {\IgnorePar\end:iitem\HCode{<tr style="vertical-align:top;"><td>}}
+    {\HCode{</td><td>}
+      \def\end:iitem{\EndP\HCode{</td></tr>}}}
+\Configure{vol}{\HCode{<strong>}}{\HCode{</strong>}}
+\Configure{book}{\HCode{<em>}}{\HCode{</em>}}
+\Configure{paper}{\HCode{<em>}}{\HCode{</em>}}
+\Configure{Refs}{\IgnorePar\EndP\HCode{<table class="Refs">}}
+                {\HCode{</table>}}
+\Configure{ref}{\HCode{<tr style="vertical-align:top;"><td style="text-align:right;">}}
+               {\EndP\HCode{</td></tr>}}{}
+\Configure{keyformat}{}{\EndP\HCode{</td><td>}}
+
+
+\Configure{title}
+   {\IgnorePar\par\HCode{<div\Hnewline class="title">}}
+   {\IgnorePar\EndP\HCode{</div>}\IgnorePar}
+\Css{div.title {margin-top: 0.5em;
+                font-weight: bold; text-align:center;}}
+
+\Configure{author}
+   {\IgnorePar\par\HCode{<div\Hnewline class="author">}}
+   {\IgnorePar\EndP\HCode{</div>}\IgnorePar}
+\Css{div.author {text-align:center}}
+
+\Configure{affil}
+   {\IgnorePar\par\HCode{<div\Hnewline class="affil">}}
+   {\IgnorePar\EndP\HCode{</div>}\IgnorePar}
+\Css{.affil {text-align:center}}
+
+\Configure{date}
+   {\IgnorePar\par\HCode{<div\Hnewline class="date" \a:LRdir>}}
+   {\IgnorePar\EndP\HCode{</div>}\IgnorePar
+      \append:def\c:footnote{ }%
+   }
+\Css{.date {text-align:center}}
+
+\Configure{abstract}
+   {\IgnorePar\par
+    \HCode{<div\Hnewline class="abstract">}\ShowPar\IgnoreIndent\par}
+   {}
+   {}
+   {\IgnorePar\EndP\HCode{</div>}\IgnorePar}
+\Css{.abstract, .subjclass, .thanks, .keywords
+   {margin-left:5\%; margin-right:5\%;}}
+
+\Configure{subjclass}
+   {\ifx \m:top\:Undef
+       \let\m:top\relax \Css{.subjclass {margin-top:1em; }}%
+    \fi  \Tg<div class="subjclass">}
+   {\Tg</div>}
+\Configure{thanks}
+   {\ifx \m:top\:Undef
+       \let\m:top\relax \Css{.thanks {margin-top:1em; }}%
+    \fi  \Tg<div class="thanks">}
+   {\Tg</div>}
+\Configure{keywords}
+   {\ifx \m:top\:Undef
+       \let\m:top\relax \Css{.keywords {margin-top:1em; }}%
+    \fi  \ifvmode \IgnorePar\fi\EndP\Tg<div class="keywords">}
+   {\ifvmode \IgnorePar\fi \EndP\Tg</div>}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{babel}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{quotedblbase}{\leavevmode\ht:special{t4ht at +&{35}x201E;}x}
+\Configure{quotesinglbase}{\leavevmode\ht:special{t4ht at +&{35}x201A;}x}
+
+\:CheckOption{new-accents}     \if:Option \else
+   \Configure{accent}\lower at umlaut\lower at umlaut{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
+t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
+a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
+Y{0178}\i{00EF}%
+{}{34}}
+   {\a:accents{uml}{#1}}     {\b:accents{uml}{#1}{#2}}
+\fi
+
+
+\def\a:temp#1#2#3{%
+   \ifOption{charset=#2}{\def\a:charset{charset=#2}}{}%
+   \def\:tempa{#1}\ifx \languagename\:tempa
+      \def\A:charset{#2}\ifx \A:charset\empty\else
+         \def\A:charset{charset=#2}%
+      \fi
+      \if !#3!\else
+         \Configure{@HTML}{%
+            \iflanguage{#1}{xml:lang="#3" }{}%
+         }
+      \fi
+   \fi}
+\a:temp{afrikaans}{iso-8859-1}{af}
+\a:temp{arabic}{iso-8859-6}{ar}
+\a:temp{austrian}{iso-8859-1}{ge}
+\a:temp{brazilian}{iso-8859-1}{pt}
+\a:temp{brazil}{iso-8859-1}{pt}
+\a:temp{catalan}{iso-8859-1}{ca}
+\a:temp{croatian}{iso-8859-2}{hr}
+\a:temp{czech}{iso-8859-2}{cs}
+\a:temp{danish}{iso-8859-1}{da}
+\a:temp{dutch}{iso-8859-1}{nl}
+\a:temp{esperanto}{iso-8859-3}{eo}
+\a:temp{estonian}{iso-8859-5}{et}
+\a:temp{finnish}{iso-8859-1}{fi}
+\a:temp{francais}{iso-8859-1}{fr}
+\a:temp{frenchb}{iso-8859-1}{fr}
+\a:temp{french}{iso-8859-1}{fr}
+\a:temp{galician}{iso-8859-1}{gl}
+\a:temp{germanb}{iso-8859-1}{de}
+\a:temp{german}{iso-8859-1}{de}
+\a:temp{greek}{iso-8859-7}{el}
+\a:temp{hebrew}{iso-8859-8}{he}
+\a:temp{hungarian}{iso-8859-2}{hu}
+\a:temp{ngerman}{iso-8859-1}{de}
+\a:temp{norsk}{iso-8859-1}{no}
+\a:temp{nynorsk}{iso-8859-1}{no}
+\a:temp{polish}{iso-8859-2}{pl}
+\a:temp{polski}{iso-8859-2}{pl}
+\a:temp{polutonikogreek}{iso-8859-7}{el}
+\a:temp{portuges}{iso-8859-1}{pt}
+\a:temp{portuguese}{iso-8859-1}{pt}
+\a:temp{romanian}{iso-8859-2}{ro}
+\a:temp{scottish}{iso-8859-1}{gd}
+\a:temp{slovak}{iso-8859-2}{sk}
+\a:temp{slovene}{iso-8859-2}{sl}
+\a:temp{spanish}{iso-8859-1}{es}
+\a:temp{swedish}{iso-8859-1}{sv}
+\a:temp{turkish}{iso-8859-9}{tr}
+\a:temp{ukrainian}{iso-8859-5}{uk}
+\a:temp{uppersorbian}{iso-8859-2}{}
+\a:temp{welsh}{iso-8859-1}{cy}
+\def\:temp{charset=koi8-r}\ifx \A:charset\:temp \else
+   \a:temp{russian}{iso-8859-5}{ru}
+\fi
+
+
+\def\:temp{charset=iso-8859-2}
+\ifx \a:charset\:UnDef
+      \ifx  \A:charset\:temp \let\:temp=\def \fi
+\else \ifx  \a:charset\:temp \let\:temp=\def \fi
+\fi
+\ifx \:temp\def
+   \:CheckOption{new-accents}     \if:Option \else
+      \expand:after{\Configure{accent}}\csname T1\string\`\expandafter\endcsname
+   \csname T1\string\`\endcsname{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
+Y{1EF2}a{00E0}e{00E8}i{00EC}n{01F9}o{00F2}u{00F9}%
+w{1E81}y{1EF3}\i{00EC}%
+{}{}}
+   {\a:accents{grave}{#1}}   {\b:accents{grave}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\'\expandafter\endcsname
+   \csname T1\string\'\endcsname{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\^\expandafter\endcsname
+   \csname T1\string\^\endcsname{A{00C2}E{00CA}I{00CE}O{00D4}U{00DB}a{00E2}e{00EA}%
+i{00EE}o{00F4}u{00FB}C{0108}c{0109}G{011C}g{011D}%
+H{0124}h{0125}J{0134}j{0135}S{015C}s{015D}W{0174}%
+w{0175}Y{0176}y{0177}Z{1E90}z{1E91}\i{00EE}\j{0135}%
+{}{}}
+   {\a:accents{circ}{#1}}   {\b:accents{circ}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\~\expandafter\endcsname
+   \csname T1\string\~\endcsname{A{00C3}N{00D1}O{00D5}a{00E3}n{00F1}o{00F5}I{0128}%
+i{0129}U{0168}u{0169}V{1E7C}v{1E7D}E{1EBC}e{1EBD}%
+Y{1EF8}y{1EF9}\i{0129}%
+{}{}}
+   {\a:accents{tilde}{#1}}   {\b:accents{tilde}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\"\expandafter\endcsname
+   \csname T1\string\"\endcsname{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
+t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
+a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
+Y{0178}\i{00EF}%
+{}{34}}
+   {\a:accents{uml}{#1}}     {\b:accents{uml}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\r\endcsname
+   \mathring{A{00C5}a{00E5}U{016E}u{016F}%
+{}{}}
+   {\a:accents{ring}{#1}}   {\b:accents{ring}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\c\endcsname}%
+   \csname T1\string\c\endcsname{K{0136}k{0137}L{013B}l{013C}N{0145}n{0146}%
+R{0156}r{0157}S{015E}s{015F}T{0162}t{0163}%
+E{0228}e{0229}D{1E10}d{1E11}H{1E28}h{1E29}%
+C{00C7}c{00E7}G{0122}g{0123}%
+{}{}}
+   {\a:accents{cedil}{#1}}     {\b:accents{cedil}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\t\endcsname}%
+   \csname T1\string\t\endcsname{{}{}}
+   {\a:accents{udot}{#1}}     {\b:accents{udot}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\H\endcsname}%
+   \csname T1\string\H\endcsname{o{0151}O{0150}U{0170}u{0171}%
+{}{}}
+   {\a:accents{Huml}{#1}}{\b:accents{Huml}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\b\endcsname}%
+   \csname T1\string\b\endcsname{B{1E06}b{1E07}%
+D{1E0E}d{1E0F}K{1E34}k{1E35}L{1E3A}l{1E3B}N{1E48}n{1E49}%
+R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}%
+{}{}}
+   {\a:accents{b}{#1}}     {\b:accents{b}{#1}{#2}}
+\expand:after{\expand:after{\Configure{accent}}%
+   \csname T1\string\d\endcsname}%
+   \csname T1\string\d\endcsname{A{1EA0}a{1Ea1}B{1E04}b{1E05}D{1E0C}d{1E0D}%
+E{1EB8}e{1EB9}H{1E24}h{1E25}I{1ECA}i{1ECB}%
+K{1E32}k{1E33}L{1E36}l{1E37}M{1E42}m{1E43}%
+N{1E46}n{1E47}O{1ECC}o{1ECD}R{1E5A}r{1E5B}%
+S{1E62}s{1E63}T{1E6C}t{1E6D}U{1EE4}u{1EE5}%
+V{1E7E}v{1E7F}W{1E88}w{1E89}Y{1EF4}y{1EF5}%
+{}{}}
+   {\a:accents{d}{#1}}     {\b:accents{d}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\.\expandafter\endcsname
+   \csname T1\string\.\endcsname
+   {{}{}}
+   {\a:accents{dot}{#1}}{\b:accents{dot}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\u\expandafter\endcsname
+   \csname T1\string\u\endcsname
+   {g{011F}I{012C}i{012D}O{014E}o{014F}%
+U{016C}u{016D}A{0102}a{0103}E{0114}%
+e{0115}G{011E}\i{012D}%
+{}{}}
+   {\a:accents{breve}{#1}}{\b:accents{breve}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\vec\expandafter\endcsname
+   \csname T1\string\vec\endcsname
+   {{}{}}
+   {\a:accents{vec}{#1}}{\b:accents{vec}{#1}{#2}}
+\expandafter\let\csname T1\string\v\endcsname\:UnDef
+\expand:after{\Configure{accent}}\csname T1\string\v\expandafter\endcsname
+   \csname T1\string\v\endcsname
+   {C{010C}c{010D}D{010E}d{010F}%
+E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
+S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
+i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
+j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
+{}{}}
+   {\a:accents{check}{#1}}{\b:accents{check}{#1}{#2}}
+\expand:after{\Configure{accent}}\csname T1\string\=\expandafter\endcsname
+   \csname T1\string\=\endcsname
+   {{}{}}
+   {\a:accents{bar}{#1}}{\b:accents{bar}{#1}{#2}}
+
+\Configure{accent}\`\grave{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
+Y{1EF2}a{00E0}e{00E8}i{00EC}n{01F9}o{00F2}u{00F9}%
+w{1E81}y{1EF3}\i{00EC}%
+{}{}}
+   {\a:accents{grave}{#1}}   {\b:accents{grave}{#1}{#2}}
+\Configure{accent}\'\acute{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+\Configure{accent}\^\hat{A{00C2}E{00CA}I{00CE}O{00D4}U{00DB}a{00E2}e{00EA}%
+i{00EE}o{00F4}u{00FB}C{0108}c{0109}G{011C}g{011D}%
+H{0124}h{0125}J{0134}j{0135}S{015C}s{015D}W{0174}%
+w{0175}Y{0176}y{0177}Z{1E90}z{1E91}\i{00EE}\j{0135}%
+{}{}}
+   {\a:accents{hat}{#1}}   {\b:accents{hat}{#1}{#2}}
+\Configure{accent}\~\tilde{A{00C3}N{00D1}O{00D5}a{00E3}n{00F1}o{00F5}I{0128}%
+i{0129}U{0168}u{0169}V{1E7C}v{1E7D}E{1EBC}e{1EBD}%
+Y{1EF8}y{1EF9}\i{0129}%
+{}{}}
+   {\a:accents{tilde}{#1}}   {\b:accents{tilde}{#1}{#2}}
+\Configure{accent}\"\ddot{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
+t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
+a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
+Y{0178}\i{00EF}%
+{}{34}}
+   {\a:accents{uml}{#1}}   {\b:accents{uml}{#1}{#2}}
+\Configure{accent}\c\c{K{0136}k{0137}L{013B}l{013C}N{0145}n{0146}%
+R{0156}r{0157}S{015E}s{015F}T{0162}t{0163}%
+E{0228}e{0229}D{1E10}d{1E11}H{1E28}h{1E29}%
+C{00C7}c{00E7}G{0122}g{0123}%
+{}{}}
+   {\a:accents{cedil}{#1}}     {\b:accents{cedil}{#1}{#2}}
+\Configure{accent}\t\t{{}{}}
+   {\a:accents{udot}{#1}}     {\b:accents{udot}{#1}{#2}}
+\Configure{accent}\H\H{o{0151}O{0150}U{0170}u{0171}%
+{}{}}
+   {\a:accents{Huml}{#1}}     {\b:accents{Huml}{#1}{#2}}
+\Configure{accent}\b\b{{}{}}
+   {\a:accents{b}{#1}}     {\b:accents{b}{#1}{#2}}
+\Configure{accent}\d\d{{}{}}
+   {\a:accents{d}{#1}}     {\b:accents{d}{#1}{#2}}
+\Configure{accent}\.\.{C{010A}c{010B}E{0116}e{0117}G{0120}g{0121}%
+I{0130}Z{017B}z{017C}A{0226}a{0227}O{022E}%
+o{022F}B{1E02}b{1E03}D{1E0A}d{1E0B}F{1E1E}%
+f{1E1F}H{1E22}h{1E23}M{1E40}m{1E41}N{1E44}%
+n{1E45}P{1E56}p{1E57}R{1E58}r{1E59}S{1E60}%
+s{1E61}T{1E6A}t{1E6B}W{1E86}w{1E87}X{1E8A}%
+x{1E8B}Y{1E8E}y{1E8F}%
+{}{}}
+   {\a:accents{dot}{#1}}      {\b:accents{dot}{#1}{#2}}
+\Configure{accent}\dot\dot{C{010A}c{010B}E{0116}e{0117}G{0120}g{0121}%
+I{0130}Z{017B}z{017C}A{0226}a{0227}O{022E}%
+o{022F}B{1E02}b{1E03}D{1E0A}d{1E0B}F{1E1E}%
+f{1E1F}H{1E22}h{1E23}M{1E40}m{1E41}N{1E44}%
+n{1E45}P{1E56}p{1E57}R{1E58}r{1E59}S{1E60}%
+s{1E61}T{1E6A}t{1E6B}W{1E86}w{1E87}X{1E8A}%
+x{1E8B}Y{1E8E}y{1E8F}%
+{}{}}
+   {\a:accents{dot}{#1}}      {\b:accents{dot}{#1}{#2}}
+\Configure{accent}\u\breve{g{011F}I{012C}i{012D}O{014E}o{014F}%
+U{016C}u{016D}A{0102}a{0103}E{0114}%
+e{0115}G{011E}\i{012D}%
+{}{}}
+   {\a:accents{breve}{#1}}      {\b:accents{breve}{#1}{#2}}
+\Configure{accent}\vec\vec{{}{}}
+   {\a:accents{vec}{#1}}      {\b:accents{vec}{#1}{#2}}
+\Configure{accent}\v\v{C{010C}c{010D}D{010E}d{010F}%
+E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
+S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
+i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
+j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
+{}{}}
+   {\a:accents{check}{#1}}      {\b:accents{check}{#1}{#2}}
+\Configure{accent}\check\check{C{010C}c{010D}D{010E}d{010F}%
+E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
+S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
+i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
+j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
+{}{}}
+   {\a:accents{check}{#1}}      {\b:accents{check}{#1}{#2}}
+\Configure{accent}\=\bar{{}{}}
+   {\a:accents{bar}{#1}}      {\b:accents{bar}{#1}{#2}}
+
+\fi \fi
+
+
+\:CheckOption{new-accents}     \if:Option \else
+\Configure{accent}\bbl at umlauta
+   \bbl at umlaute{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
+t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
+a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
+Y{0178}\i{00EF}%
+{}{34}}
+   {\a:accents{uml}{#1}}     {\b:accents{uml}{#1}{#2}}
+\fi
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{ngerman}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \:CheckOption{new-accents}     \if:Option \else
+   \Configure{accent}\grmn at OTumlaut
+      \grmn at OTumlaut{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
+t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
+a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
+Y{0178}\i{00EF}%
+{}{34}}
+   {\a:accents{uml}{#1}}     {\b:accents{uml}{#1}{#2}}
+\fi
+\Configure{quotedblbase}{\leavevmode\ht:special{t4ht at +&{35}x201E;}x}
+\Configure{quotesinglbase}{\leavevmode\ht:special{t4ht at +&{35}x201A;}x}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{plain}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \:CheckOption{fn-in}\if:Option
+   \Configure{vfootnote}
+  {\HCode{<sup>}\Link{fn\FNnum}{fn\FNnum-bk}%
+      \ifx \FNmark\empty +\else \FNmark\fi\EndLink
+\HCode{</sup>}%
+}
+  {\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
+   \ifvoid\fn:box\else  \csname unvbox\endcsname\fn:box\fi
+%
+\HCode{<sup>}\Link{fn\FNnum-bk}{fn\FNnum}%
+\ifx \FNmark\empty +\else \FNmark\fi
+\EndLink\space\HCode{</sup>}%
+}
+  {\EndP\egroup\RecallEndP
+
+}
+
+\else
+   \Log:Note{for inline footnotes, use
+          the command line option `fn-in'}
+   \Configure{vfootnote}
+   {\HPageButton[fn\FNnum]{\FNmark}}
+   {\BeginHPage[fn\FNnum]{ }}
+   {\EndHPage{}}
+
+\fi
+\Configure{obeylines}
+   {\ifvmode \:xhtml{\IgnorePar\EndP}\IgnoreIndent
+       \HCode{<div class="obeylines-v">}%
+       \gdef\ob:ln{\ht:special{t4ht=</div>}}%
+    \else
+       \SaveEndP \HCode{<span class="obeylines-h">}%
+       \gdef\ob:ln{\ht:special{t4ht=</span>}\RecallEndP}%
+    \fi
+   }
+   {\EndP\ob:ln\ShowPar}
+   {\hbox{\HCode{<br />}}}
+\Css{.obeylines-h,.obeylines-v {white-space: nowrap; }}
+\Css{div.obeylines-v p { margin-top:0; margin-bottom:0; }}
+\Configure{overline}
+   {\HCode{<span class="overline">}}
+   {\HCode{</span>}}
+\Css{.overline{ text-decoration:overline; }}
+\Css{.overline img{ border-top: 1px solid black;  }}
+\Configure{displaylines}
+   {\IgnorePar \EndP
+     \HCode{<table \Hnewline border="0" width="100\%"
+         class="displaylines">}\IgnorePar}
+   {\HCode{</table>}}
+   {\HCode{<tr class="displaylines"><td \Hnewline
+       style="vertical-align:baseline;" class="displaylines"
+       >}}{\HCode{</td></tr>}}
+\Css{td.displaylines {text-align:center; white-space:nowrap;}}
+\def\:zbsp#1{cellpadding="0" border="0" cellspacing="0"\Hnewline
+   class="#1"}
+\Configure{centerline}{\ifvmode \IgnorePar
+     \fi \EndP\HCode{<div \Hnewline
+      class="centerline">}}{\EndP\HCode{</div>}\ShowPar}
+\Configure{leftline}{\ifvmode \IgnorePar
+     \fi \EndP \HCode{<p\Hnewline  class="leftline">}}
+   {\HCode{</p>}\ShowPar}
+\Configure{rightline}
+   {\IgnorePar\EndP\HCode{<p class="rightline">}}
+   {\HCode{</p>}\ShowPar}
+\Css{.centerline {text-align:center;}}
+\Css{.rightline {text-align:right;}}
+
+\expandafter\let\csname tex4ht:4ht\endcsname\empty
+\def\no:dupl#1#2{%
+   \expandafter\ifx \csname #1:4ht\endcsname\relax
+      \expandafter\let \csname #1:4ht\endcsname\empty
+      \expand:after{#2}%
+   \fi
+}
+
+\Hinclude{\def\:temp{\ht:everypar={\setbox0=\lastbox\ht:everypar={}}}%
+   \ifx \NoindentAfter\:temp
+      \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {osudeG}
+\Hinclude{\ifx\amstexloaded@\relax
+     \no:dupl{#1}{
+      \ifx  \Space@\:UnDef   \expand:after{\input #1.4ht} %
+      \else                  \input vanilla.4ht  \fi}%
+   \fi}
+   {amstex}
+\Hinclude{\expandafter\ifx \csname amsppt.sty\endcsname\relax \else
+       \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {amsppt}
+\Hinclude{\ifx \texinfoversion\:UnDef\else
+      \no:dupl{#1}{\expand:after{\input texinfo.4ht}}\fi}
+   {texinfo}
+\Hinclude{\ifx \thistubstyle\:UnDef\else
+      \no:dupl{#1}{\expand:after{\input tugboat.4ht}}\fi}
+   {tugboat}
+
+\expandafter\let\csname tex4ht:4ht\endcsname\empty
+\def\no:dupl#1#2{%
+   \expandafter\ifx \csname #1:4ht\endcsname\relax
+      \expandafter\let \csname #1:4ht\endcsname\empty
+      \expand:after{#2}%
+   \fi
+}
+
+\Hinclude{\ifx \PsfigVersion\:UnDef \else
+      \no:dupl{#1}{\expand:after{\input psfig.4ht}}\fi}
+   {psfig}
+\Hinclude{\:CheckOption{#1}
+   \if:Option     \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {pictex}
+\Hinclude{%
+   \expandafter\ifx \csname PSTricksLoaded\endcsname\relax\else
+                  \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {pstricks}
+\Hinclude{%
+   \ifx \:DraCatCodes\:UnDef \else
+                  \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {dratex}
+\Hinclude{%
+   \ifx \xyloaded\:UnDef \else
+                  \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {xy}
+
+\Hinclude{%
+   \ifx \epsfsetgraph\:UnDef \else
+                  \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {epsf}
+
+\Hinclude{%
+   \ifx \diagram at help@messages\:UnDef \else
+                  \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {diagrams}
+
+\Hinclude{%
+   \ifx \figvisu\:UnDef \else
+                  \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {fig4tex}
+
+\Hinclude{}
+   {pctable}
+\Hinclude{%
+   \:CheckOption{xhtml}\if:Option \fi}
+   {xhtml}
+\Hinclude{\:CheckOption{#1}
+      \if:Option\else   \:CheckOption{ShowFont}\fi
+      \if:Option\else   \:CheckOption{frames-}\fi
+      \if:Option\else   \:CheckOption{frames}\fi
+      \if:Option\else   \:CheckOption{image-maps}\fi
+      \if:Option\else   \:CheckOption{java}\fi
+      \if:Option\else   \:CheckOption{javascript}\fi
+      \if:Option \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
+   {th4}
+\Hinclude{\ifx \sethebrew\:UnDef\else \ifx \ArabTeX\:UnDef\else
+      \no:dupl{#1}{\expand:after{\input hebtex.4ht}}\fi \fi}
+   {hebtex}
+
+\Configure{settabs}[1.5]{}{}{}{}{}
+\Configure{line}{\HCode{<br />}}
+\:CheckOption{new-accents}     \if:Option
+   \:CheckOption{accent-}     \if:Option
+  \Configure{HAccent}\acute{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\bar{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\breve{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\check{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\ddot{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\dot{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\grave{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\hat{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\tilde{AOaoNn{}}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\vec{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\widehat{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\widetilde{}{\Picture+{}}{\EndPicture}
+\fi
+\:CheckOption{mathaccent-}     \if:Option
+  \Configure{HAccent}\"{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\'{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\.{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\={}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\H{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\^{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\`{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\b{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\c{Cc{}}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\d{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\t{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\u{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\v{}{\Picture+{}}{\EndPicture}
+  \Configure{HAccent}\~{AOaoNn{}}{\Picture+{}}{\EndPicture}
+\fi
+\Configure{accent}{*}
+   {<!--tex4ht:accent\Hnewline font="}{" char="}{" type="}{"-->}
+   {<!--tex4ht:end accent-->}
+\Configure{mathaccent}{*}
+   {<!--tex4ht:mathaccent\Hnewline font="}{" char="}{" type="}{"-->}
+   {<!--tex4ht:end mathaccent-->}
+\Configure{accented}{*}
+   {<!--tex4ht:accented\Hnewline font="}{" char="}{" type="}{"-->}
+   {<!--tex4ht:end accented-->}
+\Configure{accenting}{*}
+   {<!--tex4ht:accenting\Hnewline-->}
+   {<!--tex4ht:end accenting-->}
+
+\else
+   \Configure{accent}\`\grave{A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
+Y{1EF2}a{00E0}e{00E8}i{00EC}n{01F9}o{00F2}u{00F9}%
+w{1E81}y{1EF3}\i{00EC}%
+{}{}}
+   {\a:accents{grave}{#1}}   {\b:accents{grave}{#1}{#2}}
+\Configure{accent}\'\acute{A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
+O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
+d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
+s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
+{}{}}
+   {\a:accents{acute}{#1}}   {\b:accents{acute}{#1}{#2}}
+\Configure{accent}\^\hat{A{00C2}E{00CA}I{00CE}O{00D4}U{00DB}a{00E2}e{00EA}%
+i{00EE}o{00F4}u{00FB}C{0108}c{0109}G{011C}g{011D}%
+H{0124}h{0125}J{0134}j{0135}S{015C}s{015D}W{0174}%
+w{0175}Y{0176}y{0177}Z{1E90}z{1E91}\i{00EE}\j{0135}%
+{}{}}
+   {\a:accents{circ}{#1}}   {\b:accents{hat}{#1}{#2}}
+\Configure{accent}\~\tilde{A{00C3}N{00D1}O{00D5}a{00E3}n{00F1}o{00F5}I{0128}%
+i{0129}U{0168}u{0169}V{1E7C}v{1E7D}E{1EBC}e{1EBD}%
+Y{1EF8}y{1EF9}\i{0129}%
+{}{}}
+   {\a:accents{tilde}{#1}}   {\b:accents{tilde}{#1}{#2}}
+\Configure{accent}\"\ddot{H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
+t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
+a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
+Y{0178}\i{00EF}%
+{}{34}}
+   {\a:accents{uml}{#1}}     {\b:accents{uml}{#1}{#2}}
+\Configure{accent}\c\c{C{C}c{c}{}{}}
+   {\a:accents{cedil}{#1}}     {\b:accents{cedil}{#1}{#2}}
+\Configure{accent}\t\t{{}{}}
+   {\a:accents{udot}{#1}}     {\b:accents{udot}{#1}{#2}}
+\Configure{accent}\H\H{{}{}}
+    {\a:accents{Huml}{#1}} {\b:accents{Huml}{#1}{#2}}
+\Configure{accent}\b\b{{}{}}
+    {\a:accents{b}{#1}} {\b:accents{b}{#1}{#2}}
+\Configure{accent}\d\d{{}{}}
+    {\a:accents{d}{#1}} {\b:accents{d}{#1}{#2}}
+\Configure{accent}\.\.{{}{}}
+   {\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
+\Configure{accent}\dot\dot{{}{}}
+   {\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
+\Configure{accent}\u\breve{{}{}}{\a:accents{breve}{#1}}
+   {\b:accents{breve}{#1}{#2}}
+\Configure{accent}\vec\vec{{}{}}{\a:accents{vec}{#1}}
+   {\b:accents{vec}{#1}{#2}}
+\Configure{accent}\v\v{{}{}}{\a:accents{check}{#1}}
+   {\b:accents{check}{#1}{#2}}
+\Configure{accent}\check\check{{}{}}{\a:accents{check}{#1}}
+   {\b:accents{check}{#1}{#2}}
+\Configure{accent}\=\bar{{}{}}
+   {\a:accents{bar}{#1}} {\b:accents{bar}{#1}{#2}}
+\Configure{accent}\widetilde\widetilde{{}{}}
+   {\a:accents{widetilde}{#1}} {\b:accents{widetilde}{#1}{#2}}
+\Configure{accent}\widehat\widehat{{}{}}
+   {\a:accents{widehat}{#1}} {\b:accents{widehat}{#1}{#2}}
+
+   \Configure{accents}
+      {\ht:special{t4ht at +\string&{35}x#2{59}}x}
+      {\Picture+{ \:Picture:{#1}}#2{#3}\EndPicture}
+\fi
+\let\^^_\v
+
+\Configure{ }{\:nbsp}
+
+\def\end:TTT{\ifvmode\IgnorePar\fi \EndP\HCode{</td></tr></table>}}
+\:CheckOption{new-accents}     \if:Option \else
+  \Configure{accents}
+    {\expandafter\ifx \csname #1-num\endcsname\relax
+       \ht:special{t4ht at +\string&{35}x#2{59}}x%
+     \else
+       \ht:special{t4ht at +\string&\#x#2;}X%
+     \fi
+    }
+    {\expandafter\ifx \csname a:#1-css\endcsname\relax
+        \Picture+{ \a:@Picture{#1}}#2{#3}\EndPicture
+     \else
+        \csname a:#1-css\endcsname #3\csname b:#1-css\endcsname
+     \fi
+    }
+    \expandafter\let\csname ring-num\endcsname=\def
+\fi
+
+
+\:CheckOption{fancylogo}\if:Option
+\def\TeX{\HCode{<span class="TEX">}T\HCode{<span\Hnewline
+     class="E">}E\HCode{</span>}X\HCode{</span>}}
+\Css{span.TEX {letter-spacing: -0.125em; }}
+\Css{span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;}}
+\Css{a span.TEX span.E {text-decoration: none; }}
+\else
+\def\TeX{TeX}
+\fi
+
+\Configure{underline}
+   {\HCode{<span class="underline">}\hbox\bgroup \:gobble}
+   {\egroup \HCode{</span>}}
+\Css{.underline{ text-decoration:underline; }}
+\Css{.underline img{ border-bottom: 1px solid black;
+                     margin-bottom:1pt; }}
+\def\plain:indent{\ShowIndent \global\let\plain:indent\empty}
+\Configure{@BODY}{\plain:indent}
+\Configure{settabs}[1.5]{\IgnorePar\EndP\leavevmode
+     \ht:special{t4ht=<table
+     \Hnewline\:zbsp{settabs}><tr \Hnewline style="vertical-align:baseline;"
+     class="settabs">}}
+   {\ht:special{t4ht=</tr></table>}}
+   {\ht:special{t4ht=<td \ifx \TabWidth\empty \else
+                width="\TabWidth"\fi \Hnewline class="settabs">}}
+   {\ht:special{t4ht=</td>}}
+\Configure{narrower}{\ifvmode \IgnorePar\fi  \EndP%
+   \HCode{<table cellpadding="15" class="narrower"><tr
+      class="narrower"><td class="narrower">}\ifvmode \IgnorePar\fi}
+   {\ifvmode \IgnorePar\fi \EndP
+    \HCode{</td></tr></table>}\ifvmode \IgnorePar\fi}
+\Configure{proclaim}
+    {\IgnorePar\EndP\HCode{<div class="proclaim"><span class="proclaim">}}
+    {\HCode{</span>}}    {\IgnorePar\EndP\HCode{</div>}}
+\Css{div.proclaim { margin-top: 1em; margin-bottom: 1em; }}
+\Configure{beginsection}
+  {\ifvmode \IgnorePar\fi \EndP
+   \HCode{<div class="beginsection">}}
+  {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
+  {\ifvmode \IgnorePar\fi \EndP \HCode{<h3 class="beginsection">}}
+  {\HCode{</h3>}\par\ShowPar}
+\ConfigureToc{beginsection}
+     {} {\relax}  {}  { }
+\Configure{TableOfContents}
+   {\IgnorePar\EndP \HCode{<div class="TableOfContents"\a:LRdir>}}{}
+   {\ifvmode \IgnorePar\fi\EndP
+    \HCode{</div>}\ShowPar}{\HCode{<br />}}{}
+\:CheckOption{1}     \if:Option
+   \CutAt{beginsection}
+   \Configure{beginsectionTITLE+}{#1}
+   \ConfigureToc{beginsection}
+     {\HCode{<span class="beginsectionToc" \a:LRdir>}}
+     {\empty}
+     {}
+     {\HCode{</span><br />}}
+   \let\au:StartSec\:StartSec
+   \def\:StartSec{\TableOfContents[beginsection]%
+                  \global\let\:StartSec\au:StartSec
+                  \:StartSec}%
+\else
+    \Log:Note{for automatic sectioning
+        pagination, use the command line option `1'}%
+\fi
+\Configure{insert}
+  {\IgnorePar\EndP\HCode{<hr class="insert"\xml:empty>}\IgnorePar}
+  {\IgnorePar\EndP\HCode{<hr class="endinsert"\xml:empty>}\IgnorePar}
+
+\Configure{item}
+   {}{}
+   {\par\Configure{items}{\item:class}\HCode{<span class="item">}}
+   {\HCode{</span>}\Configure{items}{}}
+\Configure{itemitem}
+   {}{}
+   {\par\Configure{items}{\itemitem:class}\HCode{<span class="itemitem">}}
+   {\HCode{</span>}\Configure{items}{}}
+\Css{p.item {text-indent:-2em; margin-left:2em;}}
+\Css{p.itemitem {text-indent:-2em; margin-left:4em;}}
+\Css{span.item, span.itemitem {width:2em; margin-right:0.4em;}}
+\Configure{!P}{\a:items}
+\NewConfigure{items}{1}
+\Configure{items}{}
+\def\item:class#1class#2"#3"{#1class="item"}
+\def\itemitem:class#1class#2"#3"{#1class="itemitem"}
+             
+\Configure{eqalign}
+   {\:xhtml{\IgnorePar\EndP}\HCode
+      {<div class="eqalign"><table class="eqalign">}}
+   {\HCode{</table></div>}}
+   {\HCode{<tr \Hnewline class="eqalign"
+         style="vertical-align:middle;">}}{\IgnorePar\HCode{</tr>}}
+   {\HCode{<td style="white-space:nowrap;text-align:\ifnum \HCol=2
+         left\else right\fi"\Hnewline  class="eqalign\HCol"
+         >}}
+   {\HCode{</td>}}
+\def\:eqalign:{\Configure{noalign}
+  {\HCode{<tr><td class="noalign" colspan="2">}}%
+  {\HCode{</td></tr>}}}
+\Css{td.eqalign3 { text-align:right; margin-left:10em;}}
+\Css{.eqalign td { white-space: nowrap; }}
+\Css{div.eqalign {text-align:center;}}
+\Configure{eqalignno}
+   {\:xhtml{\IgnorePar\EndP}\HCode{<table class="eqalignno">}}
+   {\HCode{</table>}}
+   {\HCode{<tr\Hnewline class="eqalignno">}}{\IgnorePar\HCode{</tr>}}
+   {\HCode{\ifnum \HCol=3 <td\Hnewline width="10"
+           class="eqalignno-sp"></td>\fi
+           <td style="text-align:\ifnum \HCol=2 left\else right\fi"\Hnewline
+           class="eqalignno\HCol">}}
+   {\HCode{</td>}}
+\def\:eqalignno:{\Configure{noalign}
+  {\HCode{<tr><td class="noalign" colspan="2">}}%
+  {\HCode{</td></tr>}}}
+\Css{td.eqalignno3, td.leqalignno3
+       { text-align:right; margin-left:10em;}}
+\Css{.leqalignno td, .eqalignno td
+       { white-space: nowrap; }}
+\Css{.leqalignno td.noalign, .eqalignno td.noalign
+       { width:5\%; white-space: normal; }}
+\Css{table.leqalignno, table.eqalignno {width:100\%;}}
+\Configure{leqalignno}
+   {\:xhtml{\IgnorePar\EndP}\HCode{<table class="leqalignno">}}
+   {\HCode{</table>}}
+   {\HCode{<tr \Hnewline
+           class="leqalignno">}}{\IgnorePar\HCode{</tr>}}
+   {\HCode{\ifnum \HCol=3 <td\Hnewline width="30"
+           class="eqalignno-sp"></td>\fi
+           <td style="text-align:\ifnum \HCol=2 left\else right\fi"\Hnewline
+           class="leqalignno\HCol">}}
+   {\HCode{</td>}}
+\def\:leqalignno:{\Configure{noalign}
+  {\HCode{<tr><td class="noalign" colspan="2">}}%
+  {\HCode{</td></tr>}}}
+
+\Configure{l}{\ht:special{t4ht at +\string&{35}x0142{59}}x}
+\Configure{L}{\ht:special{t4ht at +\string&{35}x0141{59}}x}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{biblatex}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \HAssign\bibN=0
+\Configure{thebibliography}%
+   {\ifvmode \IgnorePar\fi \EndP
+    \EndP\HCode{<dl \a:LRdir class="thebibliography">}%
+    \PushMacro\end:itm
+    \global\let\end:itm=\empty}
+   {\ifvmode \IgnorePar\fi \EndP
+    \PopMacro\end:itm \global\let\end:itm \end:itm
+    \EndP\HCode{</dd></dl>}\ShowPar}
+   {\ifvmode \IgnorePar\fi \EndP
+    \gHAdvance\bibN by 1
+    \end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
+        id="bib-\bibN"
+        class="thebibliography">}\bgroup \bf}
+   {\ifvmode \IgnorePar\fi \EndP
+    \gHAdvance\bibN by 1
+    \egroup\HCode{</dt><dd\Hnewline
+       id="bib-\bibN" class="thebibliography">}\par\ShowPar}
+\Configure{printshorthands}
+   {\ifvmode \IgnorePar\fi \EndP
+    \HCode{<dl class="printshorthands"><dt class="printshorthands">}}
+   {\ifvmode \IgnorePar\fi \EndP  \HCode{</dd></dl>}}
+   {\ifvmode \IgnorePar\fi \EndP
+    \HCode{</dd><dt class="printshorthands">}}
+   {\HCode{</dt><dd class="printshorthands">}\par\ShowPar}
+\Css{dt.printshorthands{float:left; clear:left; margin-right:1em;}}
+\Configure{finentry}
+    {\hbox{\HCode{<!--finentry-->}}}
+    {\hbox{\HCode{<!--/finentry-->}}}
+\NewConfigure{printfield-entrykey}{2}
+\Configure{printfield-entrykey}
+   {\HCode{<span class="entrykey">}}
+   {\HCode{</span>}}
+\Configure{biblatex-style}
+   {authortitle}
+   {\Css{dd.thebibliography { text-indent: -2em; margin-left: 2em;}}
+\Css{dd.thebibliography p:first-child{ text-indent: -2em; }}
+\Css{dt.thebibliography{float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {authortitle-comp}
+   {\Css{dd.thebibliography { text-indent: -2em; margin-left: 2em;}}
+\Css{dd.thebibliography p:first-child{ text-indent: -2em; }}
+\Css{dt.thebibliography{float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {authortitle-tcomp}
+   {\Css{dd.thebibliography { text-indent: -2em; margin-left: 2em;}}
+\Css{dd.thebibliography p:first-child{ text-indent: -2em; }}
+\Css{dt.thebibliography{float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {authortitle-icomp}
+   {\Css{dd.thebibliography { text-indent: -2em; margin-left: 2em;}}
+\Css{dd.thebibliography p:first-child{ text-indent: -2em; }}
+\Css{dt.thebibliography{float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {authortitle-ibid}
+   {\Css{dd.thebibliography { text-indent: -2em; margin-left: 2em;}}
+\Css{dd.thebibliography p:first-child{ text-indent: -2em; }}
+\Css{dt.thebibliography{float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {authoryear}
+   {\Css{dd.thebibliography { text-indent: -2em; margin-left: 2em;}}
+\Css{dd.thebibliography p:first-child{ text-indent: -2em; }}
+\Css{dt.thebibliography{float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {authoryear-ibid}
+   {\Css{dd.thebibliography { text-indent: -2em; margin-left: 2em;}}
+\Css{dd.thebibliography p:first-child{ text-indent: -2em; }}
+\Css{dt.thebibliography{float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {authoryear-comp}
+   {\Css{dd.thebibliography { text-indent: -2em; margin-left: 2em;}}
+\Css{dd.thebibliography p:first-child{ text-indent: -2em; }}
+\Css{dt.thebibliography{float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {verbose}
+   {\Css{dd.thebibliography { text-indent: -2em; margin-left: 2em;}}
+\Css{dd.thebibliography p:first-child{ text-indent: -2em; }}
+\Css{dt.thebibliography{float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {verbose-ibid}
+   {\Css{dd.thebibliography { text-indent: -2em; margin-left: 2em;}}
+\Css{dd.thebibliography p:first-child{ text-indent: -2em; }}
+\Css{dt.thebibliography{float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {verbose-note}
+   {\Css{dd.thebibliography { text-indent: -2em; margin-left: 2em;}}
+\Css{dd.thebibliography p:first-child{ text-indent: -2em; }}
+\Css{dt.thebibliography{float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {alphabetic-verb}
+   {\Css{dd.thebibliography {margin-left: 5em;}}
+\Css{dt.thebibliography {float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {alphabetic}
+   {\Css{dd.thebibliography {margin-left: 5em;}}
+\Css{dt.thebibliography {float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {numeric}
+   {\Css{dd.thebibliography {margin-left: 2.5em;}}
+\Css{dt.thebibliography {float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {numeric-verb}
+   {\Css{dd.thebibliography {margin-left: 2.5em;}}
+\Css{dt.thebibliography {float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {numeric-comp}
+   {\Css{dd.thebibliography {margin-left: 2.5em;}}
+\Css{dt.thebibliography {float:left; clear:left; margin-right:1em;}}
+}
+\Configure{biblatex-style}
+   {draft}
+   {
+     \Css{dd.thebibliography {margin-left: 2.5em;}}
+     \Css{dt.thebibliography {float:left; clear:left; margin-right:1em;}}
+   }
+\Configure{biblatex-style}
+   {reading}
+   {
+     \Css{.entrykey {float:right; margin-top:-1.25em;}}
+   }
+\Configure{biblatex-style}{verbose-trad1}{}
+\Configure{biblatex-style}{verbose-trad2}{}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{reading}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{entryhead:name}
+   {\hbox{\HCode{<!--entryhead:name-->}%
+    \Css{dd\#bib-\bibN\space p:last-child
+               {border-bottom:solid black 1px}}%
+   }}
+   {\hbox{\HCode{<!--/entryhead:name-->}}}
+\Configure{entryhead:full}
+   {\hbox{\HCode{<!--entryhead:full-->}%
+    \Css{dd\#bib-\bibN\space p:last-child
+               {border-bottom:solid black 1px}}%
+   }}
+   {\hbox{\HCode{<!--/entryhead:full-->}}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{glossary}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{gloskip}{list}{\item[]\HCode{<p class="gloskip"></p>}}
+\Configure{gloskip}{altlist}{\item[]\HCode{<p class="gloskip"></p>}}
+\Configure{gloskip}{super}{\cr\HCode{<p class="gloskip"></p>}}
+\Configure{gloskip}{long}{\cr\HCode{<p class="gloskip"></p>}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{letter}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ConfigureEnv{quote}
+   {}{}
+   {\IgnorePar\EndP
+    \HCode{<div class="\getClass{quote}">}\afterGetClass{quote}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar\ShowIndent}
+\Css{.quote  {margin-bottom:0.25em; margin-top:0.25em;
+              margin-left:1em; margin-right:1em; text-align:justify;}}
+\NewConfigure{quoteClass}{2}
+\Configure{quoteClass}{quote}{}
+
+\ConfigureEnv{quotation}
+   {}{}
+   {\IgnorePar\EndP\HCode{<div class="quotation">}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar}
+\Css{.quotation  {margin-bottom:0.25em;
+           margin-top:0.25em; margin-left:1em; }}
+
+\ConfigureList{description}%
+   {\EndP\HCode{<dl \a:LRdir class="description">}%
+      \PushMacro\end:itm
+\global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \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">}}
+
+\Configure{enumiii}
+    {\HCode{<span class="roman-numeral">}}
+    {\HCode{</span>}}
+
+{\Configure{Needs}{Font\string_Size: #1}\ifcase  \@ptsize
+   \or \Needs{11}\or \Needs{12}\else \fi}
+
+\ConfigureEnv{verse}
+   {\ifvmode \IgnorePar\fi\EndP\Tg<div class="verse">}
+   {\ifvmode \IgnorePar\fi\EndP\Tg</div>\par\ShowPar}
+   {}{}
+\ConfigureList{verse}
+   {}{}
+   {\parindent=\z@}  {\par}
+\Css{.verse{white-space:nowrap; margin-left:2em}}
+\Configure{opening}
+   {\bgroup
+       \ConfigureEnv{tabular}{}{}{}{}%
+       \Configure{tabular}
+         {\EndP\ifvmode \IgnorePar \fi
+          \HCode{<div class="opening"\a:LRdir>}}
+         {\HCode{</div><p class="clear-both" />}}
+         {}
+         {\HCode{<br />}}
+         {}{}%
+       \Configure{HBorder}
+         {<br class="hline" />} {}{}
+         {<br class="cline" />} {}{} {}
+         {<br class="vspace" />} {}{}%
+   }
+   {\egroup}
+\Configure{closing}
+   {\EndP\ifvmode \IgnorePar\fi
+    \HCode{<div class="closing">}}
+   {\EndP\ifvmode \IgnorePar\fi
+    \HCode{</div><p class="clear-both" />}}
+\longindentation=0pt
+\Css{div.opening{float:right;}}
+\Css{div.closing {float:right; margin-right:2em;}}
+\Css{p.clear-both{clear:both;}}
+\Configure{address}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{<span class="address">}}
+   {\HCode{</span>}}
+\Configure{toaddress}
+   {\HCode{<div class="toaddress">}}
+   {\HCode{</div>}}
+\Configure{toname}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{<div class="toname">}}
+   {\HCode{</div>}}
+\Configure{date}
+   {\HCode{<span class="date" \a:LRdir>}}
+   {\HCode{</span>}}
+\Configure{dear}
+   {\HCode{<span class="dear">}}
+   {\HCode{</span>}}
+\Configure{sincerely}
+   {\HCode{<span class="sincerely">}}
+   {\HCode{</span>}}
+\Configure{signature}
+   {\HCode{<span class="signature">}}
+   {\HCode{</span>}}
+\Configure{cc}
+   {\HCode{<div class="cc">}\IgnorePar}
+   {\ifvmode\IgnorePar\fi\HCode{</div>}}
+\Configure{encl}
+   {\HCode{<div class="encl">}\IgnorePar}
+   {\ifvmode\IgnorePar\fi\HCode{</div>}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{latin2}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \def\A:charset{charset=iso-8859-2}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{seslideb}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ConfigureEnv{center}
+  {\IgnorePar \par \EndP \HCode{<div class="center"\Hnewline>}}
+  {\ifvmode\IgnorePar\fi\EndP\HCode{</div>}}
+  {} {}
+{\Configure{Needs}{Font\string_Size: #1}%
+   \expandafter\Needs\expandafter{\csname normalsize at fsize\endcsname}}
+\ConfigureToc{swSlide}
+   {} {\relax  }  {}  { }
+\:CheckOption{0}
+   \if:Option  \else    \:CheckOption{1} \fi
+\if:Option
+   \:CheckOption{1} \if:Option
+      \CutAt{swSlide}
+      \Configure{crosslinks}{}{}{}{}{}{}{}{}
+   \fi
+   \def\:temp{%
+   \ifOption{1}{\par\IgnorePar\EndP\HCode{<hr />}\par}{}
+   \HAssign\TocN=1
+   \def\swTitle{\gHAdvance\TocN by 1 \TocN}\:TableOfContents[swSlide]
+   \let\swTitle=\relax
+   \ifOption{0}{\par\IgnorePar\EndP\HCode{<hr />}\par}{}
+   \let\swSlide=\o:swSlide: \let\o:swSlide:=\empty \swSlide}
+\HLet\swSlide=\:temp
+
+   \Configure{swSlide}
+  {\gHAdvance\swSlideN by 1 \Link{}{s-\swSlideN}\EndLink }
+  {\rightline{
+       {\HAdvance\swSlideN by -1 \Link{s-\swSlideN}{}\swSlideN\EndLink}
+       \Link[\jobname.html]{}{}\HCode{<>}\EndLink{}
+       {\HAdvance\swSlideN by 1
+         \ifTag{)Qs-\swSlideN}{\Link{s-\swSlideN}{}\swSlideN\EndLink}{}}
+     }
+     \ifOption{0}{\par \IgnorePar\EndP\HCode{<hr />}\par}{}
+   }
+   {\IgnorePar\bgroup \bf }
+   {\egroup \ShowPar\IgnoreIndent\par}
+\HAssign\swSlideN=1
+
+\else
+   \Configure{swSlide}{}{}{\bgroup\bf}{\egroup}
+
+   \Log:Note{pagination may be obtained
+       through the option `0' or `1', at locations marked with
+       \noexpand\csname PageBreak\string\endcsname}
+\fi
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{url}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \:CheckOption{url-il2-pl} \if:Option
+\else \:CheckOption{url-enc} \fi
+\if:Option
+   \Configure{string-encoder}{url-encoder}
+%   \:CheckOption{url-il2-pl} \if:Option
+      \input{html4-l2-url.4ht}
+
+%   \else
+      
+%      \Log:Note{for il2-pl url encoding,
+%                        use the command line option 'url-il2-pl'}
+%   \fi
+   \Configure{url}%
+     {\tmp:toks={}\set:spaces#1!*?: %
+\edef\:temp{\tmp:toks{\csname url-encoder\expandafter\endcsname
+                      \the\tmp:toks !*?: }}\:temp
+%
+      \Link[\noexpand\the\tmp:toks \space
+               class="url"]{}{}{\let\UrlBigBreaks\empty
+                         \let\UrlBreaks\empty #1}\EndLink}
+   \def\set:spaces{\futurelet\:temp\set:spacesoo}
+\def\set:spacesoo{%
+   \expandafter\ifx \space\:temp
+      \tmp:toks\expandafter{\the\tmp:toks{ }}%
+   \fi
+   \set:spaceso
+}
+\def\set:spaceso#1#2!*?: {%
+   \tmp:toks\expandafter{\the\tmp:toks #1}%
+   \if !#2!\else \set:spaces#2!*?: \fi
+}
+
+\else
+   \Log:Note{for URL encoding within href
+          use the command line option `url-enc'}
+   \Configure{url}%
+     {\tmp:toks{#1}\Link[\noexpand\the\tmp:toks\space
+               class="url"]{}{}{\let\UrlBigBreaks\empty
+                         \let\UrlBreaks\empty #1}\EndLink}
+\fi
+\Configure{path}
+  {\HCode{<span class="path">}\bgroup
+   \Configure{obeylines}{}{}{}%
+  }
+  {\egroup\HCode{</span>}}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{hyperref}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{Form}
+   {\IgnorePar\EndP\leavevmode \Tg<form \Hnewline \Attributes>}
+   {\IgnorePar\EndP\Tg</form>}
+
+\NewConfigure{::value}{1}
+\Configure{::value}
+   {\edef\Attributes{\Attributes\space value="\AttributeVal"}}
+\NewConfigure{::name}{1}
+\Configure{::name}
+   {\edef\Attributes{\Attributes\space name="\AttributeVal"}}
+\NewConfigure{::default}{1}
+\Configure{::default}
+   {\let\::default=\AttributeVal}
+\def\get:int#1.#2//{\tmp:cnt=#1 }
+\def\Default:Checked#1{%
+   \ifx #1\Un:Def \let\:temp=\empty \else
+      \let\:temp=\relax
+      \let\:tempa=\relax
+      \edef\:temp{\def\:temp####1#1#1####2//{\def\:temp{####2}}%
+                      \:temp \AttributeVal #1=#1#1//%
+          \def\:tempa####1=####2//{\def\noexpand\AttributeVal{####1}}%
+              \:tempa\AttributeVal=//}%
+      \:temp
+   \fi
+}
+
+\NewConfigure{TextField::}{2}
+\Configure{TextField::}{}{ \Tg<input type="text" \Attributes />}
+\NewConfigure{TextField::width}{1}
+\Configure{TextField::width}
+   {\tmp:dim=\AttributeVal   \divide\tmp:dim by 6
+    \expandafter\get:int\the\tmp:dim//%
+    \edef\Attributes{\Attributes\space size="\the\tmp:cnt"}}
+\NewConfigure{TextField::default}{1}
+\Configure{TextField::default}
+   {\edef\Attributes{\Attributes\space value="\AttributeVal"}}
+
+\NewConfigure{TextField::multiline}{2}
+\Configure{TextField::multiline}
+  {}
+  { \Tg<textarea
+        \Attributes>\expandafter\set:ln\multiline:value,!*?: %
+  \global\let\multiline:value=\empty \Tg</textarea>}
+
+\let\multiline:value=\empty
+\def\set:ln#1,#2!*?: {#1%
+  \def\:temp{#2}\ifx \:temp\empty \else
+     \hfil\break  \def\:temp{\set:ln#2!*?: }%
+  \fi \:temp}
+
+\NewConfigure{multiline::value}{1}
+\Configure{multiline::value}
+  {\let\multiline:value=\AttributeVal}
+
+\NewConfigure{multiline::width}{1}
+\Configure{multiline::width}
+   {\tmp:dim=\AttributeVal   \divide\tmp:dim by 6
+    \expandafter\get:int\the\tmp:dim//%
+    \edef\Attributes{\Attributes\space cols="\the\tmp:cnt"}}
+
+\NewConfigure{multiline::height}{1}
+\Configure{multiline::height}
+   {\tmp:dim=\AttributeVal   \divide\tmp:dim by 6
+    \expandafter\get:int\the\tmp:dim//%
+    \edef\Attributes{\Attributes\space rows="\the\tmp:cnt"}}
+
+\NewConfigure{TextField::password}{2}
+\Configure{TextField::password}
+  {}{\Tg<input type="password" \Attributes />}
+
+\NewConfigure{ChoiceMenu::radio}{5}
+\Configure{ChoiceMenu::radio}
+   {\IgnorePar\EndP\leavevmode
+      \Tg<div id="form-\form:id">\gHAdvance\form:id by 1 }
+   { }{\IgnorePar\EndP\Tg</div>}
+   {\Default:Checked\radio::default
+    \Tg<input\Hnewline type="radio"
+            \ifx \:temp\empty\else checked="checked" \fi
+            \Attributes\space />}
+   {}
+\NewConfigure{radio::default}{1}
+\Configure{radio::default}
+   {\let\radio::default=\AttributeVal}
+\NewConfigure{ChoiceMenu::combo}{5}
+\Configure{ChoiceMenu::combo}
+   {}
+   {~\Tg<select\Hnewline \Attributes \Hnewline size="1">}
+   {\Tg</select>}
+   {\Tg<option \ifx\::default\AttributeVal selected="selected"\fi
+        \Hnewline>}
+   {\Tg</option>}
+\NewConfigure{combo::default}{1}
+\Configure{combo::default}
+   {\let\combo::default=\AttributeVal}
+\NewConfigure{ChoiceMenu::popdown}{5}
+\Configure{ChoiceMenu::popdown}
+   {}{\HCode{\Hnewline <select \Attributes \Hnewline size="1">}}
+   {\Tg</select>}
+   {\Tg<option \ifx\::default\AttributeVal selected="selected"\fi
+        \Hnewline>} {\Tg</option>}
+\NewConfigure{ChoiceMenu::}{5}
+\Configure{ChoiceMenu::}
+   {}{\HCode{\Hnewline <select\Hnewline \Attributes>}}{\Tg</select>}
+   {\Tg<option \ifx\::default\AttributeVal selected="selected"\fi
+        \Hnewline>}  {\Tg</option>}
+\NewConfigure{::menulength}{1}
+\Configure{::menulength}
+   {\edef\Attributes{\Attributes\space size="\AttributeVal"}}
+
+\def\:tempc#1{%
+  \NewConfigure{::#1}{1}%
+  \Configure{::#1}%
+    {\edef\Attributes{\Attributes\space #1="\AttributeVal"}}}
+\:tempc{onclick}
+\:tempc{onblur}
+\:tempc{onchange}
+\:tempc{onclick}
+\:tempc{ondblclick}
+\:tempc{onfocus}
+\:tempc{onkeydown}
+\:tempc{onkeypress}
+\:tempc{onkeyup}
+\:tempc{onmousedown}
+\:tempc{onmousemove}
+\:tempc{onmouseout}
+\:tempc{onmouseover}
+\:tempc{onmouseup}
+\:tempc{onselect}
+
+\NewConfigure{::action}{1}
+\Configure{::action}
+   {\edef\Attributes{\Attributes\space action="\AttributeVal"}}
+\NewConfigure{::method}{1}
+\Configure{::method}
+   {\edef\Attributes{\Attributes\space method="\AttributeVal"}}
+\NewConfigure{PushButton::}{1}
+\Configure{PushButton::}
+   {\leavevmode\Tg<input type="button" \Attributes\space/>}
+\NewConfigure{Reset::}{1}
+\Configure{Reset::}
+  {\leavevmode\Tg<input type="reset" \Attributes\space/>}
+\NewConfigure{Submit::}{1}
+\Configure{Submit::}
+  {\leavevmode\Tg<input type="submit" \Attributes\space/>}
+\NewConfigure{CheckBox::}{2}
+\Configure{CheckBox::}
+  {\leavevmode\Tg<input type="checkbox" \Attributes\space/>}{}
+\NewConfigure{CheckBox::checked}{2}
+\Configure{CheckBox::checked}
+  {\leavevmode\Tg<input type="checkbox" checked="checked"
+      \Attributes\space/>}{}
+\HAssign\form:id=0
+\ifx \@baseurl\@empty \else
+   \Configure{@HEAD}
+      {\HCode{<base href="\:baseurl" />}}
+   \let\:baseurl\@baseurl
+   \let\@baseurl=\@empty
+\fi
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{supertabular}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \Configure{SpBorder}
+   {<tr\Hnewline class="vspace"><!--\SpBorder-->}
+   {<td>\string </td>}
+   {</tr>}
+\ConfigureEnv{supertabular}
+   {\par \IgnorePar \EndP \HCode{<div class="supertabular">}}
+   {\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par}
+   {} {}
+\Css{.supertabular {text-align:center}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{array}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \:CheckOption{pic-tabular}  \if:Option \else
+   \ConfigureEnv{tabular}
+     {\Configure{noalign}%
+  {\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
+  {\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
+%
+      \IgnorePar\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
+\EndP\HCode{<div class="tabular">}%
+      \PushStack\Col:Marg\AllColMargins
+     }
+     {\HCode{</div>}\PopStack\Col:Marg\AllColMargins\ShowPar
+      \Configure{noalign}{}{}%
+%
+      \ShowPar
+%
+     }{}{}
+   \Css{div.tabular, div.center div.tabular {text-align: center;
+           margin-top:0.5em; margin-bottom:0.5em;  }}
+   \Css{table.tabular td  p{margin-top:0em;}}
+   \Css{table.tabular {margin-left: auto;
+                       margin-right: auto;}}    
+\fi
+\Css{td p:first-child{ margin-top:0em; }}
+\Css{td p:last-child{ margin-bottom:0em; }}
+\Configure{multicolumn}
+   {\let\col:Css\empty
+    \Configure{VBorder}
+       {}
+       {\edef\col:Css{\col:Css
+                     border-\ifnum \ar:cnt=0 left\else right\fi
+                     :solid black 0.4pt;}%
+       }{}{}%
+   }
+   {\ifx \col:Css\empty \else
+        \Css{td\#TBL-\TableNo-\HRow-\HCol{\col:Css}}%
+    \fi
+   }
+   {\ifvmode\IgnorePar\fi
+    \HCode{<div class="multicolumn" }\HColAlign\HCode{>}%
+    \ifx \col:Css\empty \else
+        \Css{td\#TBL-\TableNo-\HRow-\HCol{\col:Css}}%
+    \fi
+   }
+   {\ifvmode\IgnorePar\fi \EndP\HCode{</div>}}
+\def\pic:env{%
+   \def\begin##1{\bgroup
+      \def\end####1{\o:end:{####1}\EndPicture\egroup}%
+      \ifx \EndPicture\:UnDef
+           \Picture+{ class="##1" style="text-align:middle"}%
+      \else \let\EndPicture\empty\fi
+      \o:begin:{##1}}%
+}
+\def\ColMargins{%
+   \ifx \AllColMargins\empty
+      \:warning{Empty \string\AllColMargins}%
+   \else
+      \tmp:cnt\HCol\relax
+      \expandafter\nosp:hbr\AllColMargins 1//%
+   \fi }
+\def\nosp:hbr#11#2//{\ifnum \tmp:cnt>1 \advance\tmp:cnt by -1
+   \nosp:hbr#2//\else\nosp:gt#11#2//\fi}
+\def\nosp:gt#11#21#3//{%
+   \def\:temp{#1}\ifx \:temp\empty 1\else 0\fi
+   \def\:temp{#2}\ifx \:temp\empty 1\else 0\fi}
+\Css{div.td00{ margin-left:0pt; margin-right:0pt; }}
+\Css{div.td01{ margin-left:0pt; margin-right:5pt; }}
+\Css{div.td10{ margin-left:5pt; margin-right:0pt; }}
+\Css{div.td11{ margin-left:5pt; margin-right:5pt; }}
+\Configure{halignTB<>}{tabular}{\HCode{id="TBL-\TableNo"
+                                             class="tabular"\Hnewline
+   cellspacing="0" cellpadding="0" \GROUPS\Hnewline
+   }<>\HAlign}
+\Css{table[rules] {border-left:solid black 0.4pt;
+                   border-right:solid black 0.4pt; }}
+\:CheckOption{pic-tabular}  \if:Option \else
+   \Configure{tabular}
+      {\ifvmode \IgnorePar\fi \EndP \halignTB{tabular}\putVBorder }
+      {\HCode{</table>}}
+      {\HCode{<tr \Hnewline}\halignTR
+                            \HCode{ id="TBL-\TableNo-\HRow-">}}
+      {\r:HA}
+      {\HCode{<td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}%
+         \halignTD \HCode{ id="TBL-\TableNo-\HRow-\HCol"
+         \Hnewline class="td}\NoFonts
+           \bgroup
+              \ifx \ttfamily\:UnDef \else \ttfamily\fi
+              \ColMargins
+           \egroup
+\EndNoFonts
+%
+         \HCode{">}\SaveEndP
+%
+         \par  \ShowPar
+\PushStack\Table:Stck\TableNo}
+      {\IgnorePar \EndP
+\PopStack\Table:Stck\TableNo \d:HA}
+\fi
+\Configure{@{}}{}
+
+\Css{td.td00{ padding-left:0pt; padding-right:0pt; }}
+\Css{td.td01{ padding-left:0pt; padding-right:5pt; }}
+\Css{td.td10{ padding-left:5pt; padding-right:0pt; }}
+\Css{td.td11{ padding-left:5pt; padding-right:5pt; }}
+\Configure{halignTB<>}{array}{\HCode{id="TBL-\TableNo" class="array"\Hnewline
+   cellpadding="0" cellspacing="0" \GROUPS\Hnewline
+   }<>\HAlign}
+\Css{table[rules] {border-left:solid black 0.4pt;
+                   border-right:solid black 0.4pt; }}
+\:CheckOption{pic-array}  \if:Option \else
+   \Configure{array}
+      {\ifvmode \IgnorePar\fi \EndP\halignTB{array}\putVBorder}
+      {\HCode{</table>}}
+      {\R:HA}
+      {\r:HA}
+      {\D:HA\HCode{<div class="td}\NoFonts
+           \bgroup
+              \ifx \ttfamily\:UnDef \else \ttfamily\fi
+              \ColMargins
+           \egroup
+\EndNoFonts
+%
+            \HCode{">}\par  \ShowPar
+\pic:env}
+      {\IgnorePar \EndP
+\HCode{</div>}\d:HA}
+   \Configure{arrayparbox}{\ShowPar}
+\fi
+\let\VBorder\empty   \let\AllColMargins\empty
+\Configure{VBorder}
+   {\let\VBorder\empty \let\AllColMargins\empty
+    \global\let\GROUPS\empty \HAssign\NewGroup = 0
+    \gHAdvance\Next:TableNo by 1 \global\let\TableNo=\Next:TableNo }
+   {\xdef\VBorder{\VBorder\ifnum \NewGroup> 0 </colgroup>\fi}
+    \HAssign\NewGroup = 0 % \gdef\GROUPS{rules="groups"}}
+    \Css{\#TBL-\TableNo\space colgroup{border-left: 1px solid black;border-right:1px solid black;}}
+  \Css{\#TBL-\TableNo{border-collapse:collapse;}}}
+   {\Advance:\NewGroup by 1
+    \ifnum \NewGroup=1 \xdef\VBorder{\VBorder<colgroup
+        id="TBL-\TableNo-\ar:cnt g">}\fi
+    \xdef\VBorder{\VBorder<col\Hnewline id="TBL-\TableNo
+       -\ar:cnt"\xml:empty>}\xdef\AllColMargins{\AllColMargins1}}
+   {\xdef\AllColMargins{\AllColMargins 0}}
+\Configure{HBorder}
+   {<tr\Hnewline class="hline">} {<td><hr\xml:empty></td>}   {</tr>}
+   {<tr\Hnewline class="cline">}
+   {<td></td>} {<td><hr\xml:empty></td>} {</tr>}
+   {<tr\Hnewline class="vspace" style="font-size:\HBorderspace">}
+   {<td\Hnewline>\string </td>}
+   {</tr>}
+\Configure{putHBorder}{\HCode{\HBorder}}
+\HAssign\Next:TableNo0 \global\let\TableNo=\Next:TableNo
+\Css{.hline hr, .cline hr{  height : 0px; margin:0px; }}
+\Css{.hline td, .cline td{ padding: 0; }}
+\Css{.hline hr, .cline hr{border:none;border-top:1px solid black;}}
+\def\putVBorder{\expandafter\put:VBorder\VBorder</>!*?: }
+\def\put:VBorder#1</#2>#3!*?: {\def\:temp{#2}\ifx\:temp\empty
+     \HCode{\VBorder}%
+     \def\:temp{#1}\ifx\:temp\empty \else\HCode{</colgroup>}\fi
+  \else  \def\:temp{\put:VBorder#3!*?: }\expandafter\:temp\fi
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{longtable}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \:CheckOption{old-longtable}\if:Option
+  \let\a:longtable=\a:tabular
+\let\b:longtable=\b:tabular
+\let\c:longtable=\c:tabular
+\let\d:longtable=\d:tabular
+\let\e:longtable=\e:tabular
+\let\f:longtable=\f:tabular
+
+\else
+  \Configure{halignTB<>}{longtable}{\HCode{id="TBL-\TableNo" class="longtable"\Hnewline
+   cellspacing="0" cellpadding="0" \GROUPS\Hnewline
+   }<>\HAlign}
+\Css{table[rules] {border-left:solid black 0.4pt;
+                   border-right:solid black 0.4pt; }}
+\Configure{longtable}
+   {\IgnorePar\EndP
+     \HCode{<!--l. \the\inputlineno-->%
+<div class="longtable">}%
+    \halignTB{longtable}\putVBorder }
+   {\HCode{</table></div>}}
+   {\HCode{<tr \Hnewline}\halignTR\HCode{ id="TBL-\TableNo-\HRow-">}}
+   {\r:HA}
+   {\HCode{<td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}%
+    \halignTD \HCode{ id="TBL-\TableNo-\HRow-\HCol"
+    \Hnewline class="td}\NoFonts
+           \bgroup
+              \ifx \ttfamily\:UnDef \else \ttfamily\fi
+              \ColMargins
+           \egroup
+\EndNoFonts
+%
+    \HCode{">}\SaveEndP
+%
+    \par  \ShowPar
+\PushStack\Table:Stck\TableNo}
+   {\PopStack\Table:Stck\TableNo \IgnorePar \EndP
+\d:HA}
+\Css{div.longtable{text-align:center;}}
+\Css{table.longtable{margin-left:auto; margin-right: auto;}}
+\Configure{longtableparbox}{\IgnorePar\leavevmode\ShowPar\par}
+
+\fi
+\:CheckOption{pic-longtable}  \if:Option
+   \ConfigureEnv{longtable}
+     {\IgnorePar\EndP\Tg<div class="pic-longtable">\Picture*{}}
+     {\EndPicture\Tg</div>}{}{}
+   \Css{div.pic-longtable {text-align:center;}}
+\else
+   \Log:Note{for pictorial longtable,
+                      use the command line option `pic-longtable'}
+\fi
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{mwart}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ConfigureMark{subsection}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\mw at seccntformat
+    \HeadingNumber \HCode{</span>}\fi}
+\Configure{subsection}{}{}
+   {\NoFonts \ifvmode \IgnorePar\fi
+    \EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
+    \TitleMark \HtmlParOff}
+   {\HCode{</h4>}\HtmlParOn \EndNoFonts \IgnoreIndent\egroup\par\ShowPar}
+\Configure{subsectionTITLE+}{\thesubsection \space#1}
+\Configure{likesubsection}{}{}{\EndP\bgroup
+   \ifvmode \IgnorePar\fi
+   \HCode{<h4 class="likesubsectionHead"\a:LRdir>}\HtmlParOff }
+  {\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{likesubsectionTITLE+}{#1}
+\ConfigureMark{subsubsection}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\mw at seccntformat
+    \HeadingNumber \HCode{</span>}\fi}
+\Configure{subsubsection}{}{}
+   {\NoFonts \ifvmode \IgnorePar \fi  \EndP
+    \bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead"\a:LRdir>}%
+    \TitleMark \HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \EndNoFonts \IgnoreIndent\egroup
+    \par\ShowPar}
+\Configure{subsubsectionTITLE+}{\thesubsubsection \space#1}
+\Configure{likesubsubsection}{}{}
+   {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
+    \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup \par\ShowPar}
+\ConfigureMark{part}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\partname
+      \space \HeadingNumber \HCode{</span>}\fi}
+\Configure{part}{}{}
+   {\NoFonts\ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h1 class="partHead"\a:LRdir>}\TitleMark
+    \HCode{<br />}\HtmlParOff}
+   {\HCode{</h1>}\HtmlParOn \EndNoFonts \IgnoreIndent \par}
+\Configure{partTITLE+}{\thepart\space #1}
+\Css{h1.partHead{text-align: left}}
+\Configure{likepart}{}{}
+   {\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{likepartTITLE+}{#1}
+\ConfigureMark{section}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\mw at seccntformat
+    \HeadingNumber \HCode{</span>}\fi}
+\Configure{section}{}{}
+   {\NoFonts \ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark\HtmlParOff}
+   {\HCode{</h3>}\HtmlParOn \EndNoFonts \ShowPar \IgnoreIndent \par}
+\Configure{sectionTITLE+}{\thesection\space#1}
+\Configure{likesection}{}{}
+   {\ifvmode \IgnorePar\fi
+    \EndP\IgnorePar\HCode{<h3 class="likesectionHead"\a:LRdir>}\HtmlParOff}
+   {\HCode{</h3>}\HtmlParOn \IgnoreIndent \par}
+\Configure{likesectionTITLE+}{#1}
+\Configure{paragraph}{}{}
+  {\par\ShowPar\IgnoreIndent\HCode{<span
+      class="paragraphHead"\a:LRdir>}\begingroup\bf}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\Css{.paragraphHead, .likeparagraphHead
+   { margin-top:2em; font-weight: bold;}}
+\Configure{likeparagraph}{}{}
+  {\ShowPar\IgnoreIndent\HCode{<span class="likeparagraphHead"\a:LRdir>}}
+  {\HCode{</span>}\IgnorePar}
+\ConfigureMark{subparagraph}{}
+\Configure{subparagraph}{}{}
+  {\par\ShowPar\IgnoreIndent
+   \HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
+   \TitleMark\space}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\Css{.subparagraphHead, .likesubparagraphHead
+   { font-weight: bold;}}
+\Configure{likesubparagraph}{}{}
+  {\par\ShowPar\IgnoreIndent
+   \HCode{<span class="likesubparagraphHead"\a:LRdir>}\begingroup\bf}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\Configure{endpart}{likepart}
+\Configure{endlikepart}{endpart}
+\Configure{endsection}
+   {likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesection}
+   {section,chapter,likechapter,appendix,part,likepart}
+\Configure{endsubsection}
+   {likesubsection,section,likesection,chapter,%
+      likechapter,appendix,part,likepart}
+\Configure{endlikesubsection}
+   {subsection,section,likesection,chapter,%
+      likechapter,appendix,part,likepart}
+\Configure{endsubsubsection}
+   {likesubsubsection,subsection,likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesubsubsection}
+   {subsubsection,subsection,likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endparagraph}
+   {likeparagraph,subsubsection,likesubsubsection,subsection,%
+      likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikeparagraph}
+   {paragraph,subsubsection,likesubsubsection,subsection,%
+    likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endsubparagraph}
+   {likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
+    subsection,likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesubparagraph}
+   {subparagraph,likeparagraph,subsubsection,likesubsubsection,%
+    subsection,likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+
+\ConfigureToc{part}
+  {\HCode{<div class="partToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likepart}
+  {\HCode{<div class="likepartToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{section}
+  {\HCode{<div class="sectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likesection}
+  {\HCode{<div class="likesectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{subsection}
+  {\HCode{<div class="subsectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likesubsection}
+  {\HCode{<div class="likesubsectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{subsubsection}
+  {\HCode{<div class="subsubsectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likesubsubsection}
+  {\HCode{<div class="likesubsubsectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{paragraph}
+  {\HCode{<div class="paragraphToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likeparagraph}
+  {\HCode{<div class="likeparagraphToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{subparagraph}
+  {\HCode{<div class="subparagraphToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likesubparagraph}
+  {\HCode{<div class="likesubparagraphToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
+        {line-height: 200\%; font-weight:bold; font-size:110\%;}}
+\Css{.partToc, .likepartToc{text-align:center;margin-bottom:0.25em;
+           margin-top:0.25em;}}
+
+\Css{.sectionToc, .likesectionToc            {white-space: nowrap;}}
+\Css{.subsectionToc, .likesubsectionToc
+                            {margin-left:1em; white-space: nowrap;}}
+\Css{.subsubsectionToc, .likesubsubsectionToc
+                            {margin-left:2em; white-space: nowrap;}}
+\Css{.paragraphToc, .likeparagraphToc
+                            {margin-left:3em; white-space: nowrap;}}
+\Css{.subparagraphToc, .likesubparagraphToc
+                            {margin-left:4em; white-space: nowrap;}}
+
+\:CheckOption{7}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{6}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else \:CheckOption{5}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{4}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{3}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{2}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{1}     \if:Option
+    \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+    \CutAt{part}
+\CutAt{likepart}
+
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else
+    \Log:Note{for automatic sectioning
+        pagination, use the command line option
+                     `1', `2', `3', '4', '5', '6', or '7'}%
+\fi \fi \fi \fi \fi \fi  \fi
+\:CheckOption{sec-filename}   \if:Option \else
+    \Log:Note{for files named derived from section
+        titles, use the command line option `sec-filename'}%
+\fi
+ 
+\Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+\a:NoSection \let\leavevmode\empty \let\not at math@alphabet\:gobbleII
+\def\text at command##1{##1}\let\selectfont\empty
+\def\check at icl ##1\check at icr{}%
+\let\thanks\:gobble
+\def\mbox{\hbox}%
+\let\\\space \def\TeX{TeX}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\a:ttl##1##2//{##1//}%
+\let\large=\empty
+\let \bf=\empty
+\let \centering=\empty
+\def \ignorespaces##1\vskip##2//{##1}%
+\Tag{TITLE+}{\@title//}%
+}%
+%
+    \HCode{<div class="maketitle">}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
+   {\NoFonts\IgnorePar\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
+   {\HCode{</h2>}\IgnoreIndent\EndNoFonts}
+\Css{div.maketitle {text-align:center;}}
+\Css{h2.titleHead{text-align:center;}}
+\Css{div.maketitle{ margin-bottom: 2em; }}
+\:CheckOption{fn-in}\if:Option
+   \Configure{thanks author date and}
+   {\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
+     \ifvoid\fn:box\else  \csname unvbox\endcsname\fn:box\fi}
+   {\EndP\egroup\RecallEndP }
+   {\HCode{<div class="author" \a:LRdir>}}{\HCode{</div>}}
+   {\HCode{<div class="date" \a:LRdir>}}{\HCode{</div>}}
+   {\HCode{<br class="and" />}}
+   {\HCode{<br />}}
+\Configure{thank}
+   {\csname a:thank-mark\endcsname
+\Link{tk-\the\c at footnote}{\ifx
+        \footnote\thanks kt-\the\c at footnote\fi}}
+   {\EndLink \csname b:thank-mark\endcsname
+}
+   {\HCode{<p>}\protect\Link{\ifx \footnote\thanks kt-\the\c at footnote
+      \fi}{tk-\the\c at footnote}\csname a:thank-mark\endcsname
+}
+   {\csname b:thank-mark\endcsname
+\protect\EndLink}
+   {\HCode{</p>}}
+
+\Css{div.author, div.date {text-align:center;}}
+\Css{div.thanks{text-align:left; margin-left:10\%; font-size:85\%;
+                font-style:italic; }}
+
+\else
+   \Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="thanks" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="author" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="date" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\HCode{<br class="and" />}}
+   {\HCode{<br />}}
+\Configure{thank}
+   {\csname a:thank-mark\endcsname
+\Link{tk-\the\c at footnote}{}}
+   {\EndLink \csname b:thank-mark\endcsname
+}
+   {\HCode{<br />}\protect\Link{}{tk-\the\c at footnote}\protect
+     \EndLink \csname a:thank-mark\endcsname
+}
+   {\csname b:thank-mark\endcsname
+} {}
+
+\Css{div.author, div.date {text-align:center;}}
+\Css{div.thanks{text-align:left; margin-left:10\%; font-size:85\%;
+                font-style:italic; }}
+\Css{div.author{white-space: nowrap;}}
+
+\fi
+\Configure{@begin}{theindex}{\section*{\indexname}}
+\Configure{theindex}
+   {\ifvmode \IgnorePar\fi \EndP
+    \HCode{<div class="theindex">}\let\end:theidx\empty}
+   {\end:theidx\HCode{</div>}}
+   {} {\HCode{<br />}\hfil\break}
+   {\ \ \ \ } {\HCode{<br />}\hfil\break}
+   {\ \ \ \ \ \ \ \ } {\HCode{<br />}\hfil\break}
+   {\hbox{\end:theidx\HCode{<p class="theindex">}}%
+    \def\end:theidx{\HCode{</p>}}}
+
+\Configure{caption}{\HCode{\if:nopar  \else <br />\fi}
+   \:xhtml{\IgnorePar\EndP}\HCode{<div class="caption"\Hnewline
+                                 ><span class="id">}}
+   {: } {\HCode{</span><span \Hnewline class="content">}}
+   {\HCode{</span></div>}\HCode{<!--tex4ht:label?:
+   \cur:th\:currentlabel\space-->}%
+}
+\Css{div.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
+                  text-align:left;}}
+\Css{div.caption span.id{font-weight: bold; white-space: nowrap; }}
+
+\ConfigureEnv{thebibliography}{\IgnorePar}{\ShowPar\par}{}{}
+
+\:CheckOption{no-bib} \if:Option\else
+   \:CheckOption{mouseover} \if:Option
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi\EndP \js:on
+\HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi\EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\csname bibliography2\endcsname
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \EndP\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{</div></bibitem>\Hnewline}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Until bib }%
+%
+\HCode{-->}
+}\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex From bib }%
+%
+\HCode{<bibitem>}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set1 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set2 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{<div class="js">}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{-->}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+        \leavevmode \ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\HCode{<span
+      class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+}
+
+   \else
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\csname bibliography2\endcsname
+\EndP}%
+   \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+    \HCode{<span class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}}
+
+   \fi
+   \Css{p.bibitem { text-indent: -2em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+\Css{p.bibitem-p { text-indent: 0em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+
+\fi
+
+%\def\:SPAN#1#2{\HCode{<span class="#1">}#2\HCode{</span>}}
+\ConfigureToc{lof}
+  {\HCode{<span class="lofToc" \a:LRdir>}}{\ }{}{\HCode{</span><br />}}
+\ConfigureToc{lot}
+  {\HCode{<span class="lotToc" \a:LRdir>}}{\ }{}{\HCode{</span><br />}}
+
+\ConfigureList{description}%
+   {\EndP\HCode{<dl \a:LRdir class="description">}%
+      \PushMacro\end:itm
+\global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \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">}}
+
+\ConfigureEnv{quote}
+   {}{}
+   {\IgnorePar\EndP
+    \HCode{<div class="\getClass{quote}">}\afterGetClass{quote}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar\ShowIndent}
+\Css{.quote  {margin-bottom:0.25em; margin-top:0.25em;
+              margin-left:1em; margin-right:1em; text-align:justify;}}
+\NewConfigure{quoteClass}{2}
+\Configure{quoteClass}{quote}{}
+
+\ConfigureEnv{verse}
+   {\ifvmode \IgnorePar\fi\EndP\Tg<div class="verse">}
+   {\ifvmode \IgnorePar\fi\EndP\Tg</div>\par\ShowPar}
+   {}{}
+\ConfigureList{verse}
+   {}{}
+   {\parindent=\z@}  {\par}
+\Css{.verse{white-space:nowrap; margin-left:2em}}
+
+{\Configure{Needs}{Font\string_Size: #1}\ifcase  \@ptsize
+   \or \Needs{11}\or \Needs{12}\else \fi}
+
+\ConfigureEnv{quotation}
+   {}{}
+   {\IgnorePar\EndP\HCode{<div class="quotation">}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar}
+\Css{.quotation  {margin-bottom:0.25em;
+           margin-top:0.25em; margin-left:1em; }}
+
+\Configure{listof}{}{}{}{\HCode{<br />}}{}{ }
+
+\ConfigureEnv{abstract}
+   {\IgnorePar\EndP
+    \HCode{<table\Hnewline class="abstract"><tr><td\Hnewline>}\par\ShowPar}
+   {\ifvmode \IgnorePar\fi \EndP\HCode{</td></tr></table>}}{}{}
+\Css{.abstract p {margin-left:5\%; margin-right:5\%;}}
+\Css{table.abstract {width:100\%;}}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{mwrep}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ConfigureMark{subsection}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\mw at seccntformat
+    \HeadingNumber \HCode{</span>}\fi}
+\Configure{subsection}{}{}
+   {\NoFonts \ifvmode \IgnorePar\fi
+    \EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
+    \TitleMark \HtmlParOff}
+   {\HCode{</h4>}\HtmlParOn \EndNoFonts \IgnoreIndent\egroup\par\ShowPar}
+\Configure{subsectionTITLE+}{\thesubsection \space#1}
+\Configure{likesubsection}{}{}{\EndP\bgroup
+   \ifvmode \IgnorePar\fi
+   \HCode{<h4 class="likesubsectionHead"\a:LRdir>}\HtmlParOff }
+  {\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{likesubsectionTITLE+}{#1}
+\ConfigureMark{subsubsection}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\mw at seccntformat
+    \HeadingNumber \HCode{</span>}\fi}
+\Configure{subsubsection}{}{}
+   {\NoFonts \ifvmode \IgnorePar \fi  \EndP
+    \bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead"\a:LRdir>}%
+    \TitleMark \HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \EndNoFonts \IgnoreIndent\egroup
+    \par\ShowPar}
+\Configure{subsubsectionTITLE+}{\thesubsubsection \space#1}
+\Configure{likesubsubsection}{}{}
+   {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
+    \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup \par\ShowPar}
+\ConfigureMark{part}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\partname
+      \space \HeadingNumber \HCode{</span>}\fi}
+\Configure{part}{}{}
+   {\NoFonts\ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h1 class="partHead"\a:LRdir>}\TitleMark
+    \HCode{<br />}\HtmlParOff}
+   {\HCode{</h1>}\HtmlParOn \EndNoFonts \IgnoreIndent \par}
+\Configure{partTITLE+}{\thepart\space #1}
+\Css{h1.partHead{text-align: left}}
+\Configure{likepart}{}{}
+   {\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{likepartTITLE+}{#1}
+\ConfigureMark{section}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\mw at seccntformat
+    \HeadingNumber \HCode{</span>}\fi}
+\Configure{section}{}{}
+   {\NoFonts \ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark\HtmlParOff}
+   {\HCode{</h3>}\HtmlParOn \EndNoFonts \ShowPar \IgnoreIndent \par}
+\Configure{sectionTITLE+}{\thesection\space#1}
+\Configure{likesection}{}{}
+   {\ifvmode \IgnorePar\fi
+    \EndP\IgnorePar\HCode{<h3 class="likesectionHead"\a:LRdir>}\HtmlParOff}
+   {\HCode{</h3>}\HtmlParOn \IgnoreIndent \par}
+\Configure{likesectionTITLE+}{#1}
+\Configure{paragraph}{}{}
+  {\par\ShowPar\IgnoreIndent\HCode{<span
+      class="paragraphHead"\a:LRdir>}\begingroup\bf}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\Css{.paragraphHead, .likeparagraphHead
+   { margin-top:2em; font-weight: bold;}}
+\Configure{likeparagraph}{}{}
+  {\ShowPar\IgnoreIndent\HCode{<span class="likeparagraphHead"\a:LRdir>}}
+  {\HCode{</span>}\IgnorePar}
+\ConfigureMark{subparagraph}{}
+\Configure{subparagraph}{}{}
+  {\par\ShowPar\IgnoreIndent
+   \HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
+   \TitleMark\space}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\Css{.subparagraphHead, .likesubparagraphHead
+   { font-weight: bold;}}
+\Configure{likesubparagraph}{}{}
+  {\par\ShowPar\IgnoreIndent
+   \HCode{<span class="likesubparagraphHead"\a:LRdir>}\begingroup\bf}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\Configure{endpart}{likepart}
+\Configure{endlikepart}{endpart}
+\Configure{endsection}
+   {likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesection}
+   {section,chapter,likechapter,appendix,part,likepart}
+\Configure{endsubsection}
+   {likesubsection,section,likesection,chapter,%
+      likechapter,appendix,part,likepart}
+\Configure{endlikesubsection}
+   {subsection,section,likesection,chapter,%
+      likechapter,appendix,part,likepart}
+\Configure{endsubsubsection}
+   {likesubsubsection,subsection,likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesubsubsection}
+   {subsubsection,subsection,likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endparagraph}
+   {likeparagraph,subsubsection,likesubsubsection,subsection,%
+      likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikeparagraph}
+   {paragraph,subsubsection,likesubsubsection,subsection,%
+    likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endsubparagraph}
+   {likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
+    subsection,likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesubparagraph}
+   {subparagraph,likeparagraph,subsubsection,likesubsubsection,%
+    subsection,likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+
+\ConfigureMark{chapter}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\mw at seccntformat
+    \HeadingNumber \HCode{</span>}\fi}
+\Configure{chapter}{}{}
+   {\NoFonts \ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h2 class="chapterHead"\a:LRdir>}\TitleMark\HtmlParOff}
+   {\HCode{</h2>}\HtmlParOn \EndNoFonts \IgnoreIndent \par}
+\Configure{chapterTITLE+}{\thesection\space#1}
+\Configure{likechapter}{}{}
+   {\ifvmode \IgnorePar\fi
+    \EndP\IgnorePar\HCode{<h2 class="likechapterHead"\a:LRdir>}\HtmlParOff}
+   {\HCode{</h2>}\HtmlParOn \IgnoreIndent \par}
+\Configure{likechapterTITLE+}{#1}
+
+\ConfigureToc{part}
+  {\HCode{<div class="partToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likepart}
+  {\HCode{<div class="likepartToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{section}
+  {\HCode{<div class="sectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likesection}
+  {\HCode{<div class="likesectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{subsection}
+  {\HCode{<div class="subsectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likesubsection}
+  {\HCode{<div class="likesubsectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{subsubsection}
+  {\HCode{<div class="subsubsectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likesubsubsection}
+  {\HCode{<div class="likesubsubsectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{paragraph}
+  {\HCode{<div class="paragraphToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likeparagraph}
+  {\HCode{<div class="likeparagraphToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{subparagraph}
+  {\HCode{<div class="subparagraphToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likesubparagraph}
+  {\HCode{<div class="likesubparagraphToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
+        {line-height: 200\%; font-weight:bold; font-size:110\%;}}
+\Css{.partToc, .likepartToc{text-align:center;margin-bottom:0.25em;
+           margin-top:0.25em;}}
+
+\ConfigureToc{chapter}
+  {\HCode{<div class="chapterToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likechapter}
+  {\HCode{<div class="likechapterToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\Css{.chapterToc, .likechapterToc            {white-space: nowrap;}}
+\Css{.sectionToc, .likesectionToc
+                            {margin-left:1em; white-space: nowrap;}}
+\Css{.subsectionToc, .likesubsectionToc
+                            {margin-left:2em; white-space: nowrap;}}
+\Css{.subsubsectionToc, .likesubsubsectionToc
+                            {margin-left:3em; white-space: nowrap;}}
+\Css{.paragraphToc, .likeparagraphToc
+                            {margin-left:4em; white-space: nowrap;}}
+\Css{.subparagraphToc, .likesubparagraphToc
+                            {margin-left:5em; white-space: nowrap;}}
+
+\:CheckOption{7}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{6}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else \:CheckOption{5}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{4}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{3}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{2}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{1}     \if:Option
+    \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+    \CutAt{part}
+\CutAt{likepart}
+
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else
+    \Log:Note{for automatic sectioning
+        pagination, use the command line option
+                     `1', `2', `3', '4', '5', '6', or '7'}%
+\fi \fi \fi \fi \fi \fi  \fi
+\:CheckOption{sec-filename}   \if:Option \else
+    \Log:Note{for files named derived from section
+        titles, use the command line option `sec-filename'}%
+\fi
+ 
+\Configure{maketitle}
+   {\ifvmode \IgnorePar\fi \EndP {\Configure{maketitle}{}{}{}{}%
+\a:NoSection \let\leavevmode\empty \let\not at math@alphabet\:gobbleII
+\def\text at command##1{##1}\let\selectfont\empty
+\def\check at icl ##1\check at icr{}%
+\let\thanks\:gobble
+\def\mbox{\hbox}%
+\let\\\space \def\TeX{TeX}%
+\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
+\def\footnotemark[##1]{}%
+\def\a:ttl##1##2//{##1//}%
+\let\large=\empty
+\let \bf=\empty
+\let \centering=\empty
+\def \ignorespaces##1\vskip##2//{##1}%
+\Tag{TITLE+}{\@title//}%
+}%
+%
+    \HCode{<div class="maketitle">}}
+   {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
+   {\NoFonts\IgnorePar\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
+   {\HCode{</h2>}\IgnoreIndent\EndNoFonts}
+\Css{div.maketitle {text-align:center;}}
+\Css{h2.titleHead{text-align:center;}}
+\Css{div.maketitle{ margin-bottom: 2em; }}
+\:CheckOption{fn-in}\if:Option
+   \Configure{thanks author date and}
+   {\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
+     \ifvoid\fn:box\else  \csname unvbox\endcsname\fn:box\fi}
+   {\EndP\egroup\RecallEndP }
+   {\HCode{<div class="author" \a:LRdir>}}{\HCode{</div>}}
+   {\HCode{<div class="date" \a:LRdir>}}{\HCode{</div>}}
+   {\HCode{<br class="and" />}}
+   {\HCode{<br />}}
+\Configure{thank}
+   {\csname a:thank-mark\endcsname
+\Link{tk-\the\c at footnote}{\ifx
+        \footnote\thanks kt-\the\c at footnote\fi}}
+   {\EndLink \csname b:thank-mark\endcsname
+}
+   {\HCode{<p>}\protect\Link{\ifx \footnote\thanks kt-\the\c at footnote
+      \fi}{tk-\the\c at footnote}\csname a:thank-mark\endcsname
+}
+   {\csname b:thank-mark\endcsname
+\protect\EndLink}
+   {\HCode{</p>}}
+
+\Css{div.author, div.date {text-align:center;}}
+\Css{div.thanks{text-align:left; margin-left:10\%; font-size:85\%;
+                font-style:italic; }}
+
+\else
+   \Configure{thanks author date and}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="thanks" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="author" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{<div class="date" \a:LRdir>}}
+   {\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
+   {\HCode{<br class="and" />}}
+   {\HCode{<br />}}
+\Configure{thank}
+   {\csname a:thank-mark\endcsname
+\Link{tk-\the\c at footnote}{}}
+   {\EndLink \csname b:thank-mark\endcsname
+}
+   {\HCode{<br />}\protect\Link{}{tk-\the\c at footnote}\protect
+     \EndLink \csname a:thank-mark\endcsname
+}
+   {\csname b:thank-mark\endcsname
+} {}
+
+\Css{div.author, div.date {text-align:center;}}
+\Css{div.thanks{text-align:left; margin-left:10\%; font-size:85\%;
+                font-style:italic; }}
+\Css{div.author{white-space: nowrap;}}
+
+\fi
+\Configure{@begin}{theindex}{\section*{\indexname}}
+\Configure{theindex}
+   {\ifvmode \IgnorePar\fi \EndP
+    \HCode{<div class="theindex">}\let\end:theidx\empty}
+   {\end:theidx\HCode{</div>}}
+   {} {\HCode{<br />}\hfil\break}
+   {\ \ \ \ } {\HCode{<br />}\hfil\break}
+   {\ \ \ \ \ \ \ \ } {\HCode{<br />}\hfil\break}
+   {\hbox{\end:theidx\HCode{<p class="theindex">}}%
+    \def\end:theidx{\HCode{</p>}}}
+
+\Configure{caption}{\HCode{\if:nopar  \else <br />\fi}
+   \:xhtml{\IgnorePar\EndP}\HCode{<div class="caption"\Hnewline
+                                 ><span class="id">}}
+   {: } {\HCode{</span><span \Hnewline class="content">}}
+   {\HCode{</span></div>}\HCode{<!--tex4ht:label?:
+   \cur:th\:currentlabel\space-->}%
+}
+\Css{div.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
+                  text-align:left;}}
+\Css{div.caption span.id{font-weight: bold; white-space: nowrap; }}
+
+\ConfigureEnv{thebibliography}{\IgnorePar}{\ShowPar\par}{}{}
+
+\:CheckOption{no-bib} \if:Option\else
+   \:CheckOption{mouseover} \if:Option
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi\EndP \js:on
+\HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi\EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\csname bibliography2\endcsname
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \EndP\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{</div></bibitem>\Hnewline}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Until bib }%
+%
+\HCode{-->}
+}\HCode{<!--}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex From bib }%
+%
+\HCode{<bibitem>}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set1 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Set2 bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+\HCode{<div class="js">}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+%
+\HCode{-->}%
+\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+%
+%
+        \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+        \leavevmode \ht:special {t4ht at DCopyTo: \jobname-js.tex Skip bib }%
+\HCode{<span
+      class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}\ht:special {t4ht at DCopyTo: \jobname-js.tex Cont bib }%
+}
+
+   \else
+      \ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<div
+                   class="thebibliography">}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</div>}}
+   {\en:bib\def\en:bib{\csname bibliography2\endcsname
+\EndP}%
+   \Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+\par\ShowPar
+    \HCode{<span class="biblabel">}\Configure{HtmlPar}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\EndP\HCode{<p class="bibitem-p" \a:LRdir>}}
+   {\Tg</p>} {\Tg</p>}%
+}
+   {\HCode{<span class="bibsp">}\:nbsp
+      \:nbsp\:nbsp\HCode{</span></span>}}
+
+   \fi
+   \Css{p.bibitem { text-indent: -2em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+\Css{p.bibitem-p { text-indent: 0em; margin-left: 2em;
+       margin-top:0.6em; margin-bottom:0.6em;     }}
+
+\fi
+
+%\def\:SPAN#1#2{\HCode{<span class="#1">}#2\HCode{</span>}}
+\ConfigureToc{lof}
+  {\HCode{<span class="lofToc" \a:LRdir>}}{\ }{}{\HCode{</span><br />}}
+\ConfigureToc{lot}
+  {\HCode{<span class="lotToc" \a:LRdir>}}{\ }{}{\HCode{</span><br />}}
+
+\ConfigureList{description}%
+   {\EndP\HCode{<dl \a:LRdir class="description">}%
+      \PushMacro\end:itm
+\global\let\end:itm=\empty}
+   {\PopMacro\end:itm \global\let\end:itm \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">}}
+
+\ConfigureEnv{quote}
+   {}{}
+   {\IgnorePar\EndP
+    \HCode{<div class="\getClass{quote}">}\afterGetClass{quote}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar\ShowIndent}
+\Css{.quote  {margin-bottom:0.25em; margin-top:0.25em;
+              margin-left:1em; margin-right:1em; text-align:justify;}}
+\NewConfigure{quoteClass}{2}
+\Configure{quoteClass}{quote}{}
+
+\ConfigureEnv{verse}
+   {\ifvmode \IgnorePar\fi\EndP\Tg<div class="verse">}
+   {\ifvmode \IgnorePar\fi\EndP\Tg</div>\par\ShowPar}
+   {}{}
+\ConfigureList{verse}
+   {}{}
+   {\parindent=\z@}  {\par}
+\Css{.verse{white-space:nowrap; margin-left:2em}}
+
+{\Configure{Needs}{Font\string_Size: #1}\ifcase  \@ptsize
+   \or \Needs{11}\or \Needs{12}\else \fi}
+
+\ConfigureEnv{quotation}
+   {}{}
+   {\IgnorePar\EndP\HCode{<div class="quotation">}}
+   {\IgnorePar\EndP\HCode{</div>}\ShowPar}
+\Css{.quotation  {margin-bottom:0.25em;
+           margin-top:0.25em; margin-left:1em; }}
+
+\Configure{listof}{}{}{}{\HCode{<br />}}{}{ }
+
+\ConfigureEnv{abstract}
+   {\IgnorePar\EndP
+    \HCode{<table\Hnewline class="abstract"><tr><td\Hnewline>}\par\ShowPar}
+   {\ifvmode \IgnorePar\fi \EndP\HCode{</td></tr></table>}}{}{}
+\Css{.abstract p {margin-left:5\%; margin-right:5\%;}}
+\Css{table.abstract {width:100\%;}}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+                \ConfigureHinput{mwbk}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+    \ConfigureMark{subsection}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\mw at seccntformat
+    \HeadingNumber \HCode{</span>}\fi}
+\Configure{subsection}{}{}
+   {\NoFonts \ifvmode \IgnorePar\fi
+    \EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
+    \TitleMark \HtmlParOff}
+   {\HCode{</h4>}\HtmlParOn \EndNoFonts \IgnoreIndent\egroup\par\ShowPar}
+\Configure{subsectionTITLE+}{\thesubsection \space#1}
+\Configure{likesubsection}{}{}{\EndP\bgroup
+   \ifvmode \IgnorePar\fi
+   \HCode{<h4 class="likesubsectionHead"\a:LRdir>}\HtmlParOff }
+  {\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
+\Configure{likesubsectionTITLE+}{#1}
+\ConfigureMark{subsubsection}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\mw at seccntformat
+    \HeadingNumber \HCode{</span>}\fi}
+\Configure{subsubsection}{}{}
+   {\NoFonts \ifvmode \IgnorePar \fi  \EndP
+    \bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead"\a:LRdir>}%
+    \TitleMark \HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \EndNoFonts \IgnoreIndent\egroup
+    \par\ShowPar}
+\Configure{subsubsectionTITLE+}{\thesubsubsection \space#1}
+\Configure{likesubsubsection}{}{}
+   {\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
+    \HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
+   {\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup \par\ShowPar}
+\ConfigureMark{part}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\partname
+      \space \HeadingNumber \HCode{</span>}\fi}
+\Configure{part}{}{}
+   {\NoFonts\ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h1 class="partHead"\a:LRdir>}\TitleMark
+    \HCode{<br />}\HtmlParOff}
+   {\HCode{</h1>}\HtmlParOn \EndNoFonts \IgnoreIndent \par}
+\Configure{partTITLE+}{\thepart\space #1}
+\Css{h1.partHead{text-align: left}}
+\Configure{likepart}{}{}
+   {\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+\Configure{likepartTITLE+}{#1}
+\ConfigureMark{section}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\mw at seccntformat
+    \HeadingNumber \HCode{</span>}\fi}
+\Configure{section}{}{}
+   {\NoFonts \ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark\HtmlParOff}
+   {\HCode{</h3>}\HtmlParOn \EndNoFonts \ShowPar \IgnoreIndent \par}
+\Configure{sectionTITLE+}{\thesection\space#1}
+\Configure{likesection}{}{}
+   {\ifvmode \IgnorePar\fi
+    \EndP\IgnorePar\HCode{<h3 class="likesectionHead"\a:LRdir>}\HtmlParOff}
+   {\HCode{</h3>}\HtmlParOn \IgnoreIndent \par}
+\Configure{likesectionTITLE+}{#1}
+\Configure{paragraph}{}{}
+  {\par\ShowPar\IgnoreIndent\HCode{<span
+      class="paragraphHead"\a:LRdir>}\begingroup\bf}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\Css{.paragraphHead, .likeparagraphHead
+   { margin-top:2em; font-weight: bold;}}
+\Configure{likeparagraph}{}{}
+  {\ShowPar\IgnoreIndent\HCode{<span class="likeparagraphHead"\a:LRdir>}}
+  {\HCode{</span>}\IgnorePar}
+\ConfigureMark{subparagraph}{}
+\Configure{subparagraph}{}{}
+  {\par\ShowPar\IgnoreIndent
+   \HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
+   \TitleMark\space}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\Css{.subparagraphHead, .likesubparagraphHead
+   { font-weight: bold;}}
+\Configure{likesubparagraph}{}{}
+  {\par\ShowPar\IgnoreIndent
+   \HCode{<span class="likesubparagraphHead"\a:LRdir>}\begingroup\bf}
+  {\endgroup\HCode{</span>}\IgnorePar}
+\Configure{endpart}{likepart}
+\Configure{endlikepart}{endpart}
+\Configure{endsection}
+   {likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesection}
+   {section,chapter,likechapter,appendix,part,likepart}
+\Configure{endsubsection}
+   {likesubsection,section,likesection,chapter,%
+      likechapter,appendix,part,likepart}
+\Configure{endlikesubsection}
+   {subsection,section,likesection,chapter,%
+      likechapter,appendix,part,likepart}
+\Configure{endsubsubsection}
+   {likesubsubsection,subsection,likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesubsubsection}
+   {subsubsection,subsection,likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endparagraph}
+   {likeparagraph,subsubsection,likesubsubsection,subsection,%
+      likesubsection,section,%
+      likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikeparagraph}
+   {paragraph,subsubsection,likesubsubsection,subsection,%
+    likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endsubparagraph}
+   {likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
+    subsection,likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+\Configure{endlikesubparagraph}
+   {subparagraph,likeparagraph,subsubsection,likesubsubsection,%
+    subsection,likesubsection,section,%
+    likesection,chapter,likechapter,appendix,part,likepart}
+
+\ConfigureMark{chapter}
+   {\ifHeadingNumbered \HCode{<span class="titlemark">}\mw at seccntformat
+    \HeadingNumber \HCode{</span>}\fi}
+\Configure{chapter}{}{}
+   {\NoFonts \ifvmode \IgnorePar\fi \EndP\IgnorePar
+    \HCode{<h2 class="chapterHead"\a:LRdir>}\TitleMark\HtmlParOff}
+   {\HCode{</h2>}\HtmlParOn \EndNoFonts \IgnoreIndent \par}
+\Configure{chapterTITLE+}{\thesection\space#1}
+\Configure{likechapter}{}{}
+   {\ifvmode \IgnorePar\fi
+    \EndP\IgnorePar\HCode{<h2 class="likechapterHead"\a:LRdir>}\HtmlParOff}
+   {\HCode{</h2>}\HtmlParOn \IgnoreIndent \par}
+\Configure{likechapterTITLE+}{#1}
+
+\ConfigureToc{part}
+  {\HCode{<div class="partToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likepart}
+  {\HCode{<div class="likepartToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{section}
+  {\HCode{<div class="sectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likesection}
+  {\HCode{<div class="likesectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{subsection}
+  {\HCode{<div class="subsectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likesubsection}
+  {\HCode{<div class="likesubsectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{subsubsection}
+  {\HCode{<div class="subsubsectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likesubsubsection}
+  {\HCode{<div class="likesubsubsectionToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{paragraph}
+  {\HCode{<div class="paragraphToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likeparagraph}
+  {\HCode{<div class="likeparagraphToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{subparagraph}
+  {\HCode{<div class="subparagraphToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likesubparagraph}
+  {\HCode{<div class="likesubparagraphToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
+        {line-height: 200\%; font-weight:bold; font-size:110\%;}}
+\Css{.partToc, .likepartToc{text-align:center;margin-bottom:0.25em;
+           margin-top:0.25em;}}
+
+\ConfigureToc{chapter}
+  {\HCode{<div class="chapterToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}. }
+  {}
+  {\HCode{</div>}}
+\ConfigureToc{likechapter}
+  {\HCode{<div class="likechapterToc" \a:LRdir><span class="mark">}}
+  {\HCode{</span>}}
+  {}
+  {\HCode{</div>}}
+\Css{.chapterToc, .likechapterToc            {white-space: nowrap;}}
+\Css{.sectionToc, .likesectionToc
+                            {margin-left:1em; white-space: nowrap;}}
+\Css{.subsectionToc, .likesubsectionToc
+                            {margin-left:2em; white-space: nowrap;}}
+\Css{.subsubsectionToc, .likesubsubsectionToc
+                            {margin-left:3em; white-space: nowrap;}}
+\Css{.paragraphToc, .likeparagraphToc
+                            {margin-left:4em; white-space: nowrap;}}
+\Css{.subparagraphToc, .likesubparagraphToc
+                            {margin-left:5em; white-space: nowrap;}}
+
+\:CheckOption{7}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,%
+    paragraph,subparagraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph,subparagraph}
+\fi
+
+         \CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
+       subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{paragraph,/subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{6}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection,paragraph}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection,%
+    paragraph}
+\fi
+
+         \CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
+       section,likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,/subsection,%
+             /likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,%
+             /subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             paragraph,subparagraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsubsection,/likesubsubsection,%
+          /subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+     \MiniToc:At{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          paragraph,subparagraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else \:CheckOption{5}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection,subsubsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,%
+    likesubsection,subsection,likesubsubsection,subsubsection}
+\fi
+
+         \CutAt{subsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+             /chapter,/likechapter,%
+             /appendix,/part,%
+             subsubsection,paragraph}
+     \MiniToc:At{likesubsection,/subsection,/likesection,%
+             /section,/chapter,/likechapter,/appendix,/part,%
+             subsubsection,paragraph}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{subsection,/likesubsection,/section,/likesection,%
+          /chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+     \MiniToc:At{likesubsection,/subsection,%
+          /likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsubsection,likesubsubsection,%
+          paragraph}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{4}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+\CutAt{likesubsection,section,likesection,%
+                  chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{3}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+    appendix,section,subsection}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+    appendix,section,likesection,likesubsection,subsection}
+\fi
+
+         \CutAt{subsection,section,likesection,part}
+\CutAt{likesubsection,section,likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+             subsection,subsubsection}
+  \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{section,/likesection,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+     \MiniToc:At{likesection,/section,/chapter,/likechapter,/appendix,/part,%
+          subsection,likesubsection,subsubsection,likesubsubsection}
+  \fi
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection\expandafter\ifx
+     \csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{chapter,likechapter,appendix,part}
+\CutAt{likechapter,appendix,part}
+\CutAt{appendix,chapter,likechapter,part}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,chapter,likechapter,appendix,part}
+\CutAt{likesection,chapter,likechapter,appendix,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,likechapter,appendix,%
+          section,likesection}
+     \MiniToc:At{likepart,/part,chapter,likechapter,appendix,%
+          section,likesection}
+  \fi
+\fi
+
+         \:CheckOption{notoc*}     \if:Option
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,subsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,subsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,subsection}
+   \fi
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{chapter,/likechapter,/appendix,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{likechapter,/appendix,/chapter,/part,%
+             section,likesection,subsection,likesubsection}
+     \MiniToc:At{appendix,/chapter,/likechapter,/part,%
+             section,likesection,subsection,likesubsection}
+   \fi
+\fi
+
+    \fi
+    \:CheckOption{obj-toc}  \if:Option
+   \Css{object.toc { float: left;
+                     width: 25\%;
+                     height: 100\%;
+                     border: 1px solid \#888888;
+                     margin-left:0em;
+                     margin-top:0em;
+                     margin-bottom:1em;
+                     margin-right:1em;
+                     padding-right:1em;
+               }}
+   \Css{body\#jobname-toc{margin:0em;}}
+   \Css{body\#jobname-toc .tableofcontents{ white-space: nowrap; }}
+   \Configure{@BODY}
+      {\edef\:temp{\jobname-toc.\:html}
+       \edef\:tempa{\FileName}
+       \edef\:temp{\expandafter\string\csname\:temp\endcsname}
+       \edef\:tempa{\expandafter\string\csname\:tempa\endcsname}
+       \ifx\:temp\:tempa\else
+          \hbox{
+             \HCode{<object class="toc" data="\jobname-toc.\:html">}
+                 [\Link[\jobname-toc.\:html]{}{}table of contents\EndLink]
+             \HCode{</object>}}
+       \fi
+      }
+      {}
+   \pend:defI\Auto:ent{%
+      \bgroup
+      \let\contentsname=\empty
+      \Configure{!BODY}{ id="jobname-toc"}%
+      \Configure{Link}{a}{target="\string _top" href=}{id=}{}%
+      \NextFile{\jobname-toc.\csname :html\endcsname}%
+      \HPage{}%
+   }
+   \append:defI\Auto:ent{%
+      \EndHPage{}%
+      \egroup
+   }
+\else
+   \Log:Note{for frames-like object-based table of contents,
+                 use the command line option `obj-toc'}
+\fi
+
+\else\:CheckOption{2}     \if:Option
+    \expandafter\ifx \csname @chapter\endcsname\relax
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,appendix,section%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection\fi}
+\else
+  \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+  \Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
+     appendix,section,likesection%
+        \expandafter\ifx \csname @chapter\endcsname\relax
+     ,subsection,likesubsection\fi}
+\fi
+
+         \CutAt{section,likesection,part}
+\CutAt{likesection,part}
+
+         \:CheckOption{notoc*}     \if:Option
+\else
+  \:CheckOption{nominitoc}     \if:Option
+   \else
+      \Log:Note{to eliminate mini tables of
+          contents, use the command line option `nominitoc'}
+
+     \MiniToc:At{part,/likepart,chapter,%
+          section,likesection,subsection,likesubsection}
+     \MiniToc:At{likepart,/part,%
+          section,likesection,subsection,likesubsection}
+  \fi
+\fi
+
+    \else
+         \:CheckOption{notoc*}     \if:Option
+   \Configure{tableofcontents*}
+      {part,chapter,appendix}
+\else
+   \Log:Note{for tocs without * entries, use
+          command line option `notoc*'}
+
+   \Configure{tableofcontents*}
+      {part,likepart,chapter,likechapter,appendix}
+\fi
+      
+         \CutAt{part}
+\CutAt{likepart}
+
+         \:CheckOption{notoc*}     \if:Option
+  \Configure{tableofcontents*}{part,chapter,%
+     appendix,section\expandafter\ifx
+     \csname @chapter\endcsna