From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78257 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Adaptive section structuring Date: Thu, 13 Sep 2012 11:07:14 +0200 Message-ID: <20120913110714.559d6728@homerow> References: <20120913094842.741df22a@homerow> <5051950F.3020404@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1347527248 12494 80.91.229.3 (13 Sep 2012 09:07:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 09:07:28 +0000 (UTC) To: context Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 13 11:07:32 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TC5OU-00077m-In for gctc-ntg-context-518@m.gmane.org; Thu, 13 Sep 2012 11:07:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1DA5B101E7; Thu, 13 Sep 2012 11:07:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yDr7O7++goLa; Thu, 13 Sep 2012 11:07:24 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 17644101E9; Thu, 13 Sep 2012 11:07:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 97A12101E9 for ; Thu, 13 Sep 2012 11:07:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4M8X8WZ3BQCz for ; Thu, 13 Sep 2012 11:07:21 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id CC60E101E7 for ; Thu, 13 Sep 2012 11:07:21 +0200 (CEST) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8D97IBR031348 for ; Thu, 13 Sep 2012 11:07:20 +0200 Original-Received: from a.earth.lavabit.com (a.earth.lavabit.com [192.168.111.10]) by karen.lavabit.com (Postfix) with ESMTP id 9046A11B997 for ; Thu, 13 Sep 2012 04:07:17 -0500 (CDT) Original-Received: from homerow (miun108-118.dynamic.miun.se [193.10.108.118]) by lavabit.com with ESMTP id PD5FCXUQSWYT for ; Thu, 13 Sep 2012 04:07:17 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=vP9Tvx5+yj3bw1W+DeGAm3Agr6Qg4EFD0mKN1XCUOJfvB1Xvpl2fvgwZqD6YhXXC4t2TJOhlYf9Cb4bM31WdIQLBHq8+2AlEP1tZwgey24vfgTrH78sFH5xr2B7ndT+AbxK+78v55/H6n79GDBAoiMwXj3BkiYg7vs1sPxXIS9g=; h=Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; In-Reply-To: <5051950F.3020404@wxs.nl> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.9988 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75206; latitude=32.8339; longitude=-96.7715; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8339,-96.7715&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06HWx7ird - e905890caded - 20120913 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78257 Archived-At: > > Is there something like an adaptive structure code which keeps track > > of the nesting level? In this example the first structure would > > become the chapter, the second one a section, etc. > \startstructurelevel [title=first lower level] > \startstructurelevel [title=second lower level] > \startstructurelevel [title=third lower level] > test > \stopstructurelevel > \stopstructurelevel > \stopstructurelevel Brilliant. That's it. Thanks also to Wolfgang. Is there a preferred syntax to use either sectionlevel or structurelevel? \startsectionlevel [title=Alpha] \startsectionlevel [title=Beta] \startsectionlevel [title=Gamma] \stopsectionlevel \stopsectionlevel \stopsectionlevel versus: \startstructurelevel [title=Alpha] \startstructurelevel [title=Beta] \startstructurelevel [title=Gamma] \stopstructurelevel \stopstructurelevel \stopstructurelevel Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________