I am working on a document that contains a large amount of content of different type, that needs to be listed in several tables of contents.
e.g.
Contents
Chapter 1........................1
Section 1.1....................1
Section 1.2....................2
Chapter 2.......................14
List of Figures
Figure 1.........................7
Figure 2........................15
List of Tables
Table 1..........................4
Table 5..........................8
List of ItemTypeA
Group I
ItemTypeA Description............3
ItemTypeA Description...........14
Group II
ItemTypeA Description............5
ItemTypeA Description...........52
Lit of ItemTypeB
Group I
ItemTypeB Description............7
ItemTypeB Description...........11
ItemTypeB Description...........21
One can use the commands
\tableofcontents
\listoffigures
\listoftables
to generate the first three tables of contents automatically.
How can I wrap an object (e.g.
\lipsumor several paragraphs of content) of typeItemTypeas a single unit and add it to a personalized table of contents?How can I display such table of contents?
EDIT: my question is different from this because i need to support some level of nesting within each custom table of contents.