I have a little problem with MakeIndex.
I defined:
Code: Select all
\newcommand*{\figidx}[1]{{\color{red}\hyperpage{#1}}}
\definecolor{darkgreen}{rgb}{0.0,0.6,0.0}
\newcommand*{\tabidx}[1]{{\color{darkgreen}\hyperpage{#1}}}
Something.....1,1
where one of the page numbers is green. However _SOMETIMES_ it gives me
Something.......1
Something.......1 <- this one is green
I have no clue why it makes two separate entries. It seems to happen often when the entry is like \index{Some text ($\GreekLetter$)|tabidx}, but sometimes even that is ok. With the figidx I _NEVER_ have this trouble.
(I put it in the table, but outside the tabular environment, although this doesn't seem to make a difference.)
Anyone any idea?
Kind regards
Jorg