From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78252 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Adaptive section structuring Date: Thu, 13 Sep 2012 09:48:42 +0200 Message-ID: <20120913094842.741df22a@homerow> 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 1347522534 4885 80.91.229.3 (13 Sep 2012 07:48:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 07:48:54 +0000 (UTC) To: context Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 13 09:48:56 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 1TC4AS-0005dG-O8 for gctc-ntg-context-518@m.gmane.org; Thu, 13 Sep 2012 09:48:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A88A2101F5; Thu, 13 Sep 2012 09:48:52 +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 nn1qSQTEPEoj; Thu, 13 Sep 2012 09:48:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C5EB2101E9; Thu, 13 Sep 2012 09:48:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7777101E9 for ; Thu, 13 Sep 2012 09:48:48 +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 G8au9O0Z9Ew3 for ; Thu, 13 Sep 2012 09:48:48 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 5E4DC101E7 for ; Thu, 13 Sep 2012 09:48:48 +0200 (CEST) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8D7mk9Z009108 for ; Thu, 13 Sep 2012 09:48:47 +0200 Original-Received: from a.earth.lavabit.com (a.earth.lavabit.com [192.168.111.10]) by karen.lavabit.com (Postfix) with ESMTP id EE35511BB76 for ; Thu, 13 Sep 2012 02:48:44 -0500 (CDT) Original-Received: from homerow (miun108-118.dynamic.miun.se [193.10.108.118]) by lavabit.com with ESMTP id WX7BT7CO5UWI for ; Thu, 13 Sep 2012 02:48:44 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=OccdXyF74mgoMJRRmYLG8lXsvW4FMwBSspRT5/sBfBKFT6L4kEQnvqvUxKxo1jg+ikG/JjCPTlxT1xVbQB9Fz1v5UDtCm31JDN4vbgFliSfR15olUmlg0SHrECq/dmYDaw7TVg61h9LxNGy1HWIdGF95531V/glHp3CQJKeSn/c=; h=Date:From:To:Subject:Message-ID:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.9999 (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: 0RHWvMKoc - dee59ad65d45 - 20120913 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:78252 Archived-At: Hi, I am often surprised that some nice-to-have feature is already present in ConTeXt and I just wasn't aware. But I am not sure about this one. 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. \starttext \startstructure [title=Alpha] \startstructure [title=Beta] \startstructure [title=Gamma] \stopstructure \stopstructure \stopstructure \stoptext This would ease moving around sections, which might end up as subsections and vice versa. 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 ___________________________________________________________________________________