Configuration for ‘section-’ option

<..latex ltsect..>+
 \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}
 -_-_-

<..latex.ltx latex edit+ commands..>+
 \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
 }
 -_-_-

<..latex.ltx latex edit commands..>+
 \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
 }
 -_-_-