From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78259 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Adaptive section structuring Date: Thu, 13 Sep 2012 11:29:06 +0200 Message-ID: References: <20120913094842.741df22a@homerow> <5051950F.3020404@wxs.nl> <20120913110714.559d6728@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1347528572 24957 80.91.229.3 (13 Sep 2012 09:29:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 09:29:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 13 11:29:30 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 1TC5jk-0002u8-15 for gctc-ntg-context-518@m.gmane.org; Thu, 13 Sep 2012 11:29:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D102C101E7; Thu, 13 Sep 2012 11:29:23 +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 L+fSTSC-qwFt; Thu, 13 Sep 2012 11:29:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 94B56101E9; Thu, 13 Sep 2012 11:29:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7CFBD101E9 for ; Thu, 13 Sep 2012 11:29:20 +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 C-yNb1Co0ZQZ for ; Thu, 13 Sep 2012 11:29:19 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id BE5FF101E7 for ; Thu, 13 Sep 2012 11:29:19 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8D9TGdo026100 for ; Thu, 13 Sep 2012 11:29:16 +0200 Original-Received: by bkcjc3 with SMTP id jc3so427027bkc.14 for ; Thu, 13 Sep 2012 02:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=peKfVUH+MvCCWkX2y3F1TOgszIH8aNUrL0T/aKOKDyQ=; b=i2eKJ3YcbSr9h/Asd18qH/c6w8F+pgTPAPGzzNYN1jIOly1AF1bg71EbM62O7bgaS+ pW2OHI7+u/pyEqHcGtenP708osEPZo7cETcAacvQ5UvDcTUn8l9JQZirCtv4QYbVZN2y gVOucYNRHY51z7q7QpLU/zzrJO1l9QvOzjj6pLzbOFBdONbkyHoGc2lRtkVeV4y8zjBV MbELI3g9FAg87WZjHVLyLaGM9+3T358s3KOxCzl6axxb/oPSbatdd+0k0BCSQJMxP4Uf O1ar/hAjOMw6hqZShoSbIpurCeaHTwH2zE6K4JgSm/WuL+zxkGiaUI+pXk/hCOoSg8Lf 7BDQ== Original-Received: by 10.204.152.206 with SMTP id h14mr582759bkw.36.1347528555958; Thu, 13 Sep 2012 02:29:15 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbfa409.pool.mediaWays.net. [77.191.164.9]) by mx.google.com with ESMTPS id hs2sm13647561bkc.1.2012.09.13.02.29.13 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Sep 2012 02:29:15 -0700 (PDT) In-Reply-To: <20120913110714.559d6728@homerow> X-Mailer: Apple Mail (2.1486) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VHWxtg8g - 78ab71a76539 - 20120913 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:78259 Archived-At: Am 13.09.2012 um 11:07 schrieb Marco Patzer : >>> 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? I would go with \startsectionlevel which is the new name for the command but the old name \startstructurelevel can be also used. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________