I attempted to use makeidx.sty in my beamer project.
The first two compilation using latex, the input file can be processed successfully.
Then I execute makeindex, it also run without error.
But when I call latex.exe again, I got an error message saying
!LaTeX Error: Environment theindex undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
1.1 \begin{\theindex}
\documentclass{beamer}
\usepackage{makeidx}
\makeindex
\begin{document}
\begin{frame}{test 1}
\index{Laplace}Laplace transform is...
\LaTeXe\ can make you happy!
\end{frame}
\begin{frame}{test 2}
\printindex
\end{frame}
\end{document}
Best Answer
You will have to define theindex and the commands used in the theindex-environment. Look e.g. in article.cls for ideas (you shouldn't copy it verbatim, for presentations you need a different look).