From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44905 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Feature Request: \startitemize[text] Date: Tue, 21 Oct 2008 09:11:52 +0200 Message-ID: <115224fb0810210011m17253031i3067006010f34e1d@mail.gmail.com> References: <115224fb0810162327j41395473l1fe35369585b23d3@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224575202 9822 80.91.229.12 (21 Oct 2008 07:46:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2008 07:46:42 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 21 09:47:40 2008 connect(): Connection refused 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 lo.gmane.org with esmtp (Exim 4.50) id 1KsBx9-0001gt-Kd for gctc-ntg-context-518@m.gmane.org; Tue, 21 Oct 2008 09:46:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F20881FB7F; Tue, 21 Oct 2008 09:45:47 +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 11830-02-3; Tue, 21 Oct 2008 09:45:03 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 73F8A1FB5A; Tue, 21 Oct 2008 09:12:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1B7161FB5A for ; Tue, 21 Oct 2008 09:12:57 +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 05296-01-9 for ; Tue, 21 Oct 2008 09:12:20 +0200 (CEST) Original-Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.149]) by ronja.ntg.nl (Postfix) with ESMTP id 24ACF1FB29 for ; Tue, 21 Oct 2008 09:11:53 +0200 (CEST) Original-Received: by ey-out-1920.google.com with SMTP id 21so692908eyc.38 for ; Tue, 21 Oct 2008 00:11:53 -0700 (PDT) Original-Received: by 10.103.207.18 with SMTP id j18mr1130093muq.100.1224573112599; Tue, 21 Oct 2008 00:11:52 -0700 (PDT) Original-Received: by 10.103.215.10 with HTTP; Tue, 21 Oct 2008 00:11:52 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:44905 Archived-At: On Fri, Oct 17, 2008 at 7:01 PM, Aditya Mahajan wrote: > Hi Wolfgang, > > On Fri, 17 Oct 2008, Wolfgang Schuster wrote: > >> On Sun, Jan 13, 2008 at 11:41 PM, Aditya Mahajan wrote: >>> Hi Hans, >>> >>> I have always found the space at the beginning of each item in >>> \startitemize[text] to be too large. Currently, this is hard coded to be >>> \emwidth plus \intertwordstretch minus \interwordshrink (line 1132 of >>> core-itm.tex with the comment "new per 2006/10/20"). I always end of >>> copying the definition of complexdoitemgroupitem to my private modules and >>> changing the emwidth in the definition to 0.5\emwidth. Can you please keep >>> this key to be configurable with a key (textinbetween)? >>> >>> BTW, any particular reason not to simply say >>> \removeunwantedspaces\space\ignorespaces instead of >>> \removeunwantedspaces\hskip\emwidth\!!plus\interwordstretch\!!minus\interwordshrink\relax >>> \stopitemgroup uses just the first variant. >>> >>> Thanks, >>> Aditya >> >> Hi Aditya, >> >> what do you about the following solution, the space between each >> item is configurable with the "space" key, the fourth parameter >> \dostartitemgroup gobbles we get from \startitemize if we use two >> parameters. > > Thank you for looking into this old request. This does exactly what I > want. I just have one comment regarding the default. Maybe, for > consistency, the space key should behave as in \setupinterlinespace > > space=none|small|medium|big|dimension \processaction [\getitemparameter\currentitemlevel\c!space] [ \v!none=>\let\textitemdistance\zeropoint, \s!unknown=>\assignvalue\commalistelement\textitemdistance{.5\interwordspace\!!plus.5\emwidth}{\interwordspace\!!plus\emwidth}{\emwidth\!!plus\interwordstretch\!!minus\interwordshrink}]% \removeunwantedspaces\hskip\textitemdistance\relax Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________