Am 28.07.2014 um 17:06 schrieb Gerben Wierda <gerben.wie...@rna.nl>:

> On 25 Jul 2014, at 19:55, Wolfgang Schuster <schuster.wolfg...@gmail.com> 
> wrote:
> 
>> 
>> Am 25.07.2014 um 18:53 schrieb Gerben Wierda <gerben.wie...@rna.nl>:
>> 
>>> Here is something simple that cannot be found in the manual (at least not 
>>> by me). How do I create a list that is numbered like this:
>>> 
>>> Step 1: foo foo foo foo foo foo foo foo foo
>>>     foo foo foo foo foo
>>> Step 2: bar bar bar bar bar bar bar bar bar
>>>     bar bar bar bar bar
>>> 
>>> etc. (Indenting each item after the first line of course)
>> 
>> \defineenumeration[Step][alternative=hanging,width=fit,stopper=:]
>> 
>> \starttext
>> 
>> \Step \input ward
>> 
>> \Step \input weisman
>> 
>> \stoptext
> 
> Doesn’t work. I’ve added the \defineenumeration to my environment file and do
> 
> \startitemize[packed,joinedup]
> \Step A
> \Step B
> \Step C
> \stopitemize

A enumeration *isn’t* the same as a item group. When you use \Step command you 
have to delimit
the entry with a \par command or a empty line (or use the \startStep and 
\stopStep commands).

\defineenumeration[Step][alternative=hanging,width=fit,stopper=:]

\starttext

\startpacked
\Step A\par
\Step B\par
\stoppacked

\blank

\startpacked
\startStep C\stopStep
\startStep D\stopStep
\stoppacked

\stoptext

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 via email to