ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* components with enumerations
@ 2012-03-27  2:07 Alan Bowen
  2012-03-27  7:36 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Bowen @ 2012-03-27  2:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 694 bytes --]

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?

Alan

[-- Attachment #1.2: Type: text/html, Size: 1133 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: components with enumerations
  2012-03-27  2:07 components with enumerations Alan Bowen
@ 2012-03-27  7:36 ` Wolfgang Schuster
  2012-03-28 12:17   ` Alan Bowen
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-03-27  7:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: components with enumerations
  2012-03-27  7:36 ` Wolfgang Schuster
@ 2012-03-28 12:17   ` Alan Bowen
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Bowen @ 2012-03-28 12:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1758 bytes --]

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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2625 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-28 12:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-27  2:07 components with enumerations Alan Bowen
2012-03-27  7:36 ` Wolfgang Schuster
2012-03-28 12:17   ` Alan Bowen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).