我该如何处理\printindex
可点击的链接?
\documentclass[mathserif,12pt,aspectratio=169]{beamer}
\newenvironment{theindex}{}{}
\usepackage{imakeidx}
\makeatletter
\def\@idxitem{\par}
\def\imki@firstpagestyle{empty}
\makeatother
\makeindex
\begin{document}
\begin{frame}
\index{task}
\end{frame}
\begin{frame}
\printindex
\end{frame}
\end{document}