[NTG-context] components with enumerations

Wolfgang Schuster schuster.wolfgang at googlemail.com
Tue Mar 27 09:36:49 CEST 2012


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



More information about the ntg-context mailing list