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? Another point, just for the sake of completeness: the example in my previous post yesterday, in ntg-context Digest, Vol 130, Issue 51, contains a small error, or rather an omission. Not damaging for the example. Corrected in the book. Best regards, Robert Blackstone
On Thu, 16 Apr 2015 09:50:23 +0200
Robert Blackstone
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
participants (2)
-
Alan BRASLAU
-
Robert Blackstone