The \addcontentsline
{ext}{unit}{text}
command adds an entry to the specified list or table where:
toc
(table of contents), lof
(list of
figures), or lot
(list of tables).
toc
part
, chapter
,
section
, subsection
, subsubsection
.
lof
lot
What is written to the .ext file is the
command \contentsline{
unit}{
name}
.