ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: Robert Blackstone <blackstone.robert@gmail.com>
Cc: ntg-context@ntg.nl
Subject: Re: Index items
Date: Thu, 16 Apr 2015 12:48:42 +0200	[thread overview]
Message-ID: <20150416124842.734ba1fe@iram-ha-003587.extra.cea.fr> (raw)
In-Reply-To: <FED63391-898B-4579-87F9-A6F2DCC89442@gmail.com>

On Thu, 16 Apr 2015 09:50:23 +0200
Robert Blackstone <blackstone.robert@gmail.com> wrote:

> Hi,
> Same subject as in my previous post but a new question:
> On the ConTeXt wiki-page Command\index one finds:
> 
> \index[...][...][…]
> […] text
> […] text
> […] text
> 
> What is the first argument for? Could it somehow be used to provide a
> key?

The key is used allow proper alphabetization of the entries,
also for alternate formatting of some entries.
I do not know about three (or two) argument variants.

\index{entry}
\index[key]{entry}
\index[form::]{entry}
\index[form::key]{entry}
\index{form::entry}
\index[key]{form::entry}
\index[form::]{form::entry}
\index[form::key]{form::entry}

(p.176 of The Manual)


-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS URA 2464
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.braslau@cea.fr
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2015-04-16 10:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-16  7:50 Robert Blackstone
2015-04-16 10:48 ` Alan BRASLAU [this message]
     [not found] <mailman.128.1429191487.8971.ntg-context@ntg.nl>
2015-04-16 18:08 ` Robert Blackstone
     [not found] <mailman.120.1429120262.8971.ntg-context@ntg.nl>
2015-04-15 21:41 ` Robert Blackstone
2015-04-16 13:37   ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2015-04-14 11:48 Robert Blackstone
2015-04-14 16:50 ` Hans Hagen
2015-04-15 16:58   ` Alan BRASLAU

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=20150416124842.734ba1fe@iram-ha-003587.extra.cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=blackstone.robert@gmail.com \
    --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).