[NTG-context] Are nested sections possible?

Mica Semrick mica at silentumbrella.com
Fri Mar 11 16:42:16 CET 2016


Yes that looks like what I want. Thank you!

On March 11, 2016 1:43:27 AM PST, Hans Hagen <pragma at wxs.nl> wrote:
>On 3/11/2016 9:08 AM, mica at silentumbrella.com wrote:
>> 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
>
>do you mean something like
>
>sections/levels-001.tex
>sections/levels-002.tex
>
>in the test suite?
>
>\starttext
>
>\startstructurelevel [title=first top level]
>
>     \startstructurelevel [title=first lower level]
>         \startstructurelevel [title=second lower level]
>             \startstructurelevel [title=third lower level]
>                 test
>             \stopstructurelevel
>         \stopstructurelevel
>     \stopstructurelevel
>
>     \startstructurelevel [title=first lower level]
>         \startstructurelevel [title=second lower level]
>             \startstructurelevel [title=third lower level]
>                 test
>             \stopstructurelevel
>         \stopstructurelevel
>     \stopstructurelevel
>
>\stopstructurelevel
>
>\stoptext
>
>and
>\starttext
>
>\startstructurelevel [title=first top level]
>
>     \startstructurelevel [title=first lower level]
>         \startstructurelevel [title=second lower level]
>             \startstructurelevel [title=third lower level]
>                 test
>             \stopstructurelevel
>         \stopstructurelevel
>     \stopstructurelevel
>
>     \startstructurelevel [title=first lower level]
>         \startstructurelevel [title=second lower level]
>             \startstructurelevel [title=third lower level]
>                 test
>             \stopstructurelevel
>         \stopstructurelevel
>     \stopstructurelevel
>
>\stopstructurelevel
>
>\stoptext
>
>
>-----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
>-----------------------------------------------------------------
>___________________________________________________________________________________
>If your question is of interest to others as well, please add an entry
>to the Wiki!
>
>maillist : ntg-context at ntg.nl /
>http://www.ntg.nl/mailman/listinfo/ntg-context
>webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>archive  : http://foundry.supelec.fr/projects/contextrev/
>wiki     : http://contextgarden.net
>___________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160311/2aa9c917/attachment.html>


More information about the ntg-context mailing list