42.6 other

<..scr artcl, reprt, book..>+
 \pend:defI\@makefntext{\IgnorePar}
 -_-_-

<..general scrbook..>+
 \Configure{UndefinedSec}{likepart}
 \Configure{UndefinedSec}{likechapter}
 \Configure{UndefinedSec}{likesection}
 \Configure{UndefinedSec}{likesubsection}
 <.<book et al tocs.>
 
 \let\:tempb\chapter
 \Def:Section\chapter{\thechapter}{#1}
 \let\:chapter\chapter
 \let\chapter\:tempb
 \def\@makechapterhead#1{}
 \let\no@chapter\@chapter
 \def\@chapter[#1]#2{%
    <.adjust minipageNum for setcounter footnote 0.>%
    {\SkipRefstepAnchor \let\addcontentsline\:gobbleIII\no@chapter[#1]{}}%
    \HtmlEnv   \Toc:Title{#1}\:chapter{#2}}
 \Def:Section\likechapter{}{#1}
 \let\:likechapter\likechapter
 \let\likechapter\:UnDef
 \let\no@schapter\@schapter
 \def\@schapter#1{%
    {\let\addcontentsline\:gobbleIII\no@schapter{}}%
    \HtmlEnv   \:likechapter{#1}}
 \let\no@appendix\appendix
 \Def:Section\appendix{\thechapter}{#1}
 \let\:appendix\appendix
 \def\appendix{%
    \def\@chapter[##1]##2{%
       <.adjust minipageNum for setcounter footnote 0.>%
       {\def\addcontentsline####1####2####3{}\no@chapter[##1]{}}%
       \HtmlEnv \Toc:Title{##1}\:appendix{##2}}%
    \no@appendix}
 <.scrbook toc.>
 
 \ifx \@openbib@code\:UnDef \else
  \pend:def\@openbib@code{\labelsep\z@}
 \fi
 \def\:temp#1#2!*?: {\def\:temp{#1}}
 \expandafter\:temp\usepackage!*?:
 \def\:tempa{\@latex@e@error}
 \ifx \:temp\:tempa \else
    \def\:tempa#1#2#3#4{\tmp:toks{#1{#2}}%
    \long\expandafter\edef\csname #4 \endcsname{\the\tmp:toks
         {\expandafter\noexpand
    \csname o:\expandafter\:gobble\string #3:\endcsname}}}
 \def\:temp#1{%
   \expandafter\expandafter\expandafter\:tempa\csname #1 \endcsname{#1}}
 \:temp{rm}
 \:temp{sf}
 \:temp{tt}
 \:temp{bf}
 \:temp{it}
 
 \fi
   \let\:tempc\listoffigures
 \pend:def\:tempc{\begingroup \a:listoffigures
    \def\@starttoc{\:tableofcontents[lof]\:gobble}}
 \append:def\:tempc{\b:listoffigures \endgroup}
 \HLet\listoffigures\:tempc
 \let\:tempc\listoftables
 \pend:def\:tempc{\begingroup \a:listoftables
    \def\@starttoc{\:tableofcontents[lot]\:gobble}}
 \append:def\:tempc{\b:listoftables \endgroup}
 \HLet\listoftables\:tempc
 
   \NewConfigure{listoffigures}{2}
 \NewConfigure{listoftables}{2}
 
 \ifx \part\:UnDef\else
    \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}}
 
 \fi
 \ifx \section\:UnDef\else
    \let\no@section\section
 \Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth   \else
    \thesection \fi}{#1}
 \let\no:section\section
 \def\section{\rdef:sec{section}}
 \Def:Section\likesection{}{#1}
 \let\:likesection\likesection
 \let\likesection\:UnDef
 
 \fi
 \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
 
 
 
 
 
 \NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}%
    \c:def\cptC:{#3}\c:def\cptD:{#4}}
 \long\def\@makecaption#1#2{%
    {\cptA: \cap:ref{#1}%
 \cptB:}{\cptC:{#2}\cptD:}}
 
 
 \pend:def\caption{\SkipRefstepAnchor}
 \append:def\quote{\par\@totalleftmargin\z@}
 <.book-report-article idx.>
 
 \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}}
 
 
 \append:def\quotation{\a:quotation\par\@totalleftmargin\z@}
 \NewConfigure{quotation}{1}
 \NewConfigure{listof}{6}
 
 \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}
 
 \ConfigureToc{appendix} {\empty}{\ }{}{\newline}
 \ConfigureToc{chapter} {\empty}{\ }{}{\newline}
 \ConfigureToc{likechapter} {}{\empty}{}{\newline}
 -_-_-

<..general scrreprt..>+
 \Configure{UndefinedSec}{likepart}
 \Configure{UndefinedSec}{likechapter}
 \Configure{UndefinedSec}{likesection}
 \Configure{UndefinedSec}{likesubsection}
 <.book et al tocs.>
 
 \let\:tempb\chapter
 \Def:Section\chapter{\thechapter}{#1}
 \let\:chapter\chapter
 \let\chapter\:tempb
 \def\@makechapterhead#1{}
 \let\no@chapter\@chapter
 \def\@chapter[#1]#2{%
    <.adjust minipageNum for setcounter footnote 0.>%
    {\SkipRefstepAnchor \let\addcontentsline\:gobbleIII\no@chapter[#1]{}}%
    \HtmlEnv   \Toc:Title{#1}\:chapter{#2}}
 \Def:Section\likechapter{}{#1}
 \let\:likechapter\likechapter
 \let\likechapter\:UnDef
 \let\no@schapter\@schapter
 \def\@schapter#1{%
    {\let\addcontentsline\:gobbleIII\no@schapter{}}%
    \HtmlEnv   \:likechapter{#1}}
 \let\no@appendix\appendix
 \Def:Section\appendix{\thechapter}{#1}
 \let\:appendix\appendix
 \def\appendix{%
    \def\@chapter[##1]##2{%
       <.adjust minipageNum for setcounter footnote 0.>%
       {\def\addcontentsline####1####2####3{}\no@chapter[##1]{}}%
       \HtmlEnv \Toc:Title{##1}\:appendix{##2}}%
    \no@appendix}
 
 \NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}%
    \c:def\cptC:{#3}\c:def\cptD:{#4}}
 \long\def\@makecaption#1#2{%
    {\cptA: \cap:ref{#1}%
 \cptB:}{\cptC:{#2}\cptD:}}
 
 
 \pend:def\caption{\SkipRefstepAnchor}
 \append:def\quote{\par\@totalleftmargin\z@}
 <.book-report-article idx.>
 \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}}
 
 
 \append:def\quotation{\a:quotation\par\@totalleftmargin\z@}
 \NewConfigure{quotation}{1}
 \NewConfigure{listof}{6}
 
 <.scrreprt toc.>
 
 \ifx \@openbib@code\:UnDef \else
  \pend:def\@openbib@code{\labelsep\z@}
 \fi
 \def\:temp#1#2!*?: {\def\:temp{#1}}
 \expandafter\:temp\usepackage!*?:
 \def\:tempa{\@latex@e@error}
 \ifx \:temp\:tempa \else
    \def\:tempa#1#2#3#4{\tmp:toks{#1{#2}}%
    \long\expandafter\edef\csname #4 \endcsname{\the\tmp:toks
         {\expandafter\noexpand
    \csname o:\expandafter\:gobble\string #3:\endcsname}}}
 \def\:temp#1{%
   \expandafter\expandafter\expandafter\:tempa\csname #1 \endcsname{#1}}
 \:temp{rm}
 \:temp{sf}
 \:temp{tt}
 \:temp{bf}
 \:temp{it}
 
 \fi
   \let\:tempc\listoffigures
 \pend:def\:tempc{\begingroup \a:listoffigures
    \def\@starttoc{\:tableofcontents[lof]\:gobble}}
 \append:def\:tempc{\b:listoffigures \endgroup}
 \HLet\listoffigures\:tempc
 \let\:tempc\listoftables
 \pend:def\:tempc{\begingroup \a:listoftables
    \def\@starttoc{\:tableofcontents[lot]\:gobble}}
 \append:def\:tempc{\b:listoftables \endgroup}
 \HLet\listoftables\:tempc
 
   \NewConfigure{listoffigures}{2}
 \NewConfigure{listoftables}{2}
 
 \ifx \part\:UnDef\else
    \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}}
 
 \fi
 \ifx \section\:UnDef\else
    \let\no@section\section
 \Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth   \else
    \thesection \fi}{#1}
 \let\no:section\section
 \def\section{\rdef:sec{section}}
 \Def:Section\likesection{}{#1}
 \let\:likesection\likesection
 \let\likesection\:UnDef
 \fi
 \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
 \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}
 \ConfigureToc{appendix} {\empty}{\ }{}{\newline}
 \ConfigureToc{chapter} {\empty}{\ }{}{\newline}
 \ConfigureToc{likechapter} {}{\empty}{}{\newline}
 -_-_-

<..scrreprt toc..>
 <.book et al tocs.>
 \edef\:TOC{%
    \noexpand\ifx [\noexpand\:temp
       \noexpand\expandafter\noexpand\:TableOfContents
    \noexpand\else
       \noexpand\Auto:ent{\ifnum \c@tocdepth >-2 part,\fi
    \ifnum \c@tocdepth >\m@ne chapter,appendix,addchap,\fi
    \ifnum \z@>\c@tocdepth\else section,\fi
    \ifnum 1>\c@tocdepth \else subsection,\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
 }
 -_-_-

<..addchap confic..>
 \ifx \@@maybeautodot\:UnDef
    <.pre 2001 addchap.>
 \else
    <.2001 addchap.>
 \fi
 \let\:makeschapterhead=\@makeschapterhead
 \def\::makeschapterhead#1{\:makeschapterhead{\normalfont\normalsize
     \:addchap {#1}}}
 \pend:def\addchap{\let\@makeschapterhead\::makeschapterhead}
 \pend:def\chapter{\let\@makeschapterhead\:makeschapterhead}
 \let\:tempb=\addchap
 \Def:Section\addchap{}{#1}
 \let\:addchap=\addchap
 \let\addchap=\:tempb
 \ConfigureToc{addchap} {\empty}{\ }{}{\newline}
 -_-_-

<..pre 2001 addchap..>
 \let\add:chap=\@addchap
 \def\@addchap{%
    \let\chap:addcontentsline=\addcontentsline
    \def\addcontentsline{\let\addcontentsline\chap:addcontentsline
        \:gobbleIII }%
   \add:chap}
 -_-_-

<..2001 addchap..>
 \let\no@addchap\@addchap
 \def\@addchap[#1]#2{%
    \HtmlEnv \Toc:Title{#1}\:addchap{#2}}
 -_-_-