[NTG-context] Are nested sections possible?

Andreas Schneider aksdb at gmx.de
Fri Mar 11 10:37:51 CET 2016


You probably want automatic levels.
Take a look at strc-lev.mkvi.

\startsectionlevel[title=outer]
\startsectionlevel[title=inner]
\startsectionlevel[title=yet another]

\stopsectionlevel
\stopsectionlevel
\stopsectionlevel

If you need more levels than the default (which ranges from chapter to 
subsubsubsubsection), you may need to define your own using 
\definesectionlevels.

Best regards
Andreas


Am 2016-03-11 09:08, schrieb mica at silentumbrella.com:
> Greetings,
> 
> Is it possible to have
> 
> \starttext
> 
> \startchapter
> Hey a chapter!
> \startsection
> something.one
> \startsection
> someting.one.one
> \startsection
> something.one.one.one
> \stopsection
> \stopsection
> \stopsection
> 
> 
> \stopchapter
> 
> \stoptext
> 
> render as:
> 
> 1. Hey a chapter!
> 1.1 something.one
> 1.1.1 something.one.one
> 1.1.1.1 something.one.one.one
> 
> Thanks,
> Mica


More information about the ntg-context mailing list