On Friday, 23 Sep 2016 at 13:33, robin48gx wrote:
> Maybe make a counter and only increment it as required, and the display
> that counter in the footer ?
Very nice idea! Thanks for this. The problem still remains: how to get
\index to use that counter.
I seem to have found a slightly hacky way of getting \index to do what I
want. I have redefined it to
\makeatletter
\def\index#1{%
\protected@write\@indexfile{}%
{\string\indexentry{#1}{\@arabic\c@framenumber}}}
\makeatother
i.e. using c@framenumber which appears to be the counter I needed. I
had to understand the original code first which has some hacks to deal
with page numbers which I didn't quite understand...
Anyway, this appears to work well enough for my lecture slides although
I'm sure somebody will have a cleaner approach.
Thanks again,
eric
--
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)