Chapter 36
revtex

REVTeX 3.0 from the American Institute of Physics,, REVTeX 4 Home Page

<..revtex4.4ht..>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % revtex4.4ht                           2014-07-12-22:36 %
 % Copyright (C) 2002--2009       Eitan M. Gurari         %
 <.TeX4ht copyright.>
 <.revtex4 configs.>
 \Hinput{revtex4}
 \endinput
 -_-_-

<..aps.4ht..>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % aps.4ht                               2014-07-12-22:36 %
 % Copyright (C) 2002--2009       Eitan M. Gurari         %
 <.TeX4ht copyright.>
 <.aps configs.>
 \Hinput{aps}
 \endinput
 -_-_-

<..revsymb.4ht..>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % revsymb.4ht                           2014-07-12-22:36 %
 % Copyright (C) 2009--2009       Eitan M. Gurari         %
 <.TeX4ht copyright.>
 <.revsymb configs.>
 \Hinput{revsymb}
 \endinput
 -_-_-

<..revsymb configs..>
 \MathSymbol\mathrel{REV@lesssim }
 \MathSymbol\mathrel{REV@gtrsim }
 \MathSymbol\mathord{openone }
 \MathSymbol\mathrel{altsuccsim }
 \MathSymbol\mathrel{altprecsim }
 \MathSymbol\mathrel{corresponds }
 -_-_-

<..revtex4 configs..>
 <.@array@array@new group.>
 <.@array@ltx group.>
 -_-_-

@array@array@new group
 \let\@array    \@array@array@new 
 \let\@@array   \@array 
 \let\@tabular  \@tabular@array@new 
 \let\@tabarray \@tabarray@array@new 
 \let\array     \array@array@new 
 \let\endarray  \endarray@array@new 
 \let\endtabular\endtabular@array@new 
 \let\@mkpream  \@mkpream@array@new 
 \let\@classx   \@classx@array@new 
 \let\@arrayacol\@arrayacol@ltx 
 \let\@tabacol  \@tabacol@ltx 
 \let\insert@column\insert@column@array@new 
 \expandafter\let\csname endtabular*\endcsname\endtabular 
 \let\@arraycr  \@arraycr@new 
 \let\@xarraycr \@xarraycr@new 
 \let\@xargarraycr\@xargarraycr@new 
 \let\@yargarraycr\@yargarraycr@new 
@array@ltx group
 \let\@array\@array@ltx 
 \let\multicolumn\multicolumn@ltx 
 \let\@tabular\@tabular@ltx 
 \let\@tabarray\@tabarray@ltx 
 \let\array\array@ltx 
 \let\endarray\endarray@ltx 
 \let\endtabular\endtabular@ltx 
 \let\@mkpream\@mkpream@ltx 
 \let\@addamp\@addamp@ltx 
 \let\@arrayacol\@arrayacol@ltx 
 \let\@tabacol\@tabacol@ltx 
 \let\@arrayclassz\@arrayclassz@ltx 
 \let\@tabclassiv\@tabclassiv@ltx 
 \let\@arrayclassiv\@arrayclassiv@ltx 
 \let\@tabclassz\@tabclassz@ltx 
 \let\@classv\@classv@ltx 
 \let\hline\hline@ltx 
 \let\@tabularcr\@tabularcr@ltx 
 \let\@xtabularcr\@xtabularcr@ltx 
 \let\@xargarraycr\@xargarraycr@ltx 
 \let\@yargarraycr\@yargarraycr@ltx 

<..@array@array@new group..>
 \def\:tempc[#1]#2{%
 %\hshow{@array@array@new--222}%
   <.init conds for @mkpream.>%
   \@tempdima\ht\strutbox
   \advance\@tempdima by\extrarowheight
   \setbox\@arstrutbox\hbox{}%
   \begingroup
      \@mkpream{#2}%
      \xdef\@preamble{%
         <.ialign for html @array.>}%
      <.globalize ar:cnt for array.sty.>%
   \endgroup
   \@arrayleft
   \@nameuse{@array@align@#1}%
      \def\v:TBL{#1}%
      \m@th
      \let\\\@arraycr \let\tabularnewline\\\let\par\@empty
      \ifx \EndPicture\:UnDef
        \SaveMkHalignConfig
        <.@array configuration for MkHalign.>%
        <.modefied @array config.>%
      \else \let\@sharp=##\fi
      \set@typeset@protect
      \lineskip\z@\baselineskip\z@
      \@preamble\array@row@pre
 }
 \HLet\@array@array@new\:tempc
 -_-_-

<..@array@ltx group..>
 \def\:tempc[#1]#2{%
 %\hshow{@array@ltx-22}%
   <.init conds for @mkpream.>%
   \setbox\@arstrutbox\hbox{}%
   \@nameuse{@array@align@#1}%
      \@mkpream{#2}%
      \expandafter\tmp:toks\expandafter=\expandafter{\@preamble}%
      \edef\@preamble{%
        \everycr{}\tabskip\z@skip\noexpand\MkHalign\noexpand\@sharp
        {\the\tmp:toks \tabskip\z@skip}%
      }%
      \def\v:TBL{#1}%
      \let\tabularnewline\\\let\par\@empty
      \ifx \EndPicture\:UnDef
        \SaveMkHalignConfig
        <.@array configuration for MkHalign.>%
        <.modefied @array config.>%
      \else \let\@sharp=##\fi
      \set@typeset@protect
      \lineskip\z@skip\baselineskip\z@skip
      \ifhmode \@preamerr\z@ \@@par\fi
      \@preamble\array@row@pre
 }
 \HLet\@array@ltx\:tempc
 -_-_-

<..@array@array@new group ..>
 \def\:tempc{%
 %\hshow{@tabular@array@new--22}%
   <.set hooks of tabular.>%
   \o:@tabular@array@new:
 }
 \HLet\@tabular@array@new\:tempc
 -_-_-

<..@array@ltx group ..>
 \def\:tempc{%
   <.set hooks of tabular.>%
 %\hshow{@tabular@ltx--22}%
   \o:@tabular@ltx:
 }
 \HLet\@tabular@ltx\:tempc
 -_-_-

<..@array@array@new group..>+
 \def\:tempc{%
 %\hshow{array@array@new--22}%
    <.set hooks of array.>%
    \o:array@array@new:}
 \HLet\array@array@new=\:tempc
 \def\:tempc{\relax \ifnum\HCol=1 \a:endarray\fi
    \enda:rray}
 \HLet\endarray@array@new\:tempc
 -_-_-

<..@array@ltx group..>+
 \def\:tempc{%
 %\hshow{array@ltx-2}%
    <.set hooks of array.>%
    \o:array@ltx:}
 \HLet\array@ltx=\:tempc
 \def\:tempc{\relax
    \ifx \HCol\:UnDef \else \ifnum\HCol=1 \a:endarray\fi \fi
    \crcr\ifx \EndPicture\:UnDef \EndMkHalign
    \else \egroup\fi \egroup}
 \HLet\endarray@ltx\:tempc
 -_-_-

<..@array@ltx group..>+
 \long\def\:temp#1#2#3{\multispan{#1}\a:multicolumn \begingroup
 %\hshow{multicolumn@ltx--2}%
   <.add Row.Col<-> to new:span.>%
   \def\@sharp{\c:multicolumn#3\d:multicolumn}\set@typeset@protect
   \let\@startpbox\@@startpbox\let\@endpbox\@@endpbox
   \@arstrut \@preamble\hbox{}\endgroup \b:multicolumn \ignorespaces}
 \HLet\multicolumn@ltx=\:temp
 -_-_-

<..@array@ltx group..>+
 \def\:temp{\a:hline}
 \HLet\hline@ltx=\:temp
 -_-_-

<..revtex4 configs..>+
 \let\twocolumngrid\onecolumngrid
 \let\@twocolumntrue\@twocolumnfalse
 \@booleanfalse\twocolumn@sw
 -_-_-

<..revtex4 configs..>+
 \def\titleblock@produce{%
  \a:mktl \par
  \begingroup
      \pend:def\frontmatter@above@affilgroup{%
         \pend:def\@AAC@list{\a:author}%
         \append:def\@AAC@list{\b:author}%
      }%
      \ifx \@date\empty\else
         \pend:def\@date{\a:date}%
         \append:def\@date{\b:date}%
      \fi
      \ifx \@received\empty\else
         \pend:def\@received{\a:received}%
         \append:def\@received{\b:received}%
      \fi
      \ifx \@revised\empty\else
         \pend:def\@revised{\a:revised}%
         \append:def\@revised{\b:revised}%
      \fi
      \ifx \@accepted\empty\else
         \pend:def\@accepted{\a:accepted}%
         \append:def\@accepted{\b:accepted}%
      \fi
      \ifx \@accepted\empty\else
         \pend:def\@published{\a:published}%
         \append:def\@published{\b:published}%
      \fi
   \let\footnote\footnote@latex
   \let\@makefnmark\@makefnmark@latex
   \let\@footnotemark\@footnotemark@latex
   \let\thefootnote\frontmatter@thefootnote
   \global\c@footnote\z@
   \let\@makefnmark\frontmatter@makefnmark
   \frontmatter@setup
   \thispagestyle{titlepage}%
   \par \a:ttl \label{FirstPage}\par
   \frontmatter@title@produce
   \b:ttl \par
   \groupauthors@sw{%
    \frontmatter@author@produce@group
   }{%
    \frontmatter@author@produce@script
   }%
   \par \a:RRAPformat\par
   \frontmatter@RRAPformat{%
    \expandafter\produce@RRAP\expandafter{\@date}%
    \expandafter\produce@RRAP\expandafter{\@received}%
    \expandafter\produce@RRAP\expandafter{\@revised}%
    \expandafter\produce@RRAP\expandafter{\@accepted}%
    \expandafter\produce@RRAP\expandafter{\@published}%
   }%
   \par\b:RRAPformat
   \frontmatter@abstract@produce
   \showPACS@sw{%
      \pend:defI\@pacs@produce{\par\a:pacs\par}%
      \append:defI\@pacs@produce{\par\b:pacs\par}%
   }{}%
   \@pacs@produce\@pacs
   \showKEYS@sw{%
      \pend:defI\@keywords@produce{\par\a:keywords\par}%
      \append:defI\@keywords@produce{\par\b:keywords\par}%
   }{}%
   \@keywords@produce\@keywords
   \par
   \a:frontpagefootnote
   \minipagefootnote@here
   \b:frontpagefootnote
   \par
   \frontmatter@finalspace
   <.adjust minipageNum for setcounter footnote 0.>%
  \endgroup
  \b:mktl \par
 }%
 -_-_-

<..revtex4 configs..>+
 \append:def\minipagefootnote@pick{%
   <.adjust minipageNum for setcounter footnote 0.>%
 }
 \append:def\ruledtabular{%
   <.adjust minipageNum for setcounter footnote 0.>%
 }
 -_-_-

<..revtex4 configs..>+
 \NewConfigure{RRAPformat}{2}
 \NewConfigure{received}{2}
 \NewConfigure{revised}{2}
 \NewConfigure{accepted}{2}
 \NewConfigure{published}{2}
 \NewConfigure{pacs}{2}
 \NewConfigure{keywords}{2}
 \NewConfigure{frontpagefootnote}{4}
 -_-_-

<..revtex4 configs..>+
 \NewConfigure{maketitle}[4]{\def\a:mktl{#1}\def\b:mktl{#2}%
    \def\a:ttl{#3}\def\b:ttl{#4}}
 \NewConfigure{thanks author date and}[8]{%
    \c:def\a:thanks{#1}\c:def\b:thanks{#2}%
    \c:def\a:author{#3}\c:def\b:author{#4}%
    \c:def\a:date{#5}\c:def\b:date{#6}%
    \c:def\a:and{#7}\c:def\e:mktl{#8}}
 -_-_-

<..revtex4 configs..>+
 \append:def\abstract{\a:abstract}
 \pend:def\endabstract{\b:abstract}
 \NewConfigure{abstract}{2}
 -_-_-

<..revtex4 configs..>+
 \def\:tempc#1#2#3{\o:doauthor:{\a:doauthor#1\b:doauthor}{#2}{#3}}
 \HLet\doauthor\:tempc
 \NewConfigure{doauthor}{2}
 -_-_-

<..revtex4 configs..>+
 \def\do@affil@fromgroup#1#2{%
   \@ifx{\relax#2}{}{%
     \count@#2\relax
     \@ifnum{\count@=\z@}{}{\a:affil#1\b:affil}%
     \do@affil@fromgroup#1%
 }}
 \NewConfigure{affil}{2}
 -_-_-

<..revtex4 configs..>+
 \def\:temp{%
   \@ifhmode{\skip@\lastskip\unskip\unpenalty\break
             \a:centercr\hskip\skip@}{}%
 }
 \HLet\frontmatter@addressnewline\:temp
 -_-_-

<..revtex4 configs..>+
 \def\@doendnote#1#2{\bibitem{#1}\a:endnote #2\b:endnote}
 \NewConfigure{endnote}{2}
 -_-_-

<..revtex4 configs..>+
 \def\NAT@bibsetnum#1{%
    \setlength{\topsep}{\z@}%
    \let\sv:rEfLiNK \rEfLiNK
    \let\rEfLiNK \@secondoftwo
    \NATx@bibsetnum{\ref{LastBibItem}}%
    \let\rEfLiNK \sv:rEfLiNK
 }
 \long\def\frontmatter@makefntext#1{%
  \parindent 1em
  \c:frontpagefootnote \a:footnotetext
  \noindent
  \Hy@raisedlink{\hyper@anchorstart{frontmatter@\the
                                    \c@footnote}\hyper@anchorend}%
  \@makefnmark
  \b:footnotetext \a:footnotebody
  #1%
  \b:footnotebody \c:footnotetext \d:frontpagefootnote
 }
 -_-_-

<..revtex4 configs..>+
 \let\no@ssect@ltx=\@ssect@ltx
 \def\@ssect@ltx#1#2#3#4#5{\:Sc3
    \no@ssect@ltx{#1}{#2}{#3}{#4}{\:Sc4#5\:Sc2}\HtmlEnv}
 \let\no@sect@ltx=\@sect@ltx
 \def\@sect@ltx#1#2#3#4#5#6[#7]#8{%
    \xdef\c:secnumdepth{#2}\:Sc3
    \no@sect@ltx{#1}{#2}{#3}{#4}{#5}{#6}[#7]{\:Sc4#8\:Sc2}\HtmlEnv}
 
 \:CheckOption{sections-}     \if:Option
    \Configure{@sec @ssect}{}
 \else
    \Configure{@sec @ssect}{%
       <.revtex4: sv Sc, sec, ssec.>\let\:Sc=\:gobble
       <.revtex4: redf sec.>%
       <.revtex4: redf ssec.>\IgnorePar}
 \fi
 
 -_-_-

<..revtex4: redf sec..>
 \def\@sect@ltx##1##2##3##4##5##6[##7]##8{%
    <.disable @seccntformat.>%
    \let\@sect@ltx=\no@sect@ltx   \xdef\c:secnumdepth{##2}%
    {\SkipRefstepAnchor \let\addcontentsline=\:gobbleIII \let\mark=\:gobble
     \no@sect@ltx{##1}{##2}{##3}{##4}{##5}{##6}[{##7}]{}}%
    <.revtex4: recall Sc, sec, ssec.>%
    <.restore @seccntformat.>%
    \HtmlEnv    \Toc:Title{##7}\csname no:#1\endcsname{##8}}%
 -_-_-

<..revtex4: redf ssec..>
 \def\@ssect@ltx##1##2##3##4##5##6[##7]##8{%
    <.star sec title.>%
    \let\@ssect@ltx=\no@ssect@ltx
    {\def\addcontentsline####1####2####3{}%
     \no@ssect@ltx{##1}{##2}{##3}{##4}{##5}{##6}[{##7}]{}}%
    <.revtex4: recall Sc, sec, ssec.>%
    \HtmlEnv   \csname :like#1\endcsname{##8}}%
 -_-_-

<..revtex4: sv Sc, sec, ssec..>
 \let\sv:Sc=\:Sc \let\sv:sect=\@sect@ltx \let\sv:ssect@ltx=\@ssect@ltx
 -_-_-

<..revtex4: recall Sc, sec, ssec..>
 \let\:Sc=\sv:Sc \let\@sect@ltx=\sv:sect \let\@ssect@ltx=\sv:ssect@ltx
 -_-_-

<..revtex4 configs..>+
 <.html late parts.>
 <.html late sections.>
 <.subsections for book / report / article.>
 <.subsubsections for book / report / article.>
 <.paragraphs for book / report / article.>
 -_-_-

<..revtex4 configs..>+
 \def\@array@align@c{%
   \leavevmode\@ifmmode{\vcenter\bgroup}{\vbox\bgroup\aftergroup\relax}}%
 \def\@array@align@v{%
  \@ifmmode{%
   \@badmath
   \vcenter\bgroup
  }{%
   \@ifinner{%
    \vbox\bgroup
   }{%
    \@@par\bgroup
   }%
  }%
 }%
 -_-_-

<..revtex4 configs..>+
 \let\widetext\empty
 \let\endwidetext\empty
 -_-_-

<..revtex4 configs..>+
 \def\@xfloat #1[#2]{%
     \def \@captype {#1}%
    \:clearpage \bf:float \:clearpage
    \begingroup
       \expandafter\ifx\csname end#1\endcsname\o:end@float:
          \expandafter\let\csname end#1\endcsname\float@end
          \expandafter\let\csname end#1*\endcsname\float@dblend
       \fi
       \@parboxrestore
       \reset@font
       \normalsize
       \everypar{\HtmlPar}%
       \@xfloat@prep
       \@nameuse{fp@proc@#2}%
 }
 \def\end@float{\endgroup  \:clearpage \af:float  \minipagefootnote@here}
 \let\end@dblfloat=\end@float
 -_-_-

<..revtex4 configs..>+
 \long\def\@makecaption#1#2{%
   \par
   \begingroup
      \small\rmfamily
      \flushing
      \let\footnote\@footnotemark@gobble
      {\cptA: \cap:ref{#1}\cptB:}{\cptC:{#2}\cptD:}
   \endgroup
   \par
 }
 \pend:def\caption{\SkipRefstepAnchor}
 \NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}%
    \c:def\cptC:{#3}\c:def\cptD:{#4}}
 -_-_-

<..revtex4 configs..>+
 \pend:def\frontmatter@abstractheading{\a:abstractheading}
 \append:def\frontmatter@abstractheading{\b:abstractheading}
 \NewConfigure{abstractheading}{2}
 \def\preprint#1{\a:preprint #1\b:preprint}
 \NewConfigure{preprint}{2}
 -_-_-

<..revtex4 configs..>+
 \def\p@subsection     {\thesection}
 \def\p@subsubsection  {\thesection\thesubsection}
 \def\p@paragraph      {\thesection\thesubsection\thesubsubsection}
 -_-_-

<..aps configs..>
 \def\bib@device#1#2{%
   \hb@xt@#1{\hfil \phantomsection
      \addcontentsline {toc}{section}{\protect\numberline{}\refname}}}
 -_-_-

<..aps configsNO..>
 <.revtex3 aps math.>
 <.revtex3 aps title page.>
 <.revtex3 aps sections.>
 <.revtex3 prabib 4ht.>
 -_-_-

<..revtex3 prabib 4ht..>
 \pend:def\references{\ifpreprintsty\else \ShowPar \par\noindent\fi}
 -_-_-

<..revtex3 aps math..>
 \def\no:make@eqnnum{\let\make@eqnnum=\empty}
 \append:def\equation{%
    \def\:@currentlabel{\the\c@equation}%
    \anc:lbl r{equation}%
    \pend:def\endequation{%
      \aftergroup\aftergroup
      \aftergroup\aftergroup
      \aftergroup\aftergroup
      \aftergroup\no:make@eqnnum}}
 -_-_-

<..revtex3 aps title page..>
 \def\:authoraddress{%
    \let\aps:centering=\centering
    \def\centering##1\par{\aps:centering\a:address##1\b:address\par}%
    \def\nointerlineskip{\def\centering####1\par{%
           \aps:centering\a:author####1\b:author\par}}}
 
 \NewConfigure{address}{2}
 
 \let\o:maketitle:\maketitle
 \def\maketitle{\bgroup
       <.adjust minipageNum for setcounter footnote 0.>%
       \def\sec:typ{title}%
       \Configure{HtmlPar}{}{}{}{}%
       \Configure{newpage}{}%
       \pend:def\@title{\a:ttl}\append:def\@title{\b:ttl\vskip2.5pt}%
       \pend:def\@date{\a:date}\append:def\@date{\b:date}%
       \pend:def\@authoraddress{\bgroup\:authoraddress }%
       \append:def\@authoraddress{\egroup }%
       \def\and{\a:and}
      \pend:def\@maketitle{\a:mktl}%
      \append:def\@maketitle{\b:mktl}%
      \o:maketitle:
    \egroup}
 
 \NewConfigure{maketitle}[4]{\c:def\a:mktl{#1}\c:def\b:mktl{#2}%
    \c:def\a:ttl{#3}\c:def\b:ttl{#4}}
 \NewConfigure{thanks author date and}[8]{%
    \c:def\a:thanks{#1}\c:def\b:thanks{#2}\c:def\a:author{#3}\c:def\b:author{#4}%
    \c:def\a:date{#5}\c:def\b:date{#6}\c:def\a:and{#7}\c:def\e:mktl{#8}}
 -_-_-

<..revtex3 aps sections..>
    \def\@part[#1]#2{%
     \ifnum \c@secnumdepth >-2\relax
       \SkipRefstepAnchor \refstepcounter{part}%
       \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
     \csname @endpart\endcsname}
 \let\:tempb\part
 \Def:Section\part{\thepart}{#1}
 \let\:part\part
 \let\part\:tempb
 \let\no@part\@part
 \def\@part[#1]#2{%
    {\let\addcontentsline\:gobbleIII\no@part[#1]{}}%
    \HtmlEnv   \Toc:Title{#1}\:part{#2}}
 \Def:Section\likepart{}{#1}
 \let\:likepart\likepart
 \let\likepart\:UnDef
 \let\no@spart\@spart
 \def\@spart#1{%
    {\let\addcontentsline\:gobbleIII\no@spart{}}%
    \HtmlEnv   \:likepart{#1}}
 
    \let\no@section\section
 \Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth   \else
    \thesection \fi}{\uppercase{#1}}
 \let\no:section\section
 \def\section{\rdef:sec{section}}
 \Def:Section\likesection{}{\uppercase{#1}}
 \let\:likesection\likesection
 \let\likesection\:UnDef
 
 
 \let\asp:@sect\no@sect
 \def\no@sect#1#2#3#4#5{\asp:@sect{#1}{#2}{#3}{#4}{#5\let\@svsec=\empty}}
 
 
 
 \let\no@subsection\subsection
 \Def:Section\subsection{\ifnum \c:secnumdepth>\c@secnumdepth   \else
    \thesubsection \fi}{#1}
 \let\no:subsection\subsection
 \def\subsection{\rdef:sec{subsection}}
 \Def:Section\likesubsection{}{#1}
 \let\:likesubsection\likesubsection
 \let\likesubsection\:UnDef
 
 \let\no@subsubsection\subsubsection
 \Def:Section\subsubsection{\ifnum \c:secnumdepth>\c@secnumdepth   \else
    \thesubsubsection \fi}{#1}
 \let\no:subsubsection\subsubsection
 \def\subsubsection{\rdef:sec{subsubsection}}
 \Def:Section\likesubsubsection{}{#1}
 \let\:likesubsubsection\likesubsubsection
 \let\likesubsubsection\:UnDef
 
 \let\no@paragraph\paragraph
 \Def:Section\paragraph{\ifnum \c:secnumdepth>\c@secnumdepth   \else
    \theparagraph \fi}{#1}
 \let\no:paragraph\paragraph
 \def\paragraph{\rdef:sec{paragraph}}
 \Def:Section\likeparagraph{}{#1}
 \let\:likeparagraph\likeparagraph
 \let\likeparagraph\:UnDef
 \let\no@subparagraph\subparagraph
 \Def:Section\subparagraph{\ifnum \c:secnumdepth>\c@secnumdepth   \else
    \thesubparagraph \fi}{#1}
 \let\no:subparagraph\subparagraph
 \def\subparagraph{\rdef:sec{subparagraph}}
 \Def:Section\likesubparagraph{}{#1}
 \let\:likesubparagraph\likesubparagraph
 \let\likesubparagraph\:UnDef
 
 
 
 \def\tableofcontents{%
    \ifx\contentsname\empty \else
       \ifx\contentsname\:UnDef \else
          %
 \section*{\contentsname}%
          %
 %
    \fi\fi
    \:tableofcontents}
 
 \ConfigureToc{likeparagraph} {}{\empty}{}{\newline}
 \ConfigureToc{likepart} {}{\empty}{}{\newline}
 \ConfigureToc{likesection} {}{\empty}{}{\newline}
 \ConfigureToc{likesubparagraph} {}{\empty}{}{\newline}
 \ConfigureToc{likesubsection} {}{\empty}{}{\newline}
 \ConfigureToc{likesubsubsection} {}{\empty}{}{\newline}
 \ConfigureToc{paragraph} {\empty}{\ }{}{\newline}
 \ConfigureToc{part} {\empty}{\ }{}{\newline}
 \ConfigureToc{section} {\empty}{\ }{}{\newline}
 \ConfigureToc{subparagraph} {\empty}{\ }{}{\newline}
 \ConfigureToc{subsection} {\empty}{\ }{}{\newline}
 \ConfigureToc{subsubsection} {\empty}{\ }{}{\newline}
 
 
 \edef\:TOC{%
    \noexpand\ifx [\noexpand\:temp
       \noexpand\expandafter\noexpand\:TableOfContents
    \noexpand\else
       \noexpand\Auto:ent{\ifnum \c@tocdepth >-2 part,\fi
 \expandafter\ifx \csname @chapter\endcsname\relax
    \ifnum \c@tocdepth >\z@  section,\fi
 \else
    \ifnum \c@tocdepth >\m@ne chapter,appendix,\fi
    \ifnum \z@>\c@tocdepth\else section,\fi
    \ifnum 1>\c@tocdepth \else subsection,\fi
 \fi
 \ifnum 2>\c@tocdepth \else subsection,\fi
 \ifnum 3>\c@tocdepth \else subsubsection,\fi
 \ifnum 4>\c@tocdepth \else paragraph,\fi
 \ifnum 5>\c@tocdepth \else subparagraph,\fi
 UnDFexyz}%
    \noexpand\fi}
 \def\:tableofcontents{\futurelet\:temp\:TOC}
 \def\Auto:ent#1{%
    \edef\auto:toc{\noexpand\:TableOfContents[\ifx \auto:toc\:UnDef
       #1\else \auto:toc \fi]}  \auto:toc
    \global\let\auto:toc\:UnDef }
 
 \def\:tocs{\noexpand\:tableofcontents}
 \pend:defIII\addcontentsline{%
    \def\:temp{##1}\def\:tempa{toc}\ifx \:temp\:tempa
    \gHAdvance\TitleCount  1 \fi }
 \def\@dottedtocline#1#2#3#4#5{\hbox{\def\numberline##1{\e:listof
                 ##1\f:listof}\c:listof#4\d:listof}\ignorespaces}
 \def\@starttoc#1{%
   \begingroup
     \makeatletter   \Configure{cite}{}{}{}{}%
     \def\:temp{#1}\def\:tempa{toc}%
     \a:listof\par
     \@input{\jobname.\ifx \:temp\:tempa 4ct\else #1\fi}%
     \b:listof
     \if@filesw
       \expandafter\expandafter\csname
           newwrite\endcsname\csname tf@#1\endcsname
       \immediate\openout \csname tf@#1\endcsname \jobname.#1\relax
     \fi
     \global\@nobreakfalse
   \endgroup}
 
 
 \NewConfigure{tableofcontents*}[1]{%
    \def\:tempa{#1}\ifx\empty\:tempa
       \ifx \au:StartSec\:UnDef \else \gdef\:StartSec{\au:StartSec}\fi
    \else
       \edef\auto:toc{#1}%
          \ifx \au:StartSec\:UnDef
             \let\au:StartSec\:StartSec
             \def\:StartSec{\:tableofcontents
                \global\let\auto:toc\:UnDef \:StartSec}%
             \pend:def\:tableofcontents{\gdef\:StartSec{\au:StartSec}}%
    \fi  \fi
 }
 -_-_-