Start an itemized list with a given number
![](https://secure.gravatar.com/avatar/5d0918d7847188efd923c91cf3cf1015.jpg?s=120&d=mm&r=g)
Hello everybody and thanks in advance for your advice, I’m unable to find in the documentation and in the wiki the way to start an itemized list with a number different from 1, for instance with 3. What I want to achieve is something like: Insert the key Try to turn the key If key is working 3. Open the door If key is not working 3. Change key 4. Goto step 1 So what is the way to start the list after « If key is not working » with the number 3 ? Eric Gerard
![](https://secure.gravatar.com/avatar/c71d406247737b77d06418ee19e71060.jpg?s=120&d=mm&r=g)
This seems to work:
\startitemize[n]
\item Insert the key
\item Try to turn the key
\stopitemize
If key is working
\startitemize[n,continue]
\item Open the door
\stopitemize
If key is not working
\setupitemize[start=3] %% <============
\startitemize[n]
\item Change key
\item Goto step 1
\stopitemize
Alan
On Tue, Dec 30, 2014 at 12:38 PM, Eric Gerard
Hello everybody and thanks in advance for your advice,
I’m unable to find in the documentation and in the wiki the way to start an itemized list with a number different from 1, for instance with 3.
What I want to achieve is something like:
1. Insert the key 2. Try to turn the key
*If key is working* 3. Open the door *If key is not working* 3. Change key 4. Goto step 1 So what is the way to start the list after « If key is not working » with the number 3 ?
Eric Gerard
___________________________________________________________________________________ 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
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Am 30.12.2014 um 18:38 schrieb Eric Gerard
: Hello everybody and thanks in advance for your advice,
I’m unable to find in the documentation and in the wiki the way to start an itemized list with a number different from 1, for instance with 3.
What I want to achieve is something like:
Insert the key Try to turn the key If key is working 3. Open the door If key is not working 3. Change key 4. Goto step 1 So what is the way to start the list after « If key is not working » with the number 3 ?
You increment the number from a previous item with the “continue” keyword and set a different value for the first item in a list with the “start” key. \starttext \startitemize[n,packed] \item Insert the key \item Try to turn the key \stopitemize If key is working \startitemize[n,packed,continue] \item Open the door \stopitemize If key is not working \startitemize[n,packed][start=3] \item Change key \item Goto step 1 \stopitemize \stoptext Wolfgang
participants (3)
-
Alan Bowen
-
Eric Gerard
-
Wolfgang Schuster