From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21690 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: custom itemize bullet Date: Thu, 28 Jul 2005 23:45:09 +0200 Message-ID: <42E951E5.4020901@wxs.nl> References: <1122576250.10114.6.camel@localhost.localdomain> <42E93762.9090408@wxs.nl> <1122583313.10114.11.camel@localhost.localdomain> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122587119 20353 80.91.229.2 (28 Jul 2005 21:45:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2005 21:45:19 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 28 23:45:17 2005 Return-path: 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 1DyGBE-00062Q-Nn for gctc-ntg-context-518@m.gmane.org; Thu, 28 Jul 2005 23:44:40 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8000812817; Thu, 28 Jul 2005 23:44:40 +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 29666-06-3; Thu, 28 Jul 2005 23:44:37 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2686712799; Thu, 28 Jul 2005 23:44:37 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0AF0612799 for ; Thu, 28 Jul 2005 23:44:35 +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 29666-06-2 for ; Thu, 28 Jul 2005 23:44:34 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 23CEA1278D for ; Thu, 28 Jul 2005 23:44:31 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j6SLiQ4w020381 for ; Thu, 28 Jul 2005 23:44:26 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 27ADD24C57; Thu, 28 Jul 2005 22:59:26 +0200 (CEST) Original-Received: from [10.100.1.52] (unknown [10.100.1.52]) by server-1.pragma-net.nl (Postfix) with ESMTP id 30DE31B332 for ; Thu, 28 Jul 2005 20:59:25 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <1122583313.10114.11.camel@localhost.localdomain> X-Virus-Scanned: ClamAV 0.86.1/995/Wed Jul 27 22:13:50 2005 on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21690 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21690 Stuart Jansen wrote: >On Thu, 2005-07-28 at 21:52 +0200, Hans Hagen wrote: > > >>>I've added a custom font and defined symbols from it: >>> >>> > >*snip* > > > >>>This produces the right symbol. But I can't figure out how to use that >>>bullet in an itemized list. I don't think I can use \usesymbols because >>>in some lists I want the regular bullet, and in others I want the custom >>>bullet. Any tips would be appreciated. >>> >>> >>> >>see symb-mis.tex >> >>\definesymbol [1] [{\symbol[bullet]}] >>\definesymbol [2] [{\symbol[dash]}] >>... >> >>so >> >>\definesymbol[1]{{\symbol[Glamocon Retrobats][GuruBullet]}} >> >>\definesymbol[xx]{{\symbol[Glamocon Retrobats][GuruBullet]}} >> >> > >For the benefit of anyone reading the archives, the solution requires a >\bgroup \egroup pair. > >\starttext >%% Using custom bullet >\bgroup >\definesymbol[1][{$\diamond$}] >\startitemize[packed] >\item foo >\item bar >\item baz >\stopitemize >\egroup >%% Using normal bullet >\startitemize[packed] >\item foo >\item bar >\item baz >\stopitemize >\starttext > > it depends, \definesymbol[11][{$\diamond$}] \startitemize[11,packed] does not need grouping; alternatively one can define a new itemgroup with its own symbols Hans -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------