ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@MIT.EDU>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Referencing Itemized Items?
Date: Sat, 03 May 2008 09:32:55 -0400	[thread overview]
Message-ID: <E1JsHrD-000271-W0@approx.mit.edu> (raw)
In-Reply-To: Your message of "Wed, 30 Apr 2008 13:07:46 EDT." <alpine.DEB.1.00.0804301306190.11283@nqv-yncgbc> (sfid-20080430_153604_764191_2B37061A)

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
___________________________________________________________________________________


      reply	other threads:[~2008-05-03 13:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30 14:15 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1JsHrD-000271-W0@approx.mit.edu \
    --to=sanjoy@mit.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).