Boundary Points of Lists

Because of the merging of into items lists that are stacked on them, we first configure the new lis with

<..prepend @item[...]..>
 \if@newlist
    \null:listConfigure  \this:listConfigure
 \fi
 \SkipRefstepAnchor
 -_-_-

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

then we start it.

\:DL is a variable in DraTeX.

<..start new list..>
 \:DLL  \global\let\this:listConfigure=\empty
 \gdef\empty:D:T:D{\:DT\:DD}%
 -_-_-

The \ConfigureEnv is needed for getting paragraph breaks after collapsed lists.

Do we need to to globally define \:DLL here to empty, and save/resore it at \begin and \end boudaries.

The \endlist comamnd is defined in turns of \endtrivlist.

         \def\endtrivlist{% 
           \if@inlabel\indent\fi 
           \if@newlist\@noitemerr\fi 
           \ifhmode\unskip \par\fi 
           \if@noparlist \else 
             \ifdim\lastskip >\z@ 
               \@tempskipa\lastskip \vskip -\lastskip 
               \advance\@tempskipa\parskip \advance\@tempskipa -\@outerparskip 
               \vskip\@tempskipa 
             \fi 
             \@endparenv 
           \fi 
         } 

<..html latex lists..>+
 \pend:def\endtrivlist{<.prepend end trivlist.>}
 -_-_-

<..prepend end trivlist..>
 \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
 -_-_-