From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29989 Path: news.gmane.org!not-for-mail From: Renaud AUBIN Newsgroups: gmane.comp.tex.context Subject: Re: custom itemize Date: Fri, 04 Aug 2006 17:48:30 +0200 Message-ID: <44D36C4E.2060902@nibua-r.org> References: <44D35655.5030808@nibua-r.org> <44D35FF3.7040405@elvenkind.com> 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 1154706568 30588 80.91.229.2 (4 Aug 2006 15:49:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2006 15:49:28 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 04 17:49:24 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 1G91ur-0005bs-TM for gctc-ntg-context-518@m.gmane.org; Fri, 04 Aug 2006 17:48:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 420BC1FFF3; Fri, 4 Aug 2006 17:48:49 +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 11189-02; Fri, 4 Aug 2006 17:48:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB6511FFEF; Fri, 4 Aug 2006 17:48:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0B9B51FFEF for ; Fri, 4 Aug 2006 17:48:41 +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 10764-05-2 for ; Fri, 4 Aug 2006 17:48:37 +0200 (CEST) Original-Received: from 42.mail-out.ovh.net (42.mail-out.ovh.net [213.251.189.42]) by ronja.ntg.nl (Postfix) with SMTP id 8B5AA1FFEA for ; Fri, 4 Aug 2006 17:48:37 +0200 (CEST) Original-Received: (qmail 11200 invoked by uid 503); 4 Aug 2006 15:48:29 -0000 Original-Received: from b6.ovh.net (HELO mail180.ha.ovh.net) (213.186.33.56) by 42.mail-out.ovh.net with SMTP; 4 Aug 2006 15:48:29 -0000 Original-Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 4 Aug 2006 15:48:36 -0000 Original-Received: from d83-179-134-205.cust.tele2.fr (HELO ?192.168.78.10?) (aubin@nibua-r.org@83.179.134.205) by ns0.ovh.net with SMTP; 4 Aug 2006 15:48:35 -0000 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: fr, en Original-To: mailing list for ConTeXt users In-Reply-To: <44D35FF3.7040405@elvenkind.com> X-Ovh-Remote: 83.179.134.205 (d83-179-134-205.cust.tele2.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/0.0/5.0/N 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:29989 Archived-At: % frenchitemize \setbox0=\hbox{--~} \def\indenteddash#1{\hskip\parindent--~} \definesymbol[indentdash][\indenteddash] \def\startfrenchitemize{\startitemize[indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr \parindent + \wd0 \relax]} \def\stopfrenchitemize{\stopitemize} % frenchenumerate \setbox1=\hbox{0.~} \def\indentedfrenchnumber#1{\hskip\parindent#1.~} \defineconversion[frenchnumber][\indentedfrenchnumber] \def\startfrenchenumerate{\startitemize[frenchnumber,packed,joinedup,intext][stopper={},indentnext=yes,width=\dimexpr \parindent + \wd1 \relax]} \def\stopfrenchenumerate{\stopitemize} % default behavior of itemize (frenchitemize) \setupitemize[each][indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr \parindent + \wd0 \relax]