I'm using PDFLaTeX and the hyperref package. My problem is that I've added something to the contents line manually, which shows up fine, but the hyperlink in the contents does not go to it, instead it just points to the contents page. The environment with the contents line looks like this:
Code: Select all
\newenvironment{role}
{\addcontentsline{toc}{chapter}{Role of the Author} \pagestyle{empty}
\begin{alwayssingle}
\begin{center}
\vspace*{1.5cm}
{\Large \bfseries Role of the Author}
\end{center}
\vspace{0.5cm}
\begin{quote}}
{\end{quote}\end{alwayssingle}}
Anyone know what I may be doing wrong, or if there is a way around this?