On Mon, Jun 23, 2008 at 11:07 PM, Aditya Mahajan <[EMAIL PROTECTED]> wrote:
> On Mon, 23 Jun 2008, Peter Münster wrote:
>
>> On Mon, Jun 23 2008, Wolfgang Schuster wrote:
>>
>>>> The parameter "afterhead" seems to be ignored (MKII and MKIV):
>>>
>>> There is no \head in your numeration.
>>
>> Indeed, but "headstyle" applies nevertheless.
>
> Yes, this is how \txt is defined
>
> \appendtoks \letvalue\v!txt  \itemgrouptext  \to \itemgroupcommands
>
> \def\itemgrouptext#1%
> {\def\symsymbol{\doitemattributes\currentitemlevel\c!headstyle\c!headcolor{#1}}%
>   \settrue\symbollistitem
>   \settrue\txtlistitem
>   \itemgroupitem}
>
> So, headstyle and headcolor are used, but not afterhead. Actually, is you
> use \head, the result is interesting :)
>
> \setupitemize[afterhead=:]
> \starttext
> \startitemize
>  \head This is a test
>
>    what happens here
> \stopitemize
> \stoptext
>
> Certainly not what I would have expected.

It is what you expect after you have read the definition but funny for
the first moment.

@Peter: afterhead is meant for vertical material like skips, rules
etc. or you could
use to draw a frame around the itemize head.

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
___________________________________________________________________________________

Reply via email to