Is there something like an adaptive structure code which keeps track of the nesting level? In this example the first structure would become the chapter, the second one a section, etc.
\startstructurelevel [title=first lower level] \startstructurelevel [title=second lower level] \startstructurelevel [title=third lower level] test \stopstructurelevel \stopstructurelevel \stopstructurelevel
Brilliant. That's it. Thanks also to Wolfgang. Is there a preferred syntax to use either sectionlevel or structurelevel? \startsectionlevel [title=Alpha] \startsectionlevel [title=Beta] \startsectionlevel [title=Gamma] \stopsectionlevel \stopsectionlevel \stopsectionlevel versus: \startstructurelevel [title=Alpha] \startstructurelevel [title=Beta] \startstructurelevel [title=Gamma] \stopstructurelevel \stopstructurelevel \stopstructurelevel Marco