* Referencing Itemized Items?
@ 2008-04-30 14:15 Michael.Urban
2008-04-30 14:30 ` Wolfgang Schuster
2008-04-30 17:07 ` Aditya Mahajan
0 siblings, 2 replies; 6+ messages in thread
From: Michael.Urban @ 2008-04-30 14:15 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Referencing Itemized Items?
2008-04-30 14:15 Referencing Itemized Items? Michael.Urban
@ 2008-04-30 14:30 ` Wolfgang Schuster
2008-04-30 14:42 ` Michael P. Urban
2008-04-30 17:07 ` Aditya Mahajan
1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2008-04-30 14:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, Apr 30, 2008 at 4:15 PM, <Michael.Urban@jpl.nasa.gov> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Referencing Itemized Items?
2008-04-30 14:15 Referencing Itemized Items? Michael.Urban
2008-04-30 14:30 ` Wolfgang Schuster
@ 2008-04-30 17:07 ` Aditya Mahajan
2008-05-03 13:32 ` Sanjoy Mahajan
1 sibling, 1 reply; 6+ messages in thread
From: Aditya Mahajan @ 2008-04-30 17:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, 30 Apr 2008, Michael.Urban@jpl.nasa.gov 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Referencing Itemized Items?
2008-04-30 17:07 ` Aditya Mahajan
@ 2008-05-03 13:32 ` Sanjoy Mahajan
0 siblings, 0 replies; 6+ messages in thread
From: Sanjoy Mahajan @ 2008-05-03 13:32 UTC (permalink / raw)
To: mailing list for ConTeXt users
Aditya Mahajan <adityam@umich.edu> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-05-03 13:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-30 14:15 Referencing Itemized Items? Michael.Urban
2008-04-30 14:30 ` Wolfgang Schuster
2008-04-30 14:42 ` Michael P. Urban
2008-05-01 7:16 ` jsandblom
2008-04-30 17:07 ` Aditya Mahajan
2008-05-03 13:32 ` Sanjoy Mahajan
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).