On 23-3-2012 11:57, Malte Stien wrote:
s it possible to format indexed words in a particular style within the text 
more or less automatically. For example, if I write

   There are some \index[ducks] in the zoo.

....I would like the term "ducks" to appear in small-capitals to indicate the 
that term can be found in the index. Ideally, I'd like to do that without explicit manual 
formatting. Is that possible?

in the test suite: registers/processors-001.tex

\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

so the magic word is 'processors'

-----------------------------------------------------------------
                                          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