From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27783 Path: news.gmane.org!not-for-mail From: Na Li Newsgroups: gmane.comp.tex.context Subject: Re: customized itemize Date: Tue, 09 May 2006 15:00:41 -0500 Organization: University of Minnesota, Twin Cities Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1147204749 7988 80.91.229.2 (9 May 2006 19:59:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 May 2006 19:59:09 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue May 09 21:59:02 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FdYLv-0002dd-6K for gctc-ntg-context-518@m.gmane.org; Tue, 09 May 2006 21:58:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C041E127D1; Tue, 9 May 2006 21:58:38 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16651-08; Tue, 9 May 2006 21:58:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D464E127E1; Tue, 9 May 2006 21:58:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B7A99127E1 for ; Tue, 9 May 2006 21:58:30 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17681-04-4 for ; Tue, 9 May 2006 21:58:29 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with SMTP id 4C739127D1 for ; Tue, 9 May 2006 21:58:29 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FdYLR-0002Xn-To for ntg-context@ntg.nl; Tue, 09 May 2006 21:58:10 +0200 Original-Received: from bass.biostat.umn.edu ([160.94.208.81]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 May 2006 21:58:09 +0200 Original-Received: from nali by bass.biostat.umn.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 May 2006 21:58:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ntg.nl Original-Lines: 37 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bass.biostat.umn.edu User-Agent: Emacs Gnus Cancel-Lock: sha1:p3YX9HhYw0c4mIEacB4PDK9e9bg= X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27783 Archived-At: On 9 May 2006, Aditya Mahajan wrote: On Tue, 9 May 2006, Na Li wrote: > > > I need use repeatedly a list like this, with the same set of words (five > > or six of them), 'icon', 'coni', etc, > > > > \startitemize[width=3em,symstyle=bold] > > \sym{icon} blah > > \sym{coni} llla > > \stopitemize > > > > How to define a customized list so I can do: > > > > \startmylist > > \item blah > > \item llla > > \stopmylist > > > > to get the same result? > > > > Does http://wiki.contextgarden.net/User-Defined_Enumerations help? Thanks! This works fine: \defineconversion[s][icon,coni] \startitemize[s,packed][width=5em,stopper=:,style=bold] \item blah \item lla \stopitemize Is there a way of defining an itemize style without having to specify the same set of options to \startitemize every time? Something like: \defineitemize[myitemize][s,packed][width=5em,stopper=:,style=bold] Michael