From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8371 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: more itemization:-) Date: Mon, 24 Jun 2002 00:49:33 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020624004432.037db1a8@remote-1> References: <200206211352.30857.ishamid@attbi.com> <200206211338.24317.ishamid@attbi.com> <200206211352.30857.ishamid@attbi.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035398781 27015 80.91.224.250 (23 Oct 2002 18:46:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:46:21 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Patrick Gundlach In-Reply-To: <87bsa2i1fj.fsf@gundla.ch> Xref: main.gmane.org gmane.comp.tex.context:8371 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8371 At 03:12 PM 6/23/2002 +0200, Patrick Gundlach wrote: >Idris S Hamid writes: > >Hi, > > > One more thing, > > > > I need to set some space after the level-3 itemization before the rest > of the > > paragraph. I tried > > > > \startitemize[KR][after={\blank[medium]}] > > > > but this did not change things. > > >right, because context does not check for this :) > >\unprotect >\def\stopitemgroup > {\iftextitems > \removeunwantedspaces\space\ignorespaces > \else > \par > \fi > \ifnum\itemcolumndepth=0 \dolistreference \fi % beware ! > \iffirstlist \else \endgroup \fi % toegevoegd, eerste \som opent groep > \ifnum\itemcolumndepth=\itemlevel\relax > \stopkolommen > \doglobal\newcounter\itemcolumndepth > \getitemparameter\itemlevel\c!na > \else > \ifnum\itemlevel=1 % ! > \doitembreak\allowbreak % ! > \fi % ! > \getitemparameter\itemlevel\c!na % ! > \doif\@@oospringvolgendein\v!nee\noindentation > \fi > \endgroup > \doglobal\decrement(\itemlevel,\itemincrement)% > \egroup} >\protect > >should fix this, but Hans should look over it again, since >indentnext=yes does not do anything except when you say after=\par, hm, \endgraf maybe, have to look into that >which you can't. Why is there a comparison beetween \itemcolumndepth >and \itemlevel? This code above is really obscure... well, it's part of the oldest context code ... kind of prehistoric your patch spoils the packed option; in itemize the before/after keys are ignores at level>1 so, fixing this will need a bit more work, like patching the packed handler and also the 'before' handling, so i'll put it on the to do list for the moment, adding a \blank is the best solution (or \defineblank[hack][medium] \blank[hack] so that later you can say \defineblank[hack][none]) remind me to fix this Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------