Ugh. Thanks, Wolfgang. “Less haste, more speed’”.

A.

On Tue, Mar 27, 2012 at 3:36 AM, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:

Am 27.03.2012 um 04:07 schrieb Alan Bowen:

> The following does not seem to work with the latest MKIV version:
>
> \startcomponent
>
> \startitemize
> \item A
> \item B
> \item C
> \stopitemize
>
> \stopcomponent
>
> The log file shows:
> ! Use of \strc_itemgroups_item_alone doesn't match its definition.
>
> system          > tex > error on line 5 in file SimpleTest.tex: Use of  ...
>
>  1     \startcomponent
>  2
>  3     \startitemize
>  4     \item A
>  5 >>  \item B
>  6     \item C
>  7     \stopitemize
>  8
>  9     \stopcomponent
> 10
> 11
>
> l.5 \item B
>
> There is no problem if one uses \starttext…\stoptext (MKIV) or \startcomponent…\stopcomponent  (MKII).
>
> Is this a bug or have I missed some crucial change in MKIV enumerations?

You missed the argument for \startcomponent, i.e. the first line of your document has to be

 \startcomponent name_of_my_file

or

 \startcomponent[name_of_my_file]

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________