Re: [NTG-context] Start an itemized list with a given number

2015-01-02 Thread Eric Gerard
Vielen dank für die Antwort und Ich wünsche Ihnen ein glückliches neues jahr.
Thanks for the answer, it works perfectly . Happy new year to every people in 
the list

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
___

[NTG-context] Start an itemized list with a given number

2014-12-30 Thread 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 ?

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
___

Re: [NTG-context] Start an itemized list with a given number

2014-12-30 Thread Alan Bowen
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 eric.b.ger...@gmail.com
wrote:

 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

 ___

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

Re: [NTG-context] Start an itemized list with a given number

2014-12-30 Thread Wolfgang Schuster

 Am 30.12.2014 um 18:38 schrieb Eric Gerard eric.b.ger...@gmail.com:
 
 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___
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
___