[texhax] expansion in makeindex
Uwe Lück
uwe.lueck at web.de
Sat May 27 01:35:10 CEST 2006
What about \protect\mathbb and \protect\Realsto within \index{...}?
HTH -- Uwe.
At 17:59 26.05.06, Zbigniew Nitecki wrote:
>I'm confused about the following kinds of phenomena with MakeIndex:
>
>1.When I have in my text file an entry
>\index{distance! in \mathbb{R}},
>it prints in the idx file as
>\indexentry{distance!in @\@mathbb {R}}{1}
>and then in the printed index prints as
>mathbb{R}
>
>2.What am I supposed to do to get it to print as a blackboard-bold
>R? Furthermore, what about
>user-defined macros (for example, I have one
>\Realsto[1]
>which expands as
>\ensuremath{\mathbb{R}^{#1}}
>---how can I use it in an index-generating command
>
>3.(for example, I have a macro
>\deffontcustom[2]
>which expands as
>\textbf{#1}\index{#2}
>---do I do something different when entering an entry involving a macro
>like the one above?
>
>Zbigniew Nitecki
>Department of Mathematics
>Tufts University
>Medford, MA 02155
>
>telephones:
>Office (617)627-3843
>Dept. (617)627-3234
>Dept. fax (617)627-3966
>
>
>_______________________________________________
>TeX FAQ: http://www.tex.ac.uk/faq
>Mailing list archives: http://tug.org/pipermail/texhax/
>More links: http://tug.org/begin.html
>
>Automated subscription management: http://tug.org/mailman/listinfo/texhax
>Human mailing list managers: postmaster at tug.org
More information about the texhax
mailing list