I am compiling a legal brief written in LaTex codes using Christopher De Coro's LawTex macro package, which is still available for downloading at https://sourceforge.net/projects/lawtex ... eForge.net
When I turned off hyperindex under hyperref off i.e. hyperindex=false, the index i.e. table of authorities in the legal brief is generated but with non-clickable page number under the index. No error. PDF output: Table of Contents with clickable page number but Table of Authorities with non-clickable ones.
However when I turned on hyperindex i.e. hyperindex=true, error message: undefined control sequence \hyperpage. No index is generated.
According to page 53 of Hyperref Manual 2024-11-05 v7.01l, the suppressing or disabling of \hyperpage might be the source of the above error. It even suggested a patch:
\usepackage{makeidx}
\makeindex
\usepackage[hyperindex]{hyperref}
\newcommand*{\main}[1]{\textbf{\hyperpage{#1}}}
...
\index{Some example|main}
I tried the patch by putting inside the class file and inside the MWE file without any success. Of course the LawTex's class file uses multind pacakge instead of makeidx package. But while trying the above patch, I did not get undefined command error.
- Does anyone know how to make this patch work with multind package?
- Does anyone know how to make the index clickable by using an alternative approach to the above patch i.e. turning off hyperindex {hyperindex=false}