From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29985 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: custom itemize Date: Fri, 04 Aug 2006 16:55:47 +0200 Message-ID: <44D35FF3.7040405@elvenkind.com> References: <44D35655.5030808@nibua-r.org> 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 1154703379 18665 80.91.229.2 (4 Aug 2006 14:56:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2006 14:56:19 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 04 16:56:17 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 1G915u-0002Fu-Uf for gctc-ntg-context-518@m.gmane.org; Fri, 04 Aug 2006 16:56:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 97F691FFBF; Fri, 4 Aug 2006 16:56:09 +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 08282-01-6; Fri, 4 Aug 2006 16:55:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3B0AD1FFC9; Fri, 4 Aug 2006 16:55:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5CE021FFC9 for ; Fri, 4 Aug 2006 16:55:54 +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 08282-01-5 for ; Fri, 4 Aug 2006 16:55:48 +0200 (CEST) Original-Received: from lochside.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id 2B5EB1FFBF for ; Fri, 4 Aug 2006 16:55:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by lochside.elvenkind.com (Postfix) with ESMTP id E68B21BE28 for ; Fri, 4 Aug 2006 16:55:47 +0200 (CEST) Original-Received: from lochside.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10837-08 for ; Fri, 4 Aug 2006 16:55:47 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by lochside.elvenkind.com (Postfix) with ESMTP id 9CE0C1B94D for ; Fri, 4 Aug 2006 16:55:47 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <44D35655.5030808@nibua-r.org> X-Virus-Scanned: by amavisd-new at elvenkind.net 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:29985 Archived-At: Renaud AUBIN wrote: > > Hi all, > > Some times ago, Taco helps me to define a custom itemize: > \setbox0=\hbox{--~} > \def\indenteddash#1{\hskip\parindent--~} > \definesymbol[indentdash][\indenteddash] > \setupitemize[each][indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr > \parindent + \wd0 \relax] > Now, I would a new custom itemize with numbered items: > > 1. first paragraph .. > .... with a lot of text (multiline), > 2. second paragraph .. > .... with a lot of text (multiline). > > How to do that ? \setbox0=\hbox{0.~} \def\indenteddash#1{\hskip\parindent #1.~} \defineconversion[indentdash][\indenteddash] \setup... % as before Taco