From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78395 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: combinedlist: different behaviour in mkiv Date: Fri, 21 Sep 2012 20:03:41 +0200 Message-ID: <4EAE3123-EC60-496B-B8E2-A619DF45F289@gmail.com> References: <1348128282.3475.7.camel@pan> <20120921092419.GA19290@phlegethon.router_intern> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1348250638 4202 80.91.229.3 (21 Sep 2012 18:03:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2012 18:03:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 21 20:04:02 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 1TF7Zx-000672-B4 for gctc-ntg-context-518@m.gmane.org; Fri, 21 Sep 2012 20:03:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59D48101F5; Fri, 21 Sep 2012 20:03: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 Llv5pgZSbjsQ; Fri, 21 Sep 2012 20:03:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 67156101E8; Fri, 21 Sep 2012 20:03:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2B29101E8 for ; Fri, 21 Sep 2012 20:03:44 +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 33JRKvzPH1qc for ; Fri, 21 Sep 2012 20:03:43 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id B0D3C101E6 for ; Fri, 21 Sep 2012 20:03:43 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8LI3gSZ005974 for ; Fri, 21 Sep 2012 20:03:43 +0200 Original-Received: by bkcjc3 with SMTP id jc3so2120393bkc.14 for ; Fri, 21 Sep 2012 11:03:42 -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=JbrhHQsq4rn7J/UeZZVKyK6mFGO/WyA8RVxsyEFz4yg=; b=Dx1hYsTjGhL6hIMO2I2MFbWjSbHPab3kwbOmfEq2ofQh9MCRMFErUQ7pnTiHeSNx6z VS/nL7Zna6fVdZl8FTxpk+FOwgLOsNmEJlut0ds2oht+tBk82TvY+0pXtJnBg58ZljUp 3H3IXqHKzzG5eFXd0slheJs2o/erruzh1KlElZ8/5dhsKM/DoNv0qY1kYYIcLm141vsi sc3L4SQBTGpqSNnSeivyntoUwSyY2qfiwSMBLs9bs/KsLGxdd6t54INkg4cFOtHWEB8r 0ed9dmKPZQPBy+CHrvkzKnC+JhRV7NIiRKqB146dkQfy0ocCvjPb9LUyHRI9a0ThWWCb kbxg== Original-Received: by 10.204.152.75 with SMTP id f11mr2711451bkw.83.1348250622377; Fri, 21 Sep 2012 11:03:42 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4d072bdf.pool.mediaWays.net. [77.7.43.223]) by mx.google.com with ESMTPS id t23sm6875344bks.4.2012.09.21.11.03.40 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 21 Sep 2012 11:03:41 -0700 (PDT) In-Reply-To: <20120921092419.GA19290@phlegethon.router_intern> X-Mailer: Apple Mail (2.1498) X-Bayes-Prob: 0.5 (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: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) 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:78395 Archived-At: Am 21.09.2012 um 11:24 schrieb Philipp Gesang : > Hi Stefan, > = > =B7=B7=B7=B7=B7=B7=B7=B7= =B7 > = >> % Top level head >> \definehead [AgendaPart] [section] >> \setuphead [AgendaPart] [ownnumber=3Dyes, number=3Dyes, >> numbercommand=3D{Part }, style=3D\bf\tfb] = >> = >> \newcounter\AgendaPartNumber >> = >> \define [1] \agendapart { = >> \doglobal\increment\AgendaPartNumber >> \AgendaPart{\Character{\AgendaPartNumber}}{#1} >> } >> = >> % Second level head, idependently numbered >> \definehead [AgendaItem] [subsubsection] >> \setuphead [AgendaItem] [ownnumber=3Dyes, number=3Dyes, style=3D\bf] > = > %% Adjust the =93sectionsegments=94 parameter to include only the > %% head=92s own structure level. (Multiple levels need to be > %% separated by cola (=93:=94)). > \definehead [AgendaItem] [subsubsection] [ > ownnumber=3Dyes, > number=3Dyes, > style=3D\bf, > sectionsegments=3Dsubsubsection, > ] > = > Btw why does your structure go section->subsubsection? Afair > these have depth 3 and 5 respectively, so it would look more > consistent to use section->subsection (3->4). +1 I wonder also why he uses such a complicated method for his headings when t= here is a better way. \defineresetset [none][][0] \definehead [agendapart] [section] [sectionresetset=3Dnone,sectionsegmen= ts=3Dagendapart,style=3D\bfb,conversion=3DA,bodypartlabel=3Dpart] \definehead [agendaitem] [subsection] [sectionresetset=3Dnone,sectionsegmen= ts=3Dagendaitem,style=3D\bf] \setuplist [agendapart] [width=3D1.5cm,pagenumber=3Dno,style=3Dbold,label= =3Dyes] \setuplist [agendaitem] [width=3D1.5cm,pagenumber=3Dno] \definecombinedlist [agenda] [agendapart,agendaitem] \starttext \placeagenda \agendapart{First} \agendaitem{One} \agendaitem{Two} \agendapart{Second} \agendaitem{Three} \agendaitem{Four} \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________