1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
\environment luatex-style \startcomponent luatex-contents \starttitle[title=Contents] \start \definecolor[maincolor][black] \placelist [chapter,section,subsection] [criterium=text] \stop \stoptitle \stopcomponent