ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Andreas Schneider <aksdb@gmx.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Are nested sections possible?
Date: Fri, 11 Mar 2016 10:37:51 +0100	[thread overview]
Message-ID: <f6099acd056af1c06d7d32a6a69eb47c@chemnitz.dyndns.aksdb.de> (raw)
In-Reply-To: <585b9b9aa484d54b00489590afa2ec17@silentumbrella.com>

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@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
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2016-03-11  9:37 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 [this message]
2016-03-11  9:43 ` Hans Hagen
2016-03-11 15:42   ` Mica Semrick

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=f6099acd056af1c06d7d32a6a69eb47c@chemnitz.dyndns.aksdb.de \
    --to=aksdb@gmx.de \
    --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).