From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75338 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Problem Nesting defineitemgroups Date: Sat, 24 Mar 2012 12:52:11 +0100 Message-ID: <9FB1316E-FE6D-4C78-9D50-A9EBB3AA5D91@googlemail.com> References: <3F20D626-BEE1-45B2-B330-21526A20C929@stien.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1332589985 16974 80.91.229.3 (24 Mar 2012 11:53:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2012 11:53:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 24 12:53:04 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 1SBPWq-0003S9-Jv for gctc-ntg-context-518@m.gmane.org; Sat, 24 Mar 2012 12:53:04 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 52154101E5; Sat, 24 Mar 2012 12:53:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id r9p5dn8C73p4; Sat, 24 Mar 2012 12:53:01 +0100 (CET) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CF90B101DF; Sat, 24 Mar 2012 12:53:01 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4287A101DF for ; Sat, 24 Mar 2012 12:53:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id s5gqWeegExSJ for ; Sat, 24 Mar 2012 12:53:00 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 1846310194 for ; Sat, 24 Mar 2012 12:52:59 +0100 (CET) Original-Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2OBqwuJ022177 for ; Sat, 24 Mar 2012 12:52:59 +0100 Original-Received: by werj55 with SMTP id j55so4348123wer.14 for ; Sat, 24 Mar 2012 04:52:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=GSWdxSvzB0LB9Qe2Qcwxab99wgadplHI7XjeIBVdURM=; b=SzMDhiL24qmHH7VPBh14CW8advKJ2ZR8OJi9k08CRuJL3dSWmIdmieelSHncsng34u 2o1oaWu5ifyPm41jJPEuxy+ZYAISt1ZFrUxOX0Ol+b5I8TkUrFIU7/0ODQggVrUOmYmK e4gXdYH/WWJM0hregR2BntiezQp5vt2u51Ot+oFYlxlo6u42tRUHTMJyqcfk4JEFsXwf ncnoI1SW2v938FlrtL9wlxJLRCSI9hxzGy9bekdtCu8usLT3AOivxFUPkBKRJvBhG/eg /V8pHBnHmXQEYm4sbbk+7QOgvry6sK4UOpdX0JR7xKD74IU8XGKTEGnoK1DkvsuCNIuE nLUA== Original-Received: by 10.180.24.7 with SMTP id q7mr4490534wif.11.1332589978791; Sat, 24 Mar 2012 04:52:58 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFB53C.dip.t-dialin.net. [87.175.181.60]) by mx.google.com with ESMTPS id gg2sm36639310wib.7.2012.03.24.04.52.40 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 24 Mar 2012 04:52:58 -0700 (PDT) In-Reply-To: <3F20D626-BEE1-45B2-B330-21526A20C929@stien.de> X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.169; country=US; latitude=38.0000; longitude=-97.0000; http://maps.google.com/maps?q=38.0000,-97.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NGNnQXx8 - 3f1c559895d1 - 20120324 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:75338 Archived-At: Am 24.03.2012 um 05:25 schrieb Malte Stien: > I have the following two definitions for bullet point lists... > > % Setup bullet point lists > \defineitemgroup[blist][before={\blank[1ex]}] > \setupitemgroup[blist][1][packed][symbol=1] > \setupitemgroup[blist][2][packed][symbol=2] > > ... and numbered lists > > % Setup numbered lists > \defineitemgroup[nlist][before={\blank[1ex]}] > \setupitemgroup[nlist][1][packed][symbol=n, headstyle=bold] > \setupitemgroup[nlist][2][packed][symbol=a, headstyle=bold] > > They generally seem to work well, but when I try to nest one within the other, like so > > \startnlist > \item Foo > \startblist > \item Some bullet item 1, > \item Some bullet item 2, > \item Some bullet item 3. > \item Assign an appropriate criticality. > \stopblist > \item Baz > \startnlist > > ...I get unexpected behaviour as follows: > > 1. Foo > a. Some bullet item 1, > b. Some bullet item 2, > c. Some bullet item 3. > 2. Baz > > I was expecting this instead > > 1. Foo > + Some bullet item 1, > + Some bullet item 2, > + Some bullet item 3. > 2. Baz > > ...(where "+" denotes the round bullet point). Is this a defect or am I doing something wrong? ConTeXt uses the type of the item group in the first level also for the inner levels and handles the inner \startblist as if it was \startnlist. 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 ___________________________________________________________________________________