ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: components with enumerations
Date: Tue, 27 Mar 2012 09:36:49 +0200	[thread overview]
Message-ID: <B75BF844-A991-4AF7-A487-BD5098DB0E71@googlemail.com> (raw)
In-Reply-To: <CAFMOkGVvt-vu2gYsWHOevZc5=_y1+SzTq_wU5kaYw1MhA8yAzw@mail.gmail.com>


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
___________________________________________________________________________________


  reply	other threads:[~2012-03-27  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-27  2:07 Alan Bowen
2012-03-27  7:36 ` Wolfgang Schuster [this message]
2012-03-28 12:17   ` Alan Bowen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B75BF844-A991-4AF7-A487-BD5098DB0E71@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).