On 6/7/2014 7:39 PM, Sanjoy Mahajan wrote:
In MkII, one could configure the index to have different types of page
entries, e.g. roman and italic, by using \setupregister, as in the
example at <http://wiki.contextgarden.net/Command/setupregister>.  That
doesn't work with a fairly recent MkIV (2014.05.17 beta).

I see that it's a long-standing feature request:

<http://www.mail-archive.com/ntg-context%40ntg.nl/msg67495.html>

So, it is probably not on the short-term feature list.  But, if it is on
the list, please let me know, as I'll keep using it for my textbook!

hm, it's already an old (mkiv) feature

Otherwise, I'll just make all the page entries the same style.  The
perfect is the enemy of the good, especially after 19 years...

(Right now with 2014.05.17 beta, using the feature, say as
\index[definition::]{commutativity}commutativity, gives an entry
alphabetized according to the "definition::" key.)

we have a better and mnore powerful mechanism now

\defineprocessor[bf][style=bold]
\defineprocessor[it][style=italic]

\starttext

    \index{it->italic}\index{normal}
    This is a \index[bf->bold]{test with bold number}test.
    This is a less important \index{test}test.

    \placeindex

\stoptext

(see test suite registers/processors*)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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 via email to