From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: Are nested sections possible?
Date: Fri, 11 Mar 2016 10:43:27 +0100 [thread overview]
Message-ID: <56E2933F.5040909@wxs.nl> (raw)
In-Reply-To: <585b9b9aa484d54b00489590afa2ec17@silentumbrella.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2016-03-11 9:43 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 [this message]
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=56E2933F.5040909@wxs.nl \
--to=pragma@wxs.nl \
--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).