I have a document that contains a numbered enumeration that spans 107 pages – it’s a legal document where \items are clauses. I would like to put level one of the enumeration in a table of contents.
I have read the available documentation but I am not clear whether I should make level one headers, whether I can utilise the \starthead in \startitemize or whether I can create a list from the level one headings to create the table of contents.
How is best to tackle this problem?
Thanks,
Clyde
MWE #1:
\starttext
\placecontent[alternative=c]
\startitemize[n,repeat]
\starthead{A heading}\stophead
\startitemize[n,repeat,2*broad]
\starthead{A sub-heading}\stophead
\startitemize[n,repeat,3*broad]
\item \input knuth
\stopitemize
\stopitemize
\stoptext
MWE #2:
\starttext
\placecontent[alternative=c]
\chapter{A heading}
\startitemize[n,repeat,2*broad]
\starthead{A sub-heading}\stophead
\startitemize[n,repeat,3*broad]
\item \input knuth
\stopitemize
\stopitemize
\stoptext