ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mica Semrick <mica@silentumbrella.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Are nested sections possible?
Date: Fri, 11 Mar 2016 07:42:16 -0800	[thread overview]
Message-ID: <B7EED23E-7700-4A87-B3D9-7BA3B16101A2@silentumbrella.com> (raw)
In-Reply-To: <56E2933F.5040909@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2983 bytes --]

Yes that looks like what I want. Thank you!

On March 11, 2016 1:43:27 AM PST, Hans Hagen <pragma@wxs.nl> wrote:
>On 3/11/2016 9:08 AM, mica@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@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
>___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 3700 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@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
___________________________________________________________________________________

      reply	other threads:[~2016-03-11 15:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-11  8:08 mica
2016-03-11  8:23 ` josephcanedo
2016-03-11  8:36 ` Pablo Rodriguez
2016-03-11  8:43   ` Mica Semrick
2016-03-12  0:53   ` Alan BRASLAU
2016-03-14  8:05     ` Procházka Lukáš Ing.
2016-03-15 16:54       ` Alan BRASLAU
2016-03-15 17:10         ` Thomas A. Schmitz
2016-03-15 19:09           ` Alan BRASLAU
2016-03-24 21:11             ` Hans Hagen
2016-03-24 21:08           ` Hans Hagen
2016-03-14  8:52     ` Pablo Rodriguez
2016-05-20  4:39     ` docent.einstein
2016-03-11  9:37 ` Andreas Schneider
2016-03-11  9:43 ` Hans Hagen
2016-03-11 15:42   ` Mica Semrick [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B7EED23E-7700-4A87-B3D9-7BA3B16101A2@silentumbrella.com \
    --to=mica@silentumbrella.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).