[NTG-context] Headings vs. enumerations

Clyde Johnston context at couthies.com
Thu Jan 31 21:07:28 CET 2019


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190131/a6d2df90/attachment-0001.html>


More information about the ntg-context mailing list