\starttext \startstandardmakeup \midaligned{How to make a document.} \midaligned{by} \midaligned{The Author} \stopstandardmakeup \completecontent \chapter{Introduction} ... your text\index{indexentry} ... \chapter{One Chapter} \section[firstsection]{The first section} ... your text ... \section{The second section} \subsection{the first sub section} ... your text\index{another indexentry} ... \subsection{the second sub section} ... your text ... \section{The third section} ... your text ... \chapter{Another Chapter} ... your text ... \chapter[lastchapter]{The Last Chapter} ... your text ... \completeindex \stoptext