From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75326 Path: news.gmane.org!not-for-mail From: Malte Stien Newsgroups: gmane.comp.tex.context Subject: Re: Problem Nesting defineitemgroups Date: Sat, 24 Mar 2012 15:39:31 +1100 Message-ID: <9D0CAF31-E691-48A5-805E-517597C1F238@stien.de> 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 v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1332563996 9220 80.91.229.3 (24 Mar 2012 04:39:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2012 04:39:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 24 05:39:55 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 1SBIle-0003ee-N0 for gctc-ntg-context-518@m.gmane.org; Sat, 24 Mar 2012 05:39:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C40DD101E5; Sat, 24 Mar 2012 05:39:53 +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 UJ89Tnf6UqDw; Sat, 24 Mar 2012 05:39:52 +0100 (CET) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1C2F5101DF; Sat, 24 Mar 2012 05:39:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D58D6101DF for ; Sat, 24 Mar 2012 05:39:48 +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 GgyeNPH8+SRd for ; Sat, 24 Mar 2012 05:39:46 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 6AB5510194 for ; Sat, 24 Mar 2012 05:39:46 +0100 (CET) Original-Received: from homiemail-a74.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q2O4diMM002139 for ; Sat, 24 Mar 2012 05:39:45 +0100 Original-Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id 8B69567C06B for ; Fri, 23 Mar 2012 21:39:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=stien.de; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; q=dns; s= stien.de; b=WmOIkkHssPKrV4HxBthceZ15llnMS+zZvgQ2NxT01/lckcBDDkit XZHbbkVyUTfmO68uSJG2gmT9+Vlr9YIpNVK1H+n3i0gFI++eWNCW5mgFFQ+pSTMY nNJsYvslHKjsZEAIO0eDzGKEOjLTOnVbiaS6Z7HHzWN0VNcpPZdRqG4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=stien.de; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s=stien.de; bh=VbrVFUJbyTA9AT5WSvI9+CT0FZk=; b=B2rmI7HDAMoDdyE05fwi5HbS5tSa 3D6Lst/3XSAuR48qxhCr6oOauiRCPi5zVqOwvD0YkwMItv6dF4QRJSWtxzlBN1mF 8Lu1DgIc446lPjw6Y2cdN4aKVr2jGUr96y4o0sGHTfvZS9yZA0DLqalKeOBsMBi9 M0IpC6afaAawV1Y= Original-Received: from [192.168.0.5] (51.125.96.58.static.exetel.com.au [58.96.125.51]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: malte@stien.de) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPSA id 92B0767C069 for ; Fri, 23 Mar 2012 21:39:35 -0700 (PDT) In-Reply-To: <3F20D626-BEE1-45B2-B330-21526A20C929@stien.de> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=208.97.132.119; country=US; region=CA; city=Trabuco Canyon; postalcode=92679; latitude=33.6117; longitude=-117.5491; metrocode=803; areacode=949; http://maps.google.com/maps?q=33.6117,-117.5491&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dGNgDIwp - 39ef167ccb76 - 20120324 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:75326 Archived-At: Hi again, I just noticed that the last line of my code was \startnlist when it should have been \stopnlist It was correct in my code, but too much fiddling and trying things made it wrong when I copied it across to the email. Even with the correct line in there, my problem still exists. Regards, Malte. On 24/03/2012, at 15:25, Malte Stien wrote: > 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? > > Regards, > Malte. > ___________________________________________________________________________________ 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 ___________________________________________________________________________________