Am 13.09.2012 um 09:48 schrieb Marco Patzer
Hi,
I am often surprised that some nice-to-have feature is already present in ConTeXt and I just wasn't aware. But I am not sure about this one.
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.
\starttext \startstructure [title=Alpha] \startstructure [title=Beta] \startstructure [title=Gamma] \stopstructure \stopstructure \stopstructure \stoptext
This would ease moving around sections, which might end up as subsections and vice versa.
%\definesectionlevels[default][section,subsection,subsubsection] \definesectionlevels[mine][title,subject,subsubject] \starttext \startsectionlevel [title=Alpha] \startsectionlevel [title=Beta] \startsectionlevel [title=Gamma] \stopsectionlevel \stopsectionlevel \stopsectionlevel \startsectionlevel [mine] [title=One] \startsectionlevel [mine] [title=Two] \startsectionlevel [mine] [title=Three] \stopsectionlevel \stopsectionlevel \stopsectionlevel \stoptext Wolfgang