From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94082 Path: news.gmane.org!not-for-mail From: Mica Semrick Newsgroups: gmane.comp.tex.context Subject: Re: Are nested sections possible? Date: Fri, 11 Mar 2016 07:42:16 -0800 Message-ID: References: <585b9b9aa484d54b00489590afa2ec17@silentumbrella.com> <56E2933F.5040909@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2996691292393209989==" X-Trace: ger.gmane.org 1457711010 15897 80.91.229.3 (11 Mar 2016 15:43:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2016 15:43:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 11 16:43:15 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aePDf-0007jB-2u for gctc-ntg-context-518@m.gmane.org; Fri, 11 Mar 2016 16:43:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 7ECA17FBD; Fri, 11 Mar 2016 16:42:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h2PsDMtIZDdR; Fri, 11 Mar 2016 16:42:49 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id D0DA87FCF; Fri, 11 Mar 2016 16:42:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 085C77FC9 for ; Fri, 11 Mar 2016 16:42:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gkzNih7mIgfg for ; Fri, 11 Mar 2016 16:42:41 +0100 (CET) Original-Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id AAD957FBD for ; Fri, 11 Mar 2016 16:42:31 +0100 (CET) Original-Received: from mfilter44-d.gandi.net (mfilter44-d.gandi.net [217.70.178.175]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 74869A80D3 for ; Fri, 11 Mar 2016 16:42:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter44-d.gandi.net Original-Received: from relay3-d.mail.gandi.net ([IPv6:::ffff:217.70.183.195]) by mfilter44-d.gandi.net (mfilter44-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id NBEhcBTk8XBV for ; Fri, 11 Mar 2016 16:42:29 +0100 (CET) X-Originating-IP: 96.229.204.29 Original-Received: from android-1dd7324701492dc5.lan (pool-96-229-204-29.lsanca.fios.verizon.net [96.229.204.29]) (Authenticated sender: mica@silentumbrella.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id CA81CA80D0 for ; Fri, 11 Mar 2016 16:42:25 +0100 (CET) User-Agent: K-9 Mail for Android In-Reply-To: <56E2933F.5040909@wxs.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:94082 Archived-At: --===============2996691292393209989== Content-Type: multipart/alternative; boundary="----V04AQO1PMW3MGZWIZ5NH3L51SXQANG" Content-Transfer-Encoding: 7bit ------V04AQO1PMW3MGZWIZ5NH3L51SXQANG Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes that looks like what I want. Thank you! On March 11, 2016 1:43:27 AM PST, Hans Hagen 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=3Dfirst top level] > > \startstructurelevel [title=3Dfirst lower level] > \startstructurelevel [title=3Dsecond lower level] > \startstructurelevel [title=3Dthird lower level] > test > \stopstructurelevel > \stopstructurelevel > \stopstructurelevel > > \startstructurelevel [title=3Dfirst lower level] > \startstructurelevel [title=3Dsecond lower level] > \startstructurelevel [title=3Dthird lower level] > test > \stopstructurelevel > \stopstructurelevel > \stopstructurelevel > >\stopstructurelevel > >\stoptext > >and >\starttext > >\startstructurelevel [title=3Dfirst top level] > > \startstructurelevel [title=3Dfirst lower level] > \startstructurelevel [title=3Dsecond lower level] > \startstructurelevel [title=3Dthird lower level] > test > \stopstructurelevel > \stopstructurelevel > \stopstructurelevel > > \startstructurelevel [title=3Dfirst lower level] > \startstructurelevel [title=3Dsecond lower level] > \startstructurelevel [title=3Dthird 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 >________________________________________________________________________= ___________ ------V04AQO1PMW3MGZWIZ5NH3L51SXQANG Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Yes that looks like what I want. Thank you!
<= br>
On March 11, 2016 1:43:27 AM PST, Hans Hage= n <pragma@wxs.nl> wrote:
On 3/11/2016 9:08 AM, mica@silentumbrella.com wrote=
:
Greetings,
=
Is it possible to have

\starttext

\startch= apter
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 somethin= g.one.one
1.1.1.1 something.one.one.= one

do you mean something like

section= s/levels-001.tex
sections/levels-002.tex

in the test suit= e?

\starttext

\startstructurelevel [title=3Dfirst t= op level]

\startstructurelevel [title=3Dfirst lower level]
\startstructurelevel [title=3Ds= econd lower level]
\startstructurelevel [title=3Dthird = lower level]
test
\stopstructurel= evel
\stopstructurelevel
\stopstructurelevel

\startstructurelevel [title=3Dfirst lower level]
= \startstructurelevel [title=3Dsecond lower level]
\st= artstructurelevel [title=3Dthird lower level]
test<= br /> \stopstructurelevel
\stopstructurelevel \stopstructurelevel

\stopstructurelevel

\s= toptext

and
\starttext

\startstructurelevel [t= itle=3Dfirst top level]

\startstructurelevel [title=3Dfir= st lower level]
\startstructurelevel [title=3Dsecond lower = level]
\startstructurelevel [title=3Dthird lower level]=
test
\stopstructurelevel
\stopstructurelevel
\stopstructurelevel

= \startstructurelevel [title=3Dfirst lower level]
\start= structurelevel [title=3Dsecond lower level]
\startstruc= turelevel [title=3Dthird lower level]
test
= \stopstructurelevel
\stopstructurelevel
= \stopstructurelevel

\stopstructurelevel

\stoptext<= br />



H= ans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hass= elt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl




If your quest= ion 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/conte= xtrev/
wiki : http://co= ntextgarden.net

------V04AQO1PMW3MGZWIZ5NH3L51SXQANG-- --===============2996691292393209989== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============2996691292393209989==--