%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% latex.4ht                            2001-12-14-17:07 %
% Copyright (C) 1997--2001      Eitan M. Gurari         %
%                                                       %
% This program can redistributed and/or modified under  %
% the terms of the LaTeX Project Public License         %
% Distributed from CTAN archives in directory           %
% macros/latex/base/lppl.txt; either version 1 of the   %
% License, or (at your option) any later version.       %
%                                                       %
% However, you are allowed to modify this program       %
% without changing its name, if you modify its          %
% signature. Changes to the signature can be introduced %
% with a directive of the form                          %
%            \message{signature}                        %
%                                                       %
%                             gurari@cis.ohio-state.edu %
%                 http://www.cis.ohio-state.edu/~gurari %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\immediate\write-1{version 2001-12-14-17:07}

\ifx\SaveMkHalignConf:g\:UnDef \else \expandafter\endinput\fi

\def\:startdoc{%
    \let\no@document\document
    \def\document{%
       \let\document\no@document
       \let\no@document\:UnDef
       \document \at:startdoc }%
}

\let\end\o:end
\let\o:end\:UnDef
\let\o:enddocumenthook\@enddocumenthook
\def\@enddocumenthook{\HtmlEnv
   \o:enddocumenthook
   \at:docend  \csname export:hook\endcsname  }

\ifx \pageno\:Undef  \let\pageno\c@page   \fi
\let\accent:def\def
\pend:def\protect:wrtoc{\:protect \toc:lbl:idx}
  \def\endMkHalign{\EndMkHalign}
\def\:protect{\vrb:tt
  \let\protect\@unexpandable@protect
  \let\ref\o:ref \more:no
}

\:CheckOption{no-halign} \if:Option \else
   \def\:temp{\everycr{}}
   \HLet\displ@y\:temp
\fi
\def\:tblgn{\ifx [\:temp \expandafter\:tbln
   \else  \expandafter\c:tblgn \fi}
\def\:tbln[#1]#2#3#4#5{%
   \def\m:tab{#2#3#4#5}\ifx \m:tab\empty \else
      \Configure{\:tempa}{#2}{#3}{#4}{#5}{}\fi
   \def\m:tab{#1}}
\long\def\c:tblgn#1#2#3#4{%
   \c:def\a:tabalgn{\ifx \EndPicture\:UnDef #1\fi}%
   \d:def\b:tabalgn{\ifx \EndPicture\:UnDef #2\fi}%
   \d:def\c:tabalgn{\ifx \EndPicture\:UnDef #3\fi}%
   \d:def\d:tabalgn{\ifx \EndPicture\:UnDef #4\fi}\E:tabalign}
\c:def\a:tabalgn{}
\d:def\b:tabalgn{}
\d:def\c:tabalgn{}
\d:def\d:tabalgn{}
\def\pic:MkHalign#1{%
  \csname a:#1\endcsname
  \ifx \EndPicture\:Undef
     \expandafter\expandafter\csname reg:#1\endcsname
  \else
     \vtop\bgroup$$
     \expandafter\def\csname #1\endcsname{\bgroup
         \expandafter\def\csname end#1\endcsname{\csname
              o:#1:\endcsname\egroup}%
         \csname o:#1:\endcsname}%
      \expandafter\def\csname end#1\endcsname{\csname
          o:end#1:\endcsname$$\egroup
         \csname b:#1\endcsname}\expandafter
                               \expandafter\csname o:#1:\endcsname
  \fi}
\def\SaveMkHalignConf:g#1{\SaveMkHalignConfig
   \edef\:temp{\noexpand\Configure{MkHalign} {} {}
     {\expandafter\noexpand\csname c:#1\endcsname}
     {\expandafter\noexpand\csname d:#1\endcsname }
     {\expandafter\noexpand\csname e:#1\endcsname
        \noexpand\RecallMkHalignConfig}
     {\expandafter\noexpand\csname f:#1\endcsname }}\:temp}

\ifx \@ifpackageloaded\:UnDef
   \long\def\@ifpackageloaded#1#2#3{}
\fi
\def\:ifpackageloaded#1#2#3{%
   \:CheckOption{no_#1}\if:Option \:Optionfalse
   \else \@ifpackageloaded{#1}{#2}{#3}\fi}
\def\:iffil#1,#2!*?: {\def\:tempa{#1}\ifx \:temp\:tempa
      \let\:tempb=\empty
   \else
      \ifx \:tempa\empty       \let\:tempb=\empty
      \else \def\:tempb{\:iffil#2!*?: }\fi
   \fi \:tempb}
     
                      
\def\:temp{\o:obeylines:
   \let\obeylines\o:obeylines:
   \a:obyln\ht:everypar{\b:obyln}\global\let\x:obln\end:obeylines
   \aftergroup\x:obln }
\HLet\obeylines\:temp
\NewConfigure{obeylines}[3]{\c:def\a:obyln{#1}\c:def\b:obyln{#3}%
   \c:def\end:obeylines{#2}}
\def\:temp#1{\leavevmode\a:oalign\o:oalign:{#1}\b:oalign}
\HLet\oalign\:temp
\NewConfigure{oalign}{2}

     
                      
                      
                      
                      
                      
                      
\NewConfigure{hspace}{3}
\Configure{hspace}{}{}{ }
\def\:temp#1{\tmp:dim#1\relax
   \a:hspace \hsp:c\hskip #1\relax\b:hspace}
\HLet\@hspace\:temp
\def\:temp#1{\tmp:dim#1\relax
   \a:hspace \hsp:c\vrule \@width\z@\nobreak
   \hskip #1\hskip \z@skip\b:hspace}
\HLet\@hspacer\:temp
\def\hsp:c{\ifdim \tmp:dim>1em\c:hspace\fi
   \ifdim \tmp:dim>2em\c:hspace\fi\ifdim \tmp:dim>3em\c:hspace\fi
   \ifdim \tmp:dim>4em\c:hspace\fi\ifdim \tmp:dim>5em\c:hspace\fi}
     
                      
                      
\NewConfigure{textundescore}[1]{\expandafter
   \def\csname ?\string\textunderscore\endcsname{\leavevmode#1}}
\Configure{textundescore}{\HChar{95}}
    
                      
\let\:settodim\@settodim
\def\@settodim#1#2#3{\PictureOff \:settodim#1{#2}{#3}\PictureOn}
    
                      
                      
                      
                      
                      
                      
                      
\def\no:lnk#1#2#3\EndLink{#3}
\let\:ref\ref
\let\:index\index
\def\no:lbl:idx{\let\label\@gobble }
\def\toc:lbl:idx{\a:NoSection}
\NewConfigure{@newlabel}[1]{\concat:config\a:@newlabel{#1}}
\let\a:@newlabel\relax
\NewConfigure{newlabel}[2]{%
   \def\a:newlabel{#1}\ifx  \a:newlabel\empty
      \def\label:addr{\cur:th \:currentlabel}%
   \else
      \def\label:addr{#1}%
   \fi
   \def\a:newlabel##1{\expandafter\string\c:rEfLiNK{\label:addr}{#2}}}
\NewConfigure{ref}[3]{%
   \def\a:rEfLiNK{#1}\def\b:rEfLiNK{#3}%
   \ifx \a:rEfLiNK\empty
      \ifx \b:rEfLiNK\empty
         \expandafter\def\c:rEfLiNK##1##2{##2}%
      \else
         \expandafter\def\c:rEfLiNK##1##2{#3}%
      \fi
   \else
      \ifx \b:rEfLiNK\empty
         \expandafter\def\c:rEfLiNK##1##2{#1{##1}{}##2#2}%
      \else
         \expandafter\def\c:rEfLiNK##1##2{#1{##1}{}#3#2}%
      \fi
   \fi
   \def\b:rEfLiNK{#2}%
}
\Configure{newlabel}{\cur:th \:currentlabel}{#1}
\NewConfigure{newlabel-ref}[1]{\def\c:rEfLiNK{#1}%
   \ifx \at:startdoc\:UnDef \dflt:ref{#1}\else
      \pend:def\at:startdoc{\dflt:ref{#1}}\fi
}
\def\dflt:ref#1{\if@filesw\immediate\write\@auxout{\string\ifx
    \string#1\string\UnDef\gdef\string#1\#1\#2{\#2}\string\fi}\fi}
\Configure{newlabel-ref}{\rEfLiNK}
\let\:writefile\@writefile
\def\@writefile#1{\bgroup \catcode`\:11 \:wrtfile{#1}}
\def\:wrtfile#1#2{\egroup\:writefile{#1}{#2}}
\let\:label\label
\def\label{\relax
   \expandafter\ifx \csname cur:th\endcsname\relax \expandafter\:label
   \else \expandafter\l:bel \fi}
\let\lb:l\label
\def\l:bel#1{\@bsphack\if@filesw {\let\thepage\relax
   \def\#{\string\#}%
%
   \let\protect\@unexpandable@protect \cur:lbl{}%
   \ifx \EndPicture\:UnDef
      \ifx \cur:th\skip:anchor
         \bgroup   \a:@newlabel
   \Make:Label{\label:addr}{}\egroup
%
      \fi
   \else
      \begingroup
   \a:@newlabel
   \edef\:temp{\noexpand\AfterPicture{%
       \noexpand\Make:Label{\label:addr}{}%
       \noexpand\uno:lbl{\label:addr}}%
   }\:temp
\endgroup
%
   \fi
   \a:@newlabel
   \edef\@tempa{\write\@auxout{\string
      \newlabel{#1}{{\a:newlabel\@currentlabel
}{\a:newlabel\thepage
}\ifx \prf:label\:UnDef \else \prf:label\fi
}}}%
   \expandafter}\@tempa
   \if@nobreak \ifvmode\nobreak\fi\fi\fi
   \let\skip:anchor\:UnDef
%
   \@esphack}
\let\l:bel:\l:bel
\def\l::bel#1{{\:SUBOff\:SUPOff\xdef\:temp{\noexpand\l:bel:{#1}}}\:temp}
\def\l:bel{\Protect\l::bel}
\let\o:ref\:ref
\def\::ref#1{{\:SUBOff\:SUPOff\xdef\RefArg{#1}}\o:ref{\RefArg}}
\def\:ref{\Protect\::ref}
\let\ref\:ref
\let\:newl@bel\@newl@bel
\let\n:wlbl\@newl@bel
\def\@newl@bel#1#2{{\:SUBOff\:SUPOff
   \xdef\:temp{\noexpand\n:wlbl{#1}{#2}}}\:temp}
\let\:testdef\@testdef
\def\@testdef #1#2{{\:SUBOff\:SUPOff
   \xdef\:temp{\noexpand\:testdef{#1}{#2}}}\:temp}

\def\uno:lbl#1{\def\:temp{#1}\futurelet\:tempa\I:lbl}
\def\I:lbl{\ifx \:tempa\Make:Label \expandafter\no:mklbl \fi}
\def\no:mklbl#1#2#3{\def\:tempa{#2}\ifx \:temp\:tempa \else
   \Make:Label{#2}{#3}\fi}
\let\:currentlabel\empty
\NewConfigure{@:currentlabel}[1]{\concat:config\a:@:currentlabel{#1}}
\let\a:@:currentlabel\relax
\def\cur:lbl#1{{\a:@:currentlabel
  \def\:currentlabel{\par}%
\ifx\@currentlabel\:currentlabel
   \def\:currentlabel{\let\:currentlabel\empty}%
\else \def\:currentlabel{#1}%
   \edef\:currentlabel{\def\noexpand
                 \:currentlabel{\ifx\:currentlabel\empty
         \ifx \:@currentlabel\:UnDef \@currentlabel
         \else \:@currentlabel \fi
      \else
          \expandafter\ifx\csname #1:Count\endcsname\relax
             \expandafter\the\csname c@#1\endcsname
          \else \csname #1:Count\endcsname\fi
      \fi}}%
\fi
\expandafter}\:currentlabel}
\append:defI\refstepcounter{%
  \let\cnt:currentlabel\@currentlabel
\def\:@currentlabel{\ifx \cnt:currentlabel\@currentlabel
   \expandafter\the\csname c@#1\endcsname\else \@currentlabel\fi}%
%
  \anc:lbl r{#1}}
\def\anc:lbl#1#2{%
   \html:addr   \edef\cur:th{x\last:haddr #1}%
   \ifx \EndPicture\:UnDef
      {\let\leavevmode\empty \cur:lbl{#2}%
      \Make:Label{\cur:th\:currentlabel}{}}%
   \else \ifx \label\@gobble \else  \cur:lbl{#2}%
       \edef\:temp{\noexpand\AfterPicture{%
          \noexpand\Make:Label{\cur:th\:currentlabel}{}}}\:temp
   \fi \fi}
\let\onc:lbl\anc:lbl
\def\SkipRefstepAnchor{\def\anc:lbl##1##2{\html:addr
   \edef\cur:th{x\last:haddr}\ShowRefstepAnchor
   \let\skip:anchor\cur:th}}
\def\ShowRefstepAnchor{\let\anc:lbl\onc:lbl}
\def\AutoRefstepAnchor{\SkipRefstepAnchor}

\html:addr   \edef\cur:th{x\last:haddr}
\def\Make:Label#1#2{\hbox{\Link{}{#1}#2\EndLink}}
\let\No:Labels\empty
\NewConfigure{currentlabel}{1}

      

\def\@centercr{\ifhmode \unskip\else \@nolnerr\fi
   \ifx \EndPicture\:UnDef \a:centercr \b:centercr
   \fi    \par   \@ifstar{\nobreak\@xcentercr}\@xcentercr}
\def\@icentercr[#1]{%
   \ifx \EndPicture\:UnDef
      \ifdim #1>0.5\baselineskip \a:centercr\fi
   \fi  \vskip #1\ignorespaces}
\append:def\flushleft{\linepenalty10 }
\append:def\flushright{\linepenalty10 \ifx \EndPicture\:UnDef
     \parfillskip\@flushglue
     \leftskip\z@skip \rightskip\@flushglue
   \fi}
\append:def\centering{%
   \linepenalty10 \ifx \EndPicture\:UnDef
     \parfillskip\@flushglue
     \leftskip\z@skip \rightskip\@flushglue
   \fi}

\bgroup
  \catcode`\(=1   \catcode`\)=2  \catcode`\/=0
  \catcode`\{=12   \catcode`\}=12  \catcode`\\=12
/gdef/ScriptEnv#1(%
   /expandafter/let/csname :#1:/endcsname=/empty
   /edef/:temp(/def/expandafter/noexpand/csname a:#1/endcsname
      ####1/expandafter/noexpand/csname end/endcsname{#1}%
      (####1/noexpand/:EndVerbatim/noexpand/end(#1)))/:temp
   /expandafter/def/csname
      b:#1/endcsname##1\end{#1}(##1/:EndVerbatim/end(#1))%
   /edef/:temp(/noexpand/DefScript:
      /expandafter/noexpand/csname #1/endcsname
      (/expandafter/noexpand/csname a:#1/endcsname)%
      (/expandafter/noexpand/csname b:#1/endcsname))/:temp
)
/egroup
\let\:sverb\@sverb
\def\@sverb#1{\a:verb \pend:def\verb@egroup{\b:verb}%
   \:sverb#1}
\let\:temp\@verbatim
\HLet\@verbatim\:temp
\pend:def\@verbatim{%
  \Configure{obeylines}{\let\ \v:ch}{}{\v:par}}

\let\o:begin:\begin
\def\begin#1{\csname @begin:#1\endcsname
  \ifx \EndPicture\:Undef
    \PushStack\envn:list\n:list  \SaveEverypar \fi
  \let\chk:pic\EndPicture
\ifx \EndPicture\:UnDef  \list:save
\let\after:end\empty   \csname before:begin#1\endcsname   \fi
%
  \@ifundefined{#1}%
    {\def\reserved@a{\@latex@error{Environment #1 undefined}\@eha}}%
    {\def\reserved@a{\def\@currenvir{#1}%
     \edef\@currenvline{\on@line}%
     \ifx \EndPicture\:UnDef
   \ifx \this:listConfigure\empty
       \null:listConfigure  \csname on#1:list\endcsname \fi
\fi
%
     \csname #1\endcsname
                    %
}}%
  \global\@ignorefalse
  \begingroup\@endpefalse \reserved@a}
\def\recall:afterend{\ifx \chk:pic\:UnDef
   \ifhmode \hfill\break\fi
\edef\@doendpe{%
   \if:removeindent \noexpand\IgnoreIndent \else \noexpand\ShowIndent \fi
   \if:nopar        \noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
\RecallEverypar \@doendpe
\edef\@doendpe{\noexpand\@endpetrue
   \def\noexpand\par{\noexpand\@restorepar
      \ht:everypar{\noexpand\HtmlPar}%        
      \noexpand\par\noexpand\@endpefalse }%
   \ht:everypar{{\setbox\z@\lastbox}%
      \noexpand\if@endpe \noexpand\HtmlPar \noexpand\fi
      \ht:everypar{\the\ht:everypar}%
      \noexpand\@endpefalse}%
   }%
\fi}
\:CheckOption{hooks+}  \if:Option
   \pend:defI\begin{\expandafter
      \ifx\csname before:begin##1\endcsname\relax
      \expandafter\ifx\csname bfr:begin##1\endcsname\relax
         \immediate\write16{....\string\ConfigureEnv{##1}{}{}{}{}}%
         \expandafter\let\csname bfr:begin##1\endcsname=\empty
      \fi\fi}
\fi

\NewConfigure{@begin}[2]{%
   \expandafter\def\csname @begin:#1\endcsname{#2}}
\let\o:end:\end
\def\end#1{\IgnoreIndent
  \IgnorePar \csname end#1\endcsname\@checkend{#1}%
  \aftergroup\recall:afterend
  \expandafter\endgroup\if@endpe\@doendpe\fi
  \ifx \chk:pic\:UnDef  \csname after:end\endcsname
\expandafter\let\csname after:end\endcsname\:UnDef
%
     \PopStack\envn:list\:tempb
\ifnum \:tempb=\n:list \else
   \def\:temp{#1}\def\:tempa{thebibliography}\ifx \:temp\:tempa
   \else\:warning{\string\SaveEverypar's: \:tempb\space at
          \string\begin{#1} and \n:list\space \string\end{#1}}%
\fi \fi
\list:recall \fi
  \if@ignore\global\@ignorefalse\ignorespaces\fi}
    
\def\:temp#1{\a:bordermatrix\o:bordermatrix:{#1}\b:bordermatrix}
\HLet\bordermatrix\:temp
\NewConfigure{bordermatrix}{2}

\def\tx:halign#1#2{\csname a:#1\endcsname
   \csname  \ifx \EndPicture\:Undef reg:#1\else o:#1:\fi
   \endcsname{#2}\csname b:#1\endcsname}
\def\:tempc#1{\tx:halign{displaylines}{#1}}
\HLet\displaylines\:tempc
                                    \catcode`\#13 \catcode`\!6
\def\reg:displaylines!1{\tabskip\z@skip
   \SaveMkHalignConf:g{displaylines}\RecallTeXcr
   \MkHalign#{\hbox{$\@lign\displaystyle#$}}!1\crcr
   \EndMkHalign\RecallMkHalignConfig}
                                    \catcode`\#=6 \catcode`\!=12
\NewConfigure{displaylines}{4}


\def\ProtectedMathSymbol#1#2{%
   \def\:temp{{\math:sym#1{#2}}}%
   \expandafter\HLet\csname #2 \endcsname\:temp
   \NewConfigure{#2}{1}\Configure{#2}{\csname o:#2 :\endcsname}}
\def\EncMathSymbol#1#2#3{%
   \NewConfigure{#2}{1}%
   \edef\:tempc{#3\expandafter\string\csname #2\endcsname}%
   \def\:temp{{\math:sym#1{#2}}}%
   \expandafter\HLet  \csname \:tempc\endcsname\:temp
   \edef\:temp{\noexpand\Configure{#2}{\expandafter\noexpand
       \csname \:tempc\endcsname}}\:temp
}
\EncMathSymbol\mathop{l}{OT1}
\EncMathSymbol\mathop{L}{OT1}
\MathSymbol\mathop{mathellipsis}

   \def\big#1{{\hbox{\pic:gobble\a:big$\left#1\vbox
    to8.5\p@{}\right.\n@space$\pic:gobble\b:big}}}
\def\Big#1{{\hbox{\pic:gobble\a:Big$\left#1\vbox
    to11.5\p@{}\right.\n@space$\pic:gobble\b:Big}}}
\def\bigg#1{{\hbox{\pic:gobble\a:bigg$\left#1\vbox
    to14.5\p@{}\right.\n@space$\pic:gobble\b:bigg}}}
\def\Bigg#1{{\hbox{\pic:gobble\a:Bigg$\left#1\vbox
    to17.5\p@{}\right.\n@space$\pic:gobble\b:Bigg}}}
\NewConfigure{big}{2}
\NewConfigure{Big}{2}
\NewConfigure{bigg}{2}
\NewConfigure{Bigg}{2}
\def\bigl#1{\mathopen{\big{#1}}}
\def\bigm#1{\mathrel{\big{#1}}}
\def\bigr#1{\mathclose{\big{#1}}}
\def\Bigl#1{\mathopen{\Big{#1}}}
\def\Bigm#1{\mathrel{\Big{#1}}}
\def\Bigr#1{\mathclose{\Big{#1}}}
\def\biggl#1{\mathopen{\bigg{#1}}}
\def\biggm#1{\mathrel{\bigg{#1}}}
\def\biggr#1{\mathclose{\bigg{#1}}}
\def\Biggl#1{\mathopen{\Bigg{#1}}}
\def\Biggm#1{\mathrel{\Bigg{#1}}}
\def\Biggr#1{\mathclose{\Bigg{#1}}}
\def\:tempc{\a:quad}   \HLet\quad\:tempc
\def\:tempc{\a:qquad}  \HLet\qquad\:tempc
\NewConfigure{quad}{1}        \Configure{quad}{\o:quad:}
\NewConfigure{qquad}{1}       \Configure{qquad}{\o:qquad:}
\def\:temp#1#2{\a:mthpl\o:mathpalette:{#1}{#2}\b:mthpl}
\HLet\mathpalette\:temp
\NewConfigure{mathpalette}[2]{\c:def\a:mthpl{#1}\c:def\b:mthpl{#2}}
\Configure{mathpalette}{}{}
\def\:temp{\relax
  \ifmmode \expandafter\o:mathpalette:\expandafter\mathph@nt
  \else  \expandafter\makeph@nt  \fi}
\HLet\ph@nt\:temp
\def\:temp{\relax
  \ifmmode  \expandafter\o:mathpalette:\expandafter\mathsm@sh
  \else     \expandafter\makesm@sh  \fi}
\HLet\smash\:temp

\def\:temp #1\of #2{%
    {\a:root #1\b:root#2\c:root}}
\HLet\root\:temp
\NewConfigure{root}{3}
\NewConfigure{cases}[8]{\c:def\a:cases{#1}\c:def\b:cases{#2}%
    \c:def\c:cases{#5}\c:def\d:cases{#6}\c:def\e:cases{#7}%
    \c:def\f:cases{#8}\c:def\g:cases{#3}\c:def\h:cases{#4}}
\Configure{cases}{}{}{}{}{}{}{}{}
\def\:tempc#1{\tx:halign{cases}{#1}}
\HLet\cases\:tempc
                                    \catcode`\#13 \catcode`\!6
\def\reg:cases!1{\left\{\vcenter{\normalbaselines\m@th  \g:cases
   \SaveMkHalignConf:g{cases}\RecallTeXcr
   \MkHalign#{$#$&{#}}!1\crcr
   \EndMkHalign\RecallMkHalignConfig   \h:cases}\right.}
                                    \catcode`\#=6 \catcode`\!=12
\def\:tempc#1{\tx:halign{matrix}{#1}}
\HLet\matrix\:tempc
                                    \catcode`\#13 \catcode`\!6
\def\reg:matrix!1{\null\,\vcenter{\normalbaselines\m@th
   \SaveMkHalignConf:g{matrix}\RecallTeXcr
   \MkHalign#{$#$&&$#$}!1\crcr
   \EndMkHalign\RecallMkHalignConfig}}
                                    \catcode`\#=6 \catcode`\!=12
\NewConfigure{matrix}{6}
\:CheckOption{no-pmatrix} \if:Option \else
   \def\:temp#1{\a:pmatrix\o:pmatrix:{#1}\b:pmatrix}
\HLet\pmatrix\:temp
\NewConfigure{pmatrix}{2}

\fi
\def\:temp#1{\relax\ifvmode\leavevmode\fi
   \a:overline\hbox{$#1$}\b:overline}
\HLet\overline\:temp
\NewConfigure{overline}{2}

   \def\:temp#1#2{{\a:frac\begingroup
   #1\endgroup\b:frac \over \c:frac #2\d:frac}}
\HLet\frac\:temp
\NewConfigure{frac}{4}
\def\:temp#1{{\a:sqrtsign{\o:sqrtsign:{#1}}\b:sqrtsign}}
\HLet\sqrtsign\:temp
\NewConfigure{sqrtsign}{2}
\long\def\:temp#1{\leavevmode\hbox{\a:mbox {#1}\b:mbox}}
\HLet\mbox\:temp
\NewConfigure{mbox}{2}
\long\def\:temp#1#2[#3]#4#5{%
  \leavevmode
  \@pboxswfalse
  \setlength\@tempdima{#4}%
  \@begin@tempboxa\vbox{\hsize\@tempdima\@parboxrestore#5\@@par}%
    \ifx\relax #2\else
    \ifx\@empty #2\else
      \setlength\@tempdimb{#2}%
      \def\@parboxto{to\@tempdimb}%
    \fi\fi
    \if#1b\vbox
    \else\if #1t\vtop
    \else\ifmmode\vcenter
    \else\@pboxswtrue \expandafter\everymath\expandafter{\expandafter
           \everymath\expandafter{\the\everymath}}%
$\vcenter
    \fi\fi\fi
    \@parboxto{\let\hss\vss\let\unhbox\unvbox
       \csname bm@#3\endcsname}%
    \if@pboxsw \m@th$\fi
  \@end@tempboxa}
\HLet\@iiiparbox\:temp
\def\:temp#1{\relax\ifvmode\leavevmode\fi
   \a:underline \o:@@underline:{#1}\b:underline}
\HLet\@@underline\:temp
\NewConfigure{underline}{2}

                                    \catcode`\#13 \catcode`\!6
\def\reg:eq:narray!1\cr{\SaveMkHalignConf:g{eq:narray\if@eqnsw\else *\fi}
\MkHalign#{\hskip\@centering$\displaystyle\tabskip\z@skip{#}$\@eqnsel
&\global\@eqcnt\@ne\hskip \tw@\arraycolsep \hfil${#}$\hfil
&\global\@eqcnt\tw@ \hskip \tw@\arraycolsep
         $\displaystyle{#}$\hfil\tabskip\@centering
&\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss#\egroup \tabskip\z@skip
}%
}
                                    \catcode`\#=6 \catcode`\!=12
\def\:tempc{
     \@@eqncr
     \EndMkHalign   \RecallMkHalignConfig
     \csname b:eq:narray\if@eqnsw\else *\fi\endcsname
     \global\advance\c@equation\m@ne
   $$\@ignoretrue }
\HLet\endeqnarray\:tempc
\def\:tempc{%
   \html:addr \edef\cur:th{x\last:haddr r}%
%
   \let\sv:halign=\halign \def\halign{\let\halign=\sv:halign
   \eq:narray\halign}\o:eqnarray:}
\HLet\eqnarray\:tempc
\let\eq:narray\empty
\def\:tempc{\pic:MkHalign{eq:narray\if@eqnsw\else *\fi}}
\HLet\eq:narray\:tempc
\def\c:eqnarray:{\c:eq:narray:}  \NewConfigure{eq:narray}{6}
\expandafter\let\csname reg:eq:narray*\endcsname\reg:eq:narray
\expandafter\def\csname c:eqnarray*:\endcsname{\csname
    c:eq:narray*:\endcsname}  \NewConfigure{eq:narray*}{6}
\let\snd:halign\empty
\def\:temp[#1]{\ifnum 0=`{\fi }\@@eqncr}
\HLet\@xeqncr\:temp
\def\:temp{\let\reserved@a\relax
   \ifcase\@eqcnt \def\reserved@a{& & &}\or
       \def\reserved@a{& &}%
   \or \def\reserved@a{&}\else
     \let\reserved@a\@empty
     \@latex@error{Too many columns in eqnarray environment}\@ehc\fi
   \reserved@a \if@eqnsw \@eqnnum
  {\let\html:addr\empty \anc:lbl r{}%
}%
  \stepcounter{equation}\fi
%
   \global\@eqnswtrue\global\@eqcnt\z@\cr}
\HLet\@@eqncr\:temp

      
\long\def\ConfigureList#1#2#3#4#5{\expandafter
   \def\csname on#1:list\endcsname{\def\this:listConfigure{%
      \def\:DLL{#2}\def\:DT{#4}\def\:DD{#5}\def\end:DL{#3}%
      \tmp:cnt0  \def\:temp{#2#3#4#5}%
      \g:let\:DLL{#1}\g:let\:DT{#1}\g:let\:DD{#1}\g:let\end:DL{#1}%
      }}}
\def\null:listConfigure{%
   \global\let\:DLL\empty
   \global\let\:DT\empty  \global\let\:DD\empty
   \global\let\end:DL\empty  \global\let\empty:D:T:D\empty}
\null:listConfigure   \let\this:listConfigure\empty
     
\def\lrbox#1{%
  \edef\reserved@a{%
    \endgroup
    \setbox#1\hbox{%
      \noexpand\PictureOff
      \begingroup   \aftergroup}%
        \def\noexpand\@currenvir{\@currenvir}%
        \def\noexpand\@currenvline{\on@line}}%
  \reserved@a
    \@endpefalse
    \color@setgroup
      \ignorespaces}
\let\:imakebox\@imakebox
\long\def\@imakebox[#1][#2]#3{\:imakebox[#1][#2]{{#3}}}
\let\:sbox\sbox
\long\def\sbox#1#2{\:sbox#1{{#2}}}
\def \@setminipage{%
  \@minipagetrue
  \ht:everypar{\@minipagefalse\HtmlPar\ht:everypar{\HtmlPar}}%
}
\long\def\:temp#1{\a:fbox\o:fbox:{\hbox{{#1}}}\b:fbox}
\HLet\fbox\:temp
\long\def\:temp[#1][#2]#3{\a:framebox
                          \o:@iframebox:[#1][#2]{#3}\b:framebox}
\HLet\@iframebox\:temp
\NewConfigure{framebox}{2}
\NewConfigure{centerline}[2]{\c:def\cnt:a{#1}\c:def\cnt:b{#2}}
\NewConfigure{leftline}[2]{\c:def\lft:a{#1}\c:def\lft:b{#2}}
\NewConfigure{rightline}[2]{\c:def\rgt:a{#1}\c:def\rgt:b{#2}}
     
\let\:tempc\tabbing
\pend:def\:tempc{\Configure{HtmlPar}{}{}{}{}%
   \edef\ln:tab{\LikeRef{)tb\tab:N } 0 }%
   \let\TABBING\ln:tab  \gdef\locs:tab{}}
\HLet\tabbing\:tempc
\let\:tempc\endtabbing
\append:def\:tempc{%
   \Tag{)tb\tab:N }{\locs:tab}%
   \def\:temp{.}\ifx \:temp\dot:tab
      \:warning{\noexpand\' ignored in tabbing}
   \fi}
\HLet\endtabbing\:tempc
\def\:addfield{\global\setbox\@curline\hbox{\unhbox
   \@curline\unhbox\@curfield}}
\def\:temp{%
   \global\setbox\@curline\hbox{\unhbox
      \@curline   \x:tab\D:tab
      \unhbox\@curfield  \d:tab
      \tmp:dim\dimen\@curtab
\advance\tmp:dim  -\loc:tab
\ifdim \tmp:dim >\z@
   \tmp:dim\m:tab\tmp:dim
   \xdef\locs:tab{\locs:tab\space \pt:int\tmp:dim}%
\fi
\xdef\loc:tab{\the\dimen\@curtab}%
%
}}
\HLet\@addfield\:temp
\def\:temp{%
   \TRD:tab  \gdef\loc:tab{\z@}%
   \ifnum \@nxttabmar >\@hightab
     \@badtab  \global\@nxttabmar \@hightab
   \fi
   \global\@curtabmar \@nxttabmar
   \global\@curtab \@curtabmar
   \global\setbox\@curline \hbox {}%
   \@startfield  \ifdim \the\dimen\@curtab > \z@
       \gdef\x:tab{\D:tab  \d:tab\gdef\x:tab{}}%
\else  \gdef\x:tab{}%
\fi
%
   \strut}
\HLet\@startline\:temp
\def\:temp{%
  \@stopfield
  \global\setbox\@curline\hbox{%
    \box\@curline
    \hskip-\wd\@curfield \hskip-\tabbingsep
    \x:tab \D:tab
%
    \box\@curfield
    \hskip\tabbingsep}%
  \@startfield
  \ignorespaces}
\HLet\@tablab\:temp
\def\:temp{%
  \@stopfield \:addfield
%
  \global\advance\@tabpush \@ne
  \begingroup  \@contfield}
\HLet\pushtabs\:temp
\def\:temp{\@stopfield \:addfield
%
  \ifnum \@tabpush >\z@
    \endgroup  \global\advance\@tabpush \m@ne
    \ifnum \@curtab >\@hightab
      \global \@curtab \@hightab
      \@badtab \fi
  \else \@badpoptabs \fi
  \@contfield}
\HLet\poptabs\:temp
\let\:tempc\@stopline
\append:def\:tempc{\rt:tab
   \xdef\locs:tab{\locs:tab\space 0 }\pic:gobble\hfill}
\HLet\@stopline\:tempc
\let\:tempc\kill
\pend:def\:tempc{\xdef\locs:tab{\locs:tab\space 0 }}
\HLet\kill\:tempc
\def\pt:int#1{\expandafter\pt:nt\the#1//}
\def\pt:nt#1.#2//{#1}
\def\TRD:tab{\gdef\D:tab{\a:tabalgn \c:tabalgn \gdef\D:tab{}}}
\def\d:tab{\gdef\D:tab{%
   \d:tabalgn \c:tabalgn \gdef\D:tab{}}}
\def\rt:tab{\d:tabalgn\b:tabalgn}
\def\gt:tab{%
   \afterassignment\gt:tb \tmp:cnt=\ln:tab \space 0//}
\def\gt:tb#1//{\xdef\ln:tab{#1}%
   \edef\:tempa{\ifnum \tmp:cnt> 0 width="\the\tmp:cnt"\fi }}

\let\E:tabalign\empty
\def\c:tabbing:{\def\:tempa{tabbing}\futurelet\:temp\:tblgn}

\HAssign\tab:N0
\pend:def\tabbing{\let\dot:tab\empty \gHAdvance\tab:N  1}
\append:def\endtabbing{\Tag{)tb\tab:N .}{\dot:tab}}
\pend:def\@tablab{\xdef\dot:tab{.}}

\:CheckOption{no-array}\if:Option \else
   \def\:temp{\let\@array:a\a:array \let\@array:b\b:array
   \let\@array:c\c:array \let\@array:d\d:array
   \let\@array:e\e:array \let\@array:f\f:array \o:array:}
\HLet\array\:temp
\ifx \:@tabular:\:UnDef \let\:@tabular:\empty \fi
\NewConfigure{multicolumn}{2}

   \:ifpackageloaded{array}{\:Optiontrue}{}
\fi
\if:Option \else
   \def\:temp[#1]#2{%
  \def\Clr{#2}\a:VBorder
\HAssign\ar:cnt0
\let\HAlign\empty
%
  \setbox\@arstrutbox\hbox{%
    \vrule \@height\arraystretch\ht\strutbox
           \@depth\arraystretch \dp\strutbox
           \@width\z@}%
  \@mkpream{#2}%
  \edef\@preamble{%
        \everycr{}\tabskip\z@skip\noexpand\MkHalign\noexpand\@sharp
   {\@arstrut \@preamble \tabskip\z@skip}%
}%
  \let\@startpbox\@@startpbox \let\@endpbox\@@endpbox
  \let\tabularnewline\\%
  \if #1t\vtop \else \if#1b\vbox \else \vcenter \fi\fi
  \bgroup
    \let\par\@empty \let\protect\relax
    \lineskip\z@skip\baselineskip\z@skip
    \ifx \EndPicture\:UnDef
       \SaveMkHalignConfig \ifx \recall:ar\:UnDef
   \pend:def\@array{\recall:ar}%
   \edef\recall:ar{%
      \noexpand\ifx \noexpand\EndPicture\noexpand\:UnDef \noexpand\else
         \arrayrulewidth\the\arrayrulewidth
         \doublerulesep\the\doublerulesep
         \arraycolsep\the\arraycolsep
         \tabcolsep\the\tabcolsep
      \noexpand\fi }%
\fi
\arrayrulewidth\z@  \doublerulesep\z@
\arraycolsep\z@     \tabcolsep\z@
\Configure{MkHalign}{\@array:a}{\@array:b}\@array:c
   \@array:d{\@array:e\RecallMkHalignConfig\recall:ar}\@array:f
%
    \else \let\@sharp##\fi  
    \@preamble}
\HLet\@array\:temp
\def\endarray{\crcr\ifx \EndPicture\:UnDef \EndMkHalign
   \else \egroup\fi \egroup}
\def\endtabular{\crcr\ifx \EndPicture\:UnDef
   \EndMkHalign\else \egroup\fi \egroup $\egroup}
\expandafter \let \csname endtabular*\endcsname\endtabular
\expandafter\def\csname tabular*\endcsname#1{\tabular}
\expandafter\def\csname before:begintabular*\endcsname{\csname
   before:begintabular\endcsname}
\expandafter\def\csname ontabular*:list\endcsname{\csname
   ontabular:list\endcsname}
\def\:temp#1{\@chclass \ifnum \@lastchclass=\tw@ 4 \else
    \ifnum \@lastchclass=3 5 \else
     \z@ \if #1c\@chnum \z@ \add:ar-\else
                              \if #1l\@chnum \@ne \add:ar<\else
                              \if #1r\@chnum \tw@ \add:ar>\else
          \@chclass \if #1|\@ne \b:VBorder\else
                    \if #1@\tw@ \d:VBorder\else
                    \if #1p3 \add:ar p\else \z@ \@preamerr 0\fi
  \fi  \fi  \fi  \fi  \fi  \fi
\fi}
\HLet\@testpach\:temp
\def\add:ar#1{%
   \Advance:\ar:cnt by 1
   \def\ch:class{#1}%
\c:VBorder
   \edef\HAlign{\HAlign 0 \ar:cnt\space #1 }}
\def\HColAlign{\expandafter \ifx\csname
   \expandafter\string\ch:class :T:D\endcsname\relax \else \csname
   \expandafter\string\ch:class :T:D\endcsname\fi}

\long\def\:temp#1#2#3{\multispan{#1}\begingroup
  \let\HAlign\empty  \@mkpream{#2}%
\ifx \EndPicture\:UnDef
   \def\:temp##1 ##2 ##3 {##3}%
   \xdef\new:span{\new:span\HRow.\HCol\expandafter\:temp\HAlign;}%
\fi
%
  \def\@sharp{\a:multicolumn#3\b:multicolumn}\set@typeset@protect
  \let\@startpbox\@@startpbox\let\@endpbox\@@endpbox
  \@arstrut \@preamble\hbox{}\endgroup\ignorespaces}
\HLet\multicolumn\:temp
\NewConfigure{multicolumn}{2}



\def\:temp{%
   \let\@array:a\a:tabular \let\@array:b\b:tabular
\let\@array:c\c:tabular \let\@array:d\d:tabular
\let\@array:e\e:tabular \let\@array:f\f:tabular
%
   \leavevmode \hbox \bgroup \:@tabular:
   $\let\@acol\@tabacol  \let\@classz\@tabclassz
   \let\@classiv\@tabclassiv \let\\\@tabularcr\@tabarray}
\HLet\tabular\:temp

\fi
       
\let\lt:pic\picture
\def\picture{%
   \ifx \EndPicture\:UnDef
      \expandafter\Picture\a:pict{ \space\b:pict}%
         \let\end:lt:pic\endpicture
         \def\endpicture{\end:lt:pic \EndPicture}%
   \else \let\EndPicture\empty
   \fi\lt:pic}
\NewConfigure{picture}[2]{\d:def\a:pict{#1}\c:def\b:pict{#2}}
    
\def\:thm{\o:@thm:}
\def\:temp{\let\sv:item\item
\def\item[##1]{\let\item\sv:item\item[##1]\b:newtheorem}%
\a:newtheorem\AutoRefstepAnchor
\:thm}
\HLet\@thm\:temp
\let\o:@endtheorem:\@endtheorem
\append:def\@endtheorem{\c:newtheorem}
\NewConfigure{newtheorem}{3}
       
\let\no@ssect\@ssect
\def\@ssect#1#2#3#4#5{\:Sc3
   \no@ssect{#1}{#2}{#3}{#4}{\:Sc4#5\:Sc2}\HtmlEnv}
\let\no@sect\@sect
\def\@sect#1#2#3#4#5#6[#7]#8{%
   \xdef\c:secnumdepth{#2}\:Sc3
   \no@sect{#1}{#2}{#3}{#4}{#5}{#6}[#7]{\:Sc4#8\:Sc2}\HtmlEnv}
\let\:startsection\@startsection
\def\@startsection#1{\@ifstar{\Configure{secType}{like#1}}%
   {\Configure{secType}{#1}}%
   \:Sc1\:startsection{#1}}
\NewConfigure{secType}[1]{\def\sec:typ{#1}}
\NewConfigure{@sec @ssect}[1]{%
   \def\rdef:sec##1{#1\csname no@##1\endcsname}}
\let\o:@seccntformat:\@seccntformat
\:CheckOption{sections-}     \if:Option
   \Configure{@sec @ssect}{}
\else
   \def\@seccntformat#1{}
   \Configure{@sec @ssect}{%
      \let\sv:Sc\:Sc \let\sv:sect\@sect \let\sv:ssect\@sect
\let\:Sc\:gobble
      \def\@sect##1##2##3##4##5##6[##7]##8{%
   \let\@sect\no@sect   \xdef\c:secnumdepth{##2}%
   {\SkipRefstepAnchor \let\addcontentsline\:gobbleIII \let\mark\:gobble
    \no@sect{##1}{##2}{##3}{##4}{##5}{##6}[##7]{}}%
   \let\:Sc\sv:Sc \let\@sect\sv:sect \let\@sect\sv:ssect
%
   \HtmlEnv    \Toc:Title{##7}\csname no:#1\endcsname{##8}}%
%
      \def\@ssect##1##2##3##4##5{%
   \let\@ssect\no@ssect
   {\def\addcontentsline####1####2####3{}%
    \no@ssect{##1}{##2}{##3}{##4}{}}%
   \let\:Sc\sv:Sc \let\@sect\sv:sect \let\@sect\sv:ssect
%
   \HtmlEnv   \csname :like#1\endcsname{##5}}%
\IgnorePar}
\fi
\long\def\ConfigureSec#1#2#3#4#5{%
   \expandafter\def\csname #1:Sc1\endcsname{#2}%
   \expandafter\def\csname #1:Sc2\endcsname{#3}%
   \expandafter\def\csname #1:Sc3\endcsname{#4}%
   \expandafter\def\csname #1:Sc4\endcsname{#5}%
}
\def\:Sc#1{%
   \ifx \sec:typ\:UnDef
       \:warning{Missing \string\Configure{secType}{...}}%
       \let\sec:typ\empty
   \fi
   \csname \sec:typ :Sc#1\endcsname}
      
\def\@xfloat #1[#2]{%
    \def \@captype {#1}%
   \:clearpage {\ht:everypar{}\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
}
\let\o:end@float:\end@float
\def\end@float{\endgroup\:clearpage {\ht:everypar{}\af:float}}
\let\end@dblfloat\end@float
\Odef\c:float:[#1]#2#3#4{%
   \def\bf:float{#2\gHAdvance\float:cnt  1
\gHAssign\capt:cnt0
\hbox{\def\flt:anchor{#1}\get:cptg}%
#3}%
   \def\af:float{#4}}
\gHAssign\capt:cnt0
\Configure{float}{}{}{}
\long\def\:tempc#1[#2]#3{\par \cur:lbl{}%
  \gHAdvance\TitleCount by 1 \begingroup  \protect:wrtoc
\edef\:temp{\the\:tokwrite{\string\doTocEntry
  \string\toc\expandafter\ifx\csname ext@#1\endcsname\relax
#1\else\csname ext@#1\endcsname\fi
{\csname
     the#1\endcsname}{\string\csname\space a:TocLink\string\endcsname
   {\FileNumber}{\cur:th
     \:currentlabel}{}{\ignorespaces #2}}%
  {#1}\relax}}\:temp \endgroup
\begingroup
    \@parboxrestore \normalsize
    \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
  \endgroup \let\skip:anchor\:UnDef
}
\def\numberline#1{\hbox to\@tempdima{#1\hfil} }
\HLet\@caption\:tempc
\:CheckOption{refcaption}     \if:Option
   \def\cap:ref#1{\cur:lbl{}\Link{}{\cur:th\:currentlabel}#1\EndLink}
\else
   \immediate\write-1{--- Note --- for links into captions, instead
       of float heads, use the command line option `refcaption'}%
   \def\cap:ref#1{\cur:lbl{}%
      #1\Tag{\float:cnt cAp\capt:cnt}{\cur:th\:currentlabel}%
     \gHAdvance\capt:cnt  1  }
\fi
\HAssign\float:cnt0
\def\get:cptg{%
   \ifTag{\float:cnt cAp\capt:cnt}{%
      \Make:Label{\LikeRef{\float:cnt cAp\capt:cnt}}{\flt:anchor}%
      \Advance:\capt:cnt  1  \expandafter\get:cptg
   }{}}
\def\@makefnmark{%
   \let\FNmark\@thefnmark
   \leavevmode\hbox{%
      \gHAdvance\FNnum  1
      \a:footnote}}
\long\def\@footnotetext#1{%
   \let\FNmark\@thefnmark
   \leavevmode\vbox{%
      \leftskip0pt
      {\ht:everypar{}\parindent0pt\leavevmode}%
      \ifnum \FNnum>\fn:txt
         \gHAssign\fn:txt\FNnum
         \b:footnote \protected@edef
  \@currentlabel{\csname p@footnote\endcsname\@thefnmark}%
\anc:lbl f{footnote}%
#1\c:footnote
      \else
         \a:footnotetext\b:footnotetext \protected@edef
  \@currentlabel{\csname p@footnote\endcsname\@thefnmark}%
\anc:lbl f{footnote}%
#1\c:footnotetext
      \fi   \ht:special{t4ht@[}}\ht:special{t4ht@]}}
\HAssign\FNnum  0
\HAssign\fn:txt  0
\NewConfigure{footnote}{3}
\NewConfigure{footnotetext}{3}
\def\:temp#1{{\stepcounter{footnote}%
   \ifx \footnote\thanks
      \a:thank\@fnsymbol\c@footnote\b:thank
   \fi
   \let\a:thanks\empty    \let\b:thanks\empty
   \protected@xdef\@thanks{\noexpand\a:thanks{\@thanks\c:thank
     \@fnsymbol\c@footnote\d:thank #1\e:thank}\noexpand\b:thanks}%
}}
\HLet\thanks\:temp
\NewConfigure{thank}{5}
\NewConfigure{thanks}{2}
\def\:temp#1{%
  {\m@th\ensuremath{^{\mbox{\fontsize\sf@size\z@#1}}}}}
\ifx \@textsuperscript\:temp
  \def\@textsuperscript#1{%
    {\m@th\ensuremath{\sp{\mbox{\fontsize\sf@size\z@#1}}}}}
\fi
     
\ifx \@indexfile\:UndDef \else
   \let\:wrindex\@wrindex
   \def\@wrindex{\def\#{\string\#}%
\:wribefr\@indexfile\:wrindex}
\fi
\ifx \@glossaryfile\:UndDef \else
   \let\:wrglossary\@wrglossary
   \def\@wrglossary{\:wribefr\@glossaryfile\:wrglossary}
\fi
\def\:wribefr#1{\title:chs{\html:addr
   \hbox{\Link-{}{dx\last:haddr
}\EndLink}}{}%
   \edef\:temp{\write#1{\string\beforeentry{\RefFileNumber
      \FileNumber}{\title:chs {dx\last:haddr
}{\cur:th
      \:currentlabel}}{\a:makeindex}}}\:temp}
\ifx \a:makeindex\:UnDef
   \NewConfigure{makeindex}{1} \Configure{makeindex}{}
\fi
\ifx \beforeentry\:UnDef \def\beforeentry#1#2{}   \fi
    
\:CheckOption{no-bib} \if:Option\else
   \ifx \o:@citex:\:UnDef \let\o:@citex:\@citex\fi
\catcode`\:=12
\def\@citex[#1]#2{%
  \let\@citea\@empty
  \csname a:cite\endcsname
\@cite{\@for\@citeb:=#2\do
    {\@citea\def\@citea{,\penalty\@m\ }%
     {\SUBOff \SUPOff
\xdef\@citeb{\expandafter\@firstofone\@citeb}}%
     \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
     \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}%
       \G@refundefinedtrue
       \@latex@warning
         {Citation `\@citeb' on page \thepage \space undefined}}%
       {{\cIteLink {X\@citeb}{}%
\csname b@\@citeb\endcsname
         \EndcIteLink
}}}}{#1}\csname b:cite\endcsname
}
\catcode`\:=11

   \ifx \o:@lbibitem:\:UnDef \let\o:@lbibitem:\@lbibitem\fi
\def\@lbibitem[#1]#2{{\:SUBOff\:SUPOff\edef\:tempb{{#2}}%
   \pend:def\:tempb{\o:@lbibitem:[#1]}%
   \global\let\:temp\:tempb}%
   \setb:anc{#2}\:temp\bib:anc \let\AnchorLabel\sv:anc\ignorespaces}
\ifx \o:@bibitem:\:UnDef \let\o:@bibitem:\@bibitem \fi
\def\@bibitem#1{{\:SUBOff\:SUPOff\edef\:temp{\noexpand\o:@bibitem:{#1}}%
   \global\let\:temp\:temp}\:temp}
\pend:defI\@bibitem{\setb:anc{##1}}
\append:defI\@bibitem{\bib:anc
   \let\AnchorLabel\sv:anc \ignorespaces}
\def\setb:anc#1{\let\sv:anc\AnchorLabel
   \def\bib:anc{\def\bib:anc{#1}\ifx \bib:anc\empty \else
      \a:bibitem{}{X#1}\b:bibitem\fi \gdef\bib:anc{}}%
   \def\AnchorLabel{\bib:anc}}
\NewConfigure{bibitem}{2}

\fi
\NewConfigure{cite}[4]{\c:def\a:cite{#1}\c:def\b:cite{#2}%
   \d:def\cIteLink{#3}\ifx \cIteLink\empty
      \let\cIteLink\:gobbleII\fi \c:def\EndcIteLink{#4}}
\Configure{cite}{}{}{}{}
      
\:CheckOption{fussy}  \if:Option  \else
   \def\sloppy{%
     \tolerance 9999%
     \emergencystretch 3em}
   \def\fussy{%
     \emergencystretch\z@
     \tolerance 200}
   \def \@largefloatcheck{%
     \ifdim \ht\@currbox>\textheight
       \@tempdima -\textheight
       \advance \@tempdima \ht\@currbox
       \ht\@currbox \textheight
     \fi
   }
\fi
      
\pend:def\@outputpage{\let\@oddhead=\empty \let\@oddfoot=\empty
  \let\@evenhead=\empty \let\@evenfoot=\empty }
\pend:def\newpage{\if@nobreak \@nobreakfalse \ht:everypar{\HtmlPar}\fi }
    
     

  \def\({\leavevmode\st:math}
  \def\){\ed:math}
\NewConfigure{()}[2]{\def\st:math{#1}\def\ed:math{#2}}
  \def\[{\st:Math}
  \def\]{\ed:Math}
\NewConfigure{[]}[2]{\def\st:Math{#1}\def\ed:Math{#2}}
\Configure{()}{$}{$}
\Configure{[]}{$$}{$$}

\ifx \a:mth\:UnDef
   \expandafter\pend:defIII\csname c:$:\endcsname{%
      \ifx \a:mth\:UnDef \pend:def\({\bgroup\let\a:mth\empty
   \let\b:mth\empty  \let\c:mth\empty }
\append:def\){\egroup}
\fi
      \def\:@tabular:{\expandafter\everymath
  \expandafter{\expandafter \everymath \expandafter{\the\everymath}}}%
}
\else
   \pend:def\({\bgroup\let\a:mth\empty
   \let\b:mth\empty  \let\c:mth\empty }
\append:def\){\egroup}

   \def\:@tabular:{\expandafter\everymath
  \expandafter{\expandafter \everymath \expandafter{\the\everymath}}}%
%
\fi
\ifx \a:display\:UnDef
   \expandafter\pend:defIII\csname c:$$:\endcsname{%
      \ifx \a:display\:UnDef \pend:def\[{\bgroup\let\a:display\empty
   \let\b:display\empty  \let\c:display\empty }
\append:def\]{\egroup}
\fi}
\else
   \pend:def\[{\bgroup\let\a:display\empty
   \let\b:display\empty  \let\c:display\empty }
\append:def\]{\egroup}

\fi




   \:CheckOption{hooks+}  \if:Option
    \def\trc:wrt{\immediate\write16}
\else \:CheckOption{hooks}  \if:Option
    \let\trc:wrt\:gobble
\fi\fi


\def\cut:gr#1{\lk:#1like!*?: %
    \ifx \:temp\empty \expand:after{%
       \expand:after{\expandafter\let\csname #1\endcsname}%
                                     \csname :#1\endcsname
       \ct:gr{#1}%
       \expand:after{\expandafter\let\csname :#1\endcsname}%
                                     \csname #1\endcsname
       \expandafter\let\csname #1\endcsname\:UnDef}%
    \else
        \expand:after{\ct:gr{#1}}%
    \fi}
 \def\ct:gr#1{%
   \edef\:temp{%
      \let\:csname \HP:file : #1\endcsname \:csname #1\endcsname
      \let\:csname \HP:file :Cut:#1\endcsname \:csname Cut:#1\endcsname
      \def\:csname #1\endcsname{%
         \noexpand \@ifnextchar*{\noexpand\after:gobble
                                      \:csname :like#1\endcsname}%
                                {\:csname \HP:file :#1-\endcsname}}%
      \def\:csname \HP:file :#1-\endcsname####1{%
         \noexpand\cond:cs{\HP:file}{####1}%
         \:csname \HP:file : #1\endcsname{####1}}%
      \def\:csname Cut:#1\endcsname####1{%
         \noexpand\cond:cs{Cut:\HP:file}{####1}%
         \noexpand\cond:cs{\HP:file :Cut:#1}{####1}}%
   }\:temp }
\def\lk:#1like#2!*?: {\def\:temp{#1}}
\def\after:gobble#1#2{#1}
\let\tex:cutat\:CutAt
\def\:CutAt#1#2,#3//{%
   \chk:like #2like//%
   \ifx  \:temp\empty \expand:after{\tex:cutat#1#2,}\del:like#2,#3//%
      \else                 \tex:cutat#1#2,like#2,#3//\fi}
\def\chk:like#1like#2//{\def\:temp{#1}}
\def\del:like#1like{#1}

\long\def\ConfigureEnv#1#2#3#4#5{%
   \def\:temp{#2#3#4#5}\ifx \:temp\empty \let\:temp\null
   \else   \def\:temp{#2#3}\fi
   \ifx \:temp\empty \else
      \expandafter\def\csname before:begin#1\endcsname
         {#2\def\after:end{#3}}%
   \fi
   \def\:temp{#2#3#4#5}\ifx \:temp\empty \let\:temp\null
   \else   \def\:temp{#4#5}\fi
   \ifx \:temp\empty
                   \else \ConfigureList{#1}{#4}{#5}{}{}\fi}
\NewConfigure{centercr}{2}
\NewConfigure{verbatim}[2]{\c:def\v:par{#1}\c:def\v:ch{#2}}
\def\c:verb:#1#2{\c:def\a:verb{#1}\c:def\b:verb{#2}}
\def\:temp#1#2{{\a:stackrel {\mathop {#2}\b:stackrel{#1}}\c:stackrel}}
\HLet\stackrel\:temp
\NewConfigure{stackrel}{3}
\NewConfigure{fbox}{2}
\:CheckOption{no-array}\if:Option \else
   \NewConfigure{array}{6}
\NewConfigure{tabular}{6}
\NewConfigure{VBorder}{4}
\NewConfigure{HBorder}[9]{\c:def\a:HBorder{#1}%
   \c:def\b:HBorder{#2}\c:def\c:HBorder{#3}\c:def\d:HBorder{#4}%
   \c:def\e:HBorder{#5}\c:def\f:HBorder{#6}\c:def\g:HBorder{#7}%
   \c:def\h:HBorder{#8}\c:def\i:HBorder{#9}\c:HBRD}
\def\c:HBRD#1{\c:def\j:HBorder{#1}}
\def\:temp{\@addtopreamble{\@nextchar
   \csname a:@{}\endcsname}}         \HLet\@tabclassiv\:temp
\def\:temp{\@addtopreamble{$\@nextchar
   $\csname a:@{}\endcsname}}        \HLet\@arrayclassiv\:temp
\NewConfigure{@{}}{1}
\Configure{@{}}{}


\fi
\NewConfigure{tableofcontents}{5}
\NewConfigure{marginpar}{2}
\NewConfigure{newline}{1}

\def\g:let#1#2{\global\let#1#1}

\:CheckOption{hooks++} \if:Option
   \long\def\ConfigureEnv#1#2#3#4#5{%
      \expandafter\def\csname before:begin#1\endcsname{%
           \ifx \EndPicture\:Undef\a:trc Env(#1)1\b:trc\fi
           #2\ifx \EndPicture\:Undef\c:trc Env(#1)1\d:trc\fi
          \def\after:end{%
                \ifx \EndPicture\:Undef\a:trc END(#1)2\b:trc\fi
                #3\ifx \EndPicture\:Undef\c:trc END(#1)2\d:trc\fi
          }}%
       \ConfigureList{#1}{#4}{#5}{}{}}
\def\:Sc#1{%
   \ifx \sec:typ\:UnDef
       \:warning{Missing \string\Configure{secType}{...}}%
       \let\sec:typ\empty
   \fi
   \ifx \EndPicture\:Undef\a:trc Sec(\sec:typ)#1\b:trc\fi
   \csname \sec:typ :Sc#1\endcsname
   \ifx \EndPicture\:Undef\c:trc Sec(\sec:typ)#1\d:trc\fi
}

\else \:CheckOption{hooks+}  \if:Option
       \def\trc:wrt{\immediate\write16}
    \else \:CheckOption{hooks}  \if:Option
       \let\trc:wrt\:gobble
    \fi\fi
 \if:Option
   \if:latex \long\def\ConfigureEnv#1#2#3#4#5{%
      \expandafter\def\csname before:begin#1\endcsname{%
         \def\:temp{#2}\ifx \:temp\empty
           \ifx \EndPicture\:Undef\a:trc Env(#1)1\b:trc\fi
           #2\ifx \EndPicture\:Undef\c:trc Env(#1)1\d:trc\fi
         \else #2\fi
          \def\after:end{%
              \def\:temp{#3}\ifx \:temp\empty
                \ifx \EndPicture\:Undef\a:trc Env(#1)2\b:trc\fi
                #3\ifx \EndPicture\:Undef\c:trc Env(#1)2\d:trc\fi
              \else #3\fi
          }}%
       \ConfigureList{#1}{#4}{#5}{}{}}
\def\:Sc#1{%
   \ifx \sec:typ\:UnDef
       \:warning{Missing \string\Configure{secType}{...}}%
       \let\sec:typ\empty
   \fi
   \expandafter\ifx \csname \sec:typ :Sc#1\endcsname \relax
      \ifx \EndPicture\:Undef\a:trc Sec(\sec:typ)#1\b:trc
                             \c:trc Sec(\sec:typ)#1\d:trc\fi
   \else  \csname \sec:typ :Sc#1\endcsname \fi
}
\def\g:let#1#2{\advance\tmp:cnt 1
   \ifx \:temp\empty
       \edef\:temp{\noexpand\pend:def\noexpand#1{\noexpand
         \a:trc List(#2)\the\tmp:cnt\noexpand\b:trc}}\:temp
       \edef\:temp{\noexpand\append:def\noexpand#1{\noexpand
         \c:trc List(#2)\the\tmp:cnt\noexpand\d:trc}}\:temp
       \let\:temp\empty
   \fi
   \global\let#1#1}
\fi
\fi\fi

\NewConfigure{equation}[3]{%
  \c:def\a:equation{#1\bgroup\let\@eqnnum\empty}%
  \c:def\b:equation{\egroup#2}\c:def\c:equation{#3}}
\def\equ:no{\@eqnnum}
\Configure{equation}{}{}{}
\NewConfigure{texttt}[2]{\expandafter\ifx \csname o:texttt :\endcsname\relax
  \long\def\:temp##1{{\a:texttt \csname o:texttt :\endcsname{##1}\b:texttt}}%
  \expandafter\HLet\csname texttt \endcsname\:temp
  \fi \c:def\a:texttt{#1}\c:def\b:texttt{#2}}
\NewConfigure{textit}[2]{\expandafter\ifx \csname o:textit :\endcsname\relax
  \long\def\:temp##1{{\a:textit \csname o:textit :\endcsname{##1}\b:textit}}%
  \expandafter\HLet\csname textit \endcsname\:temp
  \fi \c:def\a:textit{#1}\c:def\b:textit{#2}}
\NewConfigure{textrm}[2]{\expandafter\ifx \csname o:textrm :\endcsname\relax
  \long\def\:temp##1{{\a:textrm \csname o:textrm :\endcsname{##1}\b:textrm}}%
  \expandafter\HLet\csname textrm \endcsname\:temp
  \fi \c:def\a:textrm{#1}\c:def\b:textrm{#2}}
\NewConfigure{textup}[2]{\expandafter\ifx \csname o:textup :\endcsname\relax
  \long\def\:temp##1{{\a:textup \csname o:textup :\endcsname{##1}\b:textup}}%
  \expandafter\HLet\csname textup \endcsname\:temp
  \fi \c:def\a:textup{#1}\c:def\b:textup{#2}}
\NewConfigure{textsl}[2]{\expandafter\ifx \csname o:textsl :\endcsname\relax
  \long\def\:temp##1{{\a:textsl \csname o:textsl :\endcsname{##1}\b:textsl}}%
  \expandafter\HLet\csname textsl \endcsname\:temp
  \fi \c:def\a:textsl{#1}\c:def\b:textsl{#2}}
\NewConfigure{textsf}[2]{\expandafter\ifx \csname o:textsf :\endcsname\relax
  \long\def\:temp##1{{\a:textsf \csname o:textsf :\endcsname{##1}\b:textsf}}%
  \expandafter\HLet\csname textsf \endcsname\:temp
  \fi \c:def\a:textsf{#1}\c:def\b:textsf{#2}}
\NewConfigure{textbf}[2]{\expandafter\ifx \csname o:textbf :\endcsname\relax
  \long\def\:temp##1{{\a:textbf \csname o:textbf :\endcsname{##1}\b:textbf}}%
  \expandafter\HLet\csname textbf \endcsname\:temp
  \fi \c:def\a:textbf{#1}\c:def\b:textbf{#2}}
\NewConfigure{textsc}[2]{\expandafter\ifx \csname o:textsc :\endcsname\relax
  \long\def\:temp##1{{\a:textsc \csname o:textsc :\endcsname{##1}\b:textsc}}%
  \expandafter\HLet\csname textsc \endcsname\:temp
  \fi \c:def\a:textsc{#1}\c:def\b:textsc{#2}}
\NewConfigure{emph}[2]{\expandafter\ifx \csname o:emph :\endcsname\relax
  \long\def\:temp##1{{\a:emph \csname o:emph :\endcsname{##1}\b:emph}}%
  \expandafter\HLet\csname emph \endcsname\:temp
  \fi \c:def\a:emph{#1}\c:def\b:emph{#2}}
\let\sp:c\  \def\ {\relax\ifx \EndPicture\:UnDef \a:sp
             \else \sp:c\fi}
\NewConfigure{ }[1]{\def\:temp{#1}%
   \ifx \:temp\empty \let\a:sp\sp:c\else\def\a:sp{#1}\fi}
\def\:nbsp{\leavevmode\ht:special{t4ht@+\string&nbsp;}x}
\Configure{ }{\:nbsp}



   
   \let\:DL:\empty
\let\:OL:\empty

   \let\:item\@item
\def\@item[#1]{\ifx \EndPicture\:Undef
       \if@newlist
   \null:listConfigure  \this:listConfigure
\fi
\SkipRefstepAnchor
\fi
   \if@newlist  \:item[{#1}]\@newlisttrue
   \else        \:item[{#1}]\fi    \global\@inlabeltrue
   \ifx \EndPicture\:Undef
       \ShowRefstepAnchor
\ht:everypar{%
   \if@newlist \:DLL  \global\let\this:listConfigure\empty
\gdef\empty:D:T:D{\:DT\:DD}%
\fi
   \global\@minipagefalse\global\@newlistfalse
              \if@inlabel
                \global\@inlabelfalse
                \global\let\empty:D:T:D\empty \:DT \hfill\break
\box\@labels
                \:DD \ShowPar
%
                \penalty\z@
              \else  \:ListParSkip
%
              \fi
              \ht:everypar{\:ListParSkip
}}%
\leavevmode    \ignorespaces
   \fi  }
\def\ListParSkip{\def\:ListParSkip}
\ifHtml
  \ListParSkip{\HtmlPar}
\fi
\pend:def\endtrivlist{\if@noparlist \else\ifx \EndPicture\:UnDef
   \ifhmode \unskip\else \vskip-\lastskip\fi
   \empty:D:T:D                \global\let\empty:D:T:D\empty
   \end:DL                     \global\let\end:DL\empty
   \global\let\:DT\empty     \global\let\:DD\empty
\fi \fi
}
\def\list:save{%
   \let\SVempty:D:T:D\empty:D:T:D
   \let\SVend:DL\end:DL
   \let\SV:DT\:DT
   \let\SV:DD\:DD }
\def\list:recall{%
   \global\let\empty:D:T:D\SVempty:D:T:D
   \global\let\end:DL\SVend:DL
   \global\let\:DT\SV:DT
   \global\let\:DD\SV:DD }
\def\AnchorLabel{\anc:lbl x{}}
\def\DeleteMark#1\@labels{\hfill\break
   \setbox0\vbox{\box\@labels}}

   
   \def\Get:SecAnchor#1#2#3{%
   \bgroup  \def\@Roman##1{%
  \ifcase##1\or I\or II\or III\or IV\or V\or VI\or
     VII\or VIII\or IX\or X\or XI\or XII\or XIII\or
     XIV\or XV\or XVI\or XVII\or XVIII\or XIX\or XX\or
     XXI\or XXII\or XXIII\or XXIV\or XV\or XVI\else
     \expandafter\uppercase\expandafter{\romannumeral ##1}\fi}%
   \a:currentlabel
   \edef\:temp{#2}\ifx \:temp\empty
   \else \global\let\@currentlabel\:temp\fi
\egroup
%
   \xdef\cur:th{x\last:haddr}%
   \let\:tempa\uppercase \def\uppercase##1{##1}\cur:lbl{}%
\let\uppercase\:tempa
%
   \edef\:SecAnchor{\cur:th\:currentlabel}%
 }

   
   \def\Toc:Title#1{\gdef\TocTitle{#1}%
  \ifx\TocTitle\empty \global\let\TocTitle\:UnDef\fi}

   \:CheckOption{new-accents}     \if:Option
      \def\:temp#1{{\accent24 #1}}
\let\c:accent\c   \HLet\c:accent\:temp   \let\c\c:accent

      \def\:temp#1{{\edef\next{\the\font}\rmfamily\accent0 \next#1}}
\let\b:accent\b   \HLet\b:accent\:temp   \let\b\b:accent
\def\:temp#1{{\edef\next{\the\font}\rmfamily\accent1 \next#1}}
\let\d:accent\d   \HLet\d:accent\:temp   \let\d\d:accent

      
   \else
      \def\check:sc#1#2#3#4#5#6#7#8#9*{%
  \gdef\check:sc##1##2##3##4##5##6##7##8##9*{%
   {\if #1##1\if #2##2\if ##3#3\if ##4#4\if ##5#5\if ##6#6\if ##7#7%
    \if ##8#8\aftergroup\sc:reg:ac\fi\fi\fi\fi\fi\fi\fi\fi}}}
{\scshape\expandafter\check:sc\fontname\font xxxxxxxx*}
\def\get:sc{\expandafter\check:sc\fontname\font xxxxxxxx*}
\def\sc:reg:ac#1#2#3{\nxt:srch
   {#3}aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVxXyYzZ\i I\j J%
   {}{}//{#1}{#2}}
\def\nxt:srch#1#2{\if #1#2\expandafter\:found
   \else\expandafter\not:found\fi{#1}}
\def\:found#1#2#3//#4#5{\a:textscaccent#4{#5}{#2}\b:textscaccent}
\def\not:found#1#2#3{\if !#3!\expandafter\endnot:found
  \else\expandafter\nxt:srch\fi{#1}{#3}}
\def\endnot:found#1#2//#3#4{#3{#4}{#1}}
\let\acp:csv=\acp:c
\def\acp:c#1#2{\get:sc\acp:csv{#1}{#2}}
\NewConfigure{textscaccent}{2}

      \NewConfigure{accents}[2]{\def\a:accents##1##2{#1}%
   \def\b:accents##1##2##3{#2}}

   \fi
   \def\AA{{\Protect\:AA}}
\def\aa{{\Protect\:aa}}
\def\:AA{%
   \ifx \EndPicture\:UnDef  \HChar{197}\else
     \leavevmode\setbox0\hbox{h}\dimen@\ht0\advance\dimen@-1ex%
     \rlap{\raise.67\dimen@\hbox{\char'27}}A\fi}
\def\:aa{%
   \ifx \EndPicture\:UnDef  \HChar{229}\else \accent23a\fi }

   
         \let\makeheadline\empty
      \let\makefootline\empty


   \pend:defI\centerline{\pic:gobble\cnt:a}
\append:defI\centerline{\pic:gobble\cnt:b}
\pend:defI\leftline{\pic:gobble\lft:a}
\append:defI\leftline{\pic:gobble\lft:b}
\pend:defI\rightline{\pic:gobble\rgt:a}
\append:defI\rightline{\pic:gobble\rgt:b}

      \def\@starttoc#1{%
  \begingroup
    \makeatletter
    \def\:temp{#1}\def\:tempa{toc}%
    \ifx \:temp\:tempa
       \@input{\jobname.4ct}%
    \else
       \@input{\jobname.#1}%
       \if@filesw
         \expandafter\expandafter\csname
             newwrite\endcsname\csname tf@#1\endcsname
         \immediate\openout \csname tf@#1\endcsname \jobname.#1\relax
       \fi
    \fi
    \global\@nobreakfalse
  \endgroup}

      
   \NewConfigure{InsertTitle}{1}
\NewConfigure{AfterTitle}{1}
\let\@\empty
\def\marginpar{\@ifnextchar [\:xmpar{\:xmpar[]}}
\long\def\:xmpar[#1]#2{\a:marginpar{#2}\b:marginpar}
\pend:defI\@iinput{\egroup}
\let\o:iinput:\@iinput
\def\@iinput{\bgroup \catcode`\_=12 \o:iinput:}

\ifx \@gnewline\:UnDef
   \append:def\newline{\ifhmode \a:newline\fi}
   \def\@newline[#1]{\ifhmode\unskip
          \tmp:dim=#1
          \ifdim \tmp:dim>0.98\smallskipamount \a:newline\fi
      \fi\vspace{#1}\newline}
\else
   \append:defI\@gnewline{\ifhmode \a:newline\fi}
   \def\:temp[#1]{{\ifhmode\unskip
          \tmp:dim=#1
          \ifdim \tmp:dim>0.98\smallskipamount \a:newline\fi
          \let\a:newline\empty
      \fi\vspace{#1}\o:@newline:[#1]}}
   \HLet\@newline\:temp
\fi

\ifx \@@if@newlist\:UnDef \else
  \pend:def\@outputpage{\expandafter\global \expandafter\let
      \expandafter\@@if@newlist\csname if@newlist\endcsname}
\fi

\def\LoadLabels{\@ifnextchar[{\LD:lbls}{\LD:lbls[]}}
\def\LD:lbls[#1]#2{%
   \if !#1!%
   \ld:flxrf{#2}{}%
\else
   \LoadRef-[)F]{#2}{)F#1##1}%
   \LoadRef-[)Q]{#2}{)Q#1##1}%
\fi
%
   {\let\bibdata\@gobble
    \let\@newl@bel\:newl@bel
    \let\@writefile\@gobbletwo
    \catcode`\@11       \get:input{#2.aux}%
    \catcode`\@12  }}
\def\RefLabel#1#2{{%
   \Configure{XrefFile}{#1}%
   \def\file:id{-1}%
   \ref{#2}}}

\let\o:equation:\equation
\let\o:endequation:\endequation
\def\equation{\bgroup
   \ifx \EndPicture\:Undef
      \def\endequation{%
          \if@eqnsw \expand:after{\o:endequation:\b:equation\equ:no}%
          \else \expand:after{\o:endequation:\egroup}\fi
          \c:equation\egroup}%
      \expandafter\a:equation
   \else
         \def\endequation{\o:endequation:\egroup}
   \fi
   \o:equation:}
\def\:temp{\a:hline}
\HLet\hline\:temp
\NewConfigure{hline}[1]{\c:def\a:hline{#1}}
\def\:temp#1{\tmp:dim#1\xdef\HBorderspace{\the\tmp:dim}\cr\a:vspc}
\HLet\@xargarraycr\:temp
\NewConfigure{//[]}[1]{\c:def\a:vspc{#1}}
\def\:temp#1-#2\@nil{\o:noalign:{\HAssign\:tempb=#1 \set:clines{#2}}}
\HLet\@cline\:temp
\def\set:clines#1{\expandafter\gHAssign\csname :\:tempb\endcsname=1
   \ifnum \:tempb<#1 \Advance:\:tempb by 1 \expandafter\set:clines
   \else \expandafter\:gobble
   \fi {#1}}
\def\init:clines{\ifnum \:tempb<0\csname ar:cnt\endcsname
     \Advance:\:tempb by 1
     \expandafter\gHAssign\csname :\:tempb\endcsname=0
     \expandafter\append:def\expandafter\cline:s\expandafter{\csname
          :\:tempb\endcsname}%
     \expandafter\init:clines
  \fi}
\def\InitHBorder{%
   \global\let\vspc:s\empty
%
   \global\let\hline:s\empty
%
   \global\let\cline:s\empty
\HAssign\:tempb=0 \init:clines  \global\let\cline:s\cline:s
}
\def\HBorder{%
   \ifx \hline:s\empty \else\hline:s\fi
   \ifx \vspc:s\empty \else\vspc:s\fi
   \ifnum 0\cline:s>0 \d:HBorder
      \expandafter\reset:cline\cline:s2\g:HBorder\fi}
\def\reset:cline#1{\ifcase #1
       \e:HBorder\expandafter\reset:cline 
  \or  \f:HBorder\expandafter\reset:cline 
  \else                                   
  \fi}
\InitHBorder

\:CheckOption{new-accents}     \if:Option \else
   \let\:tabacckludge\@tabacckludge
\def\@tabacckludge#1{\csname #1\endcsname}
\long\def\:temp#1{\bgroup  \let\@tabacckludge\:tabacckludge
   \csname o:MakeUppercase :\endcsname{#1}\egroup}
\expandafter\HLet\csname MakeUppercase \endcsname\:temp
\long\def\:temp#1{\bgroup  \let\@tabacckludge\:tabacckludge
   \csname o:MakeLowercase :\endcsname{#1}\egroup}
\expandafter\HLet\csname MakeLowercase \endcsname\:temp
\let\@acci\' \let\@accii\` \let\@acciii\=
\def\a#1{%
   \if '#1\let\:temp=\@acci   \else
   \if `#1\let\:temp=\@accii  \else
   \if =#1\let\:temp=\@acciii \else
      \def\:temp{\@tabacckludge#1}\fi\fi\fi
   \:temp}

\fi
      \pagestyle{empty}  \def\pagestyle#1{}
                         \def\thispagestyle#1{}
      \def\ps@plain{}
      \setlength\oddsidemargin   {0in}
      \setlength\evensidemargin  {0in}

\def\:temp#1#2!*?: {\def\:temp{#1}}
\expandafter\:temp\usepackage!*?: 
\def\:tempa{\@latex@e@error}
\ifx \:temp\:tempa
   \Hinput{latex209}

\else
   
\fi

\def\addcontentsline#1#2#3{\if@filesw \begingroup
   \no:lbl:idx  \let\protect\@unexpandable@protect
   \@temptokena{\thepage}%
   \def\:tempb{#1}\def\:tempa{toc}%
\ifx \:tempb\:tempa
  \edef\:tempb{Q1-\file:id-\TitleCount }%
%
  \hbox{\Link{}{\:tempb}\EndLink}%
  \edef\@tempa{\csname if:toc\endcsname{\the\:tokwrite{\string\doTocEntry
    \string\toc#2{}{\string\csname\space a:TocLink\string\endcsname
   {\FileNumber}{\:tempb}{}{#3}}{\the\@temptokena}\relax}}%
}%
\else
 %
 \html:addr
%
  \hbox{\Link{}{x\last:haddr}\EndLink}%
  \edef\@tempa{\csname if:toc\endcsname{\the\:tokwrite{\string\doTocEntry
    \string\toc#1{}{\string\csname\space a:TocLink\string\endcsname
   {\FileNumber}{x\last:haddr}{}{#3}}{\the\@temptokena}\relax}}%
}%
\fi
\@tempa
   \if@nobreak \ifvmode\nobreak\fi\fi\endgroup\fi}


\let\c:MClass:\c:MathClass:
\NewConfigure{MathClass}[5]{\bgroup \let\@nodocument\empty
   \c:MClass:{#1}{#2}{#3}{#4}{#5}\egroup}

\Hinput{latex}
\endinput

