From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75357 Path: news.gmane.org!not-for-mail From: "Rogers, Michael K" Newsgroups: gmane.comp.tex.context Subject: Re: Problem Nesting defineitemgroups Date: Sun, 25 Mar 2012 13:14:26 +0000 Message-ID: <555AF2B6-AE1E-4464-9E00-F177A33FFE65@emory.edu> References: <3689DB70-092A-4DFB-A5B8-D295679EDE5F@stien.de> 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: dough.gmane.org 1332681283 13317 80.91.229.3 (25 Mar 2012 13:14:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2012 13:14:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 25 15:14:42 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 1SBnHM-0000pq-U9 for gctc-ntg-context-518@m.gmane.org; Sun, 25 Mar 2012 15:14:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6D267101ED; Sun, 25 Mar 2012 15:14:39 +0200 (CEST) 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 a896zSicR+lK; Sun, 25 Mar 2012 15:14:37 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B295F101DF; Sun, 25 Mar 2012 15:14:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 600B2101DF for ; Sun, 25 Mar 2012 15:14:36 +0200 (CEST) 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 0sxPMDYw2K+n for ; Sun, 25 Mar 2012 15:14:33 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id C7D8310194 for ; Sun, 25 Mar 2012 15:14:33 +0200 (CEST) Original-Received: from ndb-mr3.cc.emory.edu (ndb-mr3.cc.emory.edu [170.140.53.253]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2PDDfSW029582 for ; Sun, 25 Mar 2012 15:13:42 +0200 Original-Received: from e14edge2w.Eu.Emory.Edu (emoryfloatdmz.cc.emory.edu [170.140.52.254]) by ndb-mr3.cc.emory.edu (8.13.8/8.13.1) with ESMTP id q2PDERsI014208 for ; Sun, 25 Mar 2012 09:14:27 -0400 Original-Received: from E14CH4N.Enterprise.emory.net (10.240.8.116) by e14edge2w.Eu.Emory.Edu (170.140.108.22) with Microsoft SMTP Server (TLS) id 14.2.283.3; Sun, 25 Mar 2012 09:14:27 -0400 Original-Received: from E14MBX23N.Enterprise.emory.net ([fe80::b473:ef05:b37f:5ccd]) by e14ch4n.Enterprise.emory.net ([::1]) with mapi id 14.02.0283.003; Sun, 25 Mar 2012 09:14:27 -0400 Thread-Topic: [NTG-context] Problem Nesting defineitemgroups Thread-Index: AQHNCnnuRMZo4eYi20u2XndHtNkaSpZ7QICA In-Reply-To: <3689DB70-092A-4DFB-A5B8-D295679EDE5F@stien.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [170.140.30.131] Content-ID: <030887FF1B346A4285D2F7D143317179@Enterprise.emory.net> X-Emory-MailScanner-Information: Please contact the ISP for more information X-Emory-MailScanner-ID: q2PDERsI014208 X-Emory-MailScanner: Found to be clean X-Emory-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.01, required 8, autolearn=disabled, T_RP_MATCHES_RCVD -0.01) X-Emory-MailScanner-From: mroge02@emory.edu X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=170.140.53.253; country=US; region=GA; city=Atlanta; postalcode=30322; latitude=33.7952; longitude=-84.3248; metrocode=524; areacode=404; http://maps.google.com/maps?q=33.7952,-84.3248&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WGNNdFaX - a3671fba10dd - 20120325 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:75357 Archived-At: You can use \startitemize[1] directly. (You can put it in a macro, so if you ever want to change the style of bullets, you just have to adjust the macro.) \startnlist \item Foo \startitemize[1] \item Some bullet item 1, \item Some bullet item 2. \stopitemize \item Baz \startnlist % start level=2 nlist \item sub Baz 1 \startitemize[1] \item Another bullet item 1, \item Another bullet item 2. \stopitemize \item sub Baz 2 \stopnlist % stop level=2 nlist \stopnlist If you want complicated nesting of the two types with automatically chosen symbols, you'll have to do some programming of ConTeXt, I think. Here's hack, which I can offer as a hint. I'm just beginning to learn ConTeXt, so I fear to wade in deeper than this: % bulleted nlist \def\startBnlist{\doifelse{\currentitemlevel}{1}{\startitemize[1]}{\startitemize[2]}} %\def\startBnlist{\expanded{\startitemize[\currentitemlevel]}} % this works too \def\stopBnlist{\stopitemize} The bullet used in the above depends on the overall item level, which is a solution I doubt anyone would ever want. To really get it to work right you would probably need to define your own blist item level variable and do your own bookkeeping. On Mar 25, 2012, at 7:25 AM, Malte Stien wrote: > Wolfgang, > > Thank you for that info. That is unfortunate. Is there any way I can achieve what I need? That is > >> 1. Foo >> + Some bullet item 1, >> + Some bullet item 2, >> + Some bullet item 3. >> 2. Baz > > Thank you. > Malte. > > > On 25/03/2012, at 3:54, ntg-context-request@ntg.nl wrote: > >> 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. > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). ___________________________________________________________________________________ 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 ___________________________________________________________________________________