Re: [NTG-context] Referencing Itemized Items?

2008-05-03 Thread Sanjoy Mahajan
Aditya Mahajan [EMAIL PROTECTED] wrote:

 I usually prefer
 
   Note that \in Step[fire] is optional for experienced chefs.
 
 This way, if you enable interaction, Step 3 will become a link, rather 
 than just 3.

An example showing a third alternative.  This alternative is useful 
if you use that kind of reference a lot:


\definereferenceformat[instep][text=Step]

\starttext
You must do the following steps:
\startitemize[n]
  \item Buy the ingredients
  \item Cook the food
  \item [abc] Put out the fire
\stopitemize

Note that Step \in[abc] is optional for experienced chefs.

Note that \in Step[abc] is optional for experienced chefs.

Note that \instep[abc] is optional for experienced chefs.
\stoptext
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Referencing Itemized Items?

2008-05-01 Thread Michael P. Urban
Wow.  How embarrassing - I am usually the one who chides my users about
never actually trying simple experiments to see if something works.


___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Referencing Itemized Items?

2008-05-01 Thread jsandblom
2008/4/30, Michael P. Urban [EMAIL PROTECTED]:
 Wow.  How embarrassing - I am usually the one who chides my users about
 never actually trying simple experiments to see if something works.


 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___



-- 
Johan Sandblom, MD PhD
m +46735521477  Sweden
What is wanted is not the will to believe, but the
will to find out, which is the exact opposite
- Bertrand Russell
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Referencing Itemized Items?

2008-04-30 Thread Michael . Urban
Is there some way to set up a reference tag so that I can refer to a
particular item in a list, e.g., something vaguely like:

 You must do the following steps:
 \startitemize[n]
   \item Buy the ingredients
   \item Cook the food
   \item [??] Put out the fire
 \stopitemize
 Note that Step \in[?] is optional for experienced chefs.
   
It looks like there are mechanisms to support this in the tex code,
but I don't know how to use them.

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Referencing Itemized Items?

2008-04-30 Thread Wolfgang Schuster
On Wed, Apr 30, 2008 at 4:15 PM,  [EMAIL PROTECTED] wrote:
 Is there some way to set up a reference tag so that I can refer to a
 particular item in a list, e.g., something vaguely like:

\starttext

  You must do the following steps:
  \startitemize[n]
   \item Buy the ingredients
   \item Cook the food
   \item [??] Put out the fire

\item [fire] Put out the fire

  \stopitemize
  Note that Step \in[?] is optional for experienced chefs.

Note that Step \in[fire] is optional for experienced chefs.

\stoptext

 It looks like there are mechanisms to support this in the tex code,
 but I don't know how to use them.

;-)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Referencing Itemized Items?

2008-04-30 Thread Aditya Mahajan
On Wed, 30 Apr 2008, [EMAIL PROTECTED] wrote:

 Is there some way to set up a reference tag so that I can refer to a
 particular item in a list, e.g., something vaguely like:

 You must do the following steps:
 \startitemize[n]
   \item Buy the ingredients
   \item Cook the food
   \item [??] Put out the fire
 \stopitemize
 Note that Step \in[?] is optional for experienced chefs.

Wolfgang has already answered your question. A suggestion: I usually 
prefer

Note that \in Step[fire] is optional for experienced chefs.

This way, if you enable interaction, Step 3 will become a link, rather 
than just 3.

Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___