TransWikia.com

Use makeidx with hyperref in beamer

TeX - LaTeX Asked on December 10, 2020

I am making kind of lecture notes for online lectures using the beamer class (in the presentation mode).

I need to use index. Using the advice from Is it bug or feature? I cannot use makeidx in beamer, I managed how to use makeidx in beamer for my needs.

However, the page numbers in the index are not links (not clickable).

I know that the ‘standard’ way is to load makeidx before hyperref, but beamer loads hyperref by itself. I know about PassOptionsToPackage and PassOptionsToClass, but is it possible to ‘pass’ package (makeidx) to class (beamer) to be load ‘first’ (whatever this means…)?

UPDATE MWE:

documentclass{beamer}
usepackage{makeidx}
makeindex
newenvironment{theindex}
 {letitempar%
  letsubitempar%
  }{}
newcommandindexspace{}
begin{document}
index{A}{Index entry example A}
begin{equation}
    1+1=2 label{eq}
end{equation}

newpage

index{B}{Index entry example B}

Equation eqref{eq} reference is clickable (try!).

newpage

printindex
end{document}

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP