At 03:12 PM 6/23/2002 +0200, Patrick Gundlach wrote:
>Idris S Hamid <[EMAIL PROTECTED]> 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 | [EMAIL PROTECTED]
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
-------------------------------------------------------------------------