[Tex/LaTex] reference amsthm theorem with item list inside


Here is my minimum example. Click from right to left 2-1-1 and notice that it jumps correctly to item 2 then item 1. But then it doesn't jump to remark 1, but instead to the entire first page, as it does when an invalid link is specified. Why is this? It must have to do with amsthm, because when I remove that, it works. But I don't want to remove it since in the real file its predefined styles are used.

\item \label{rmk:1a}this is a.
\item \label{rmk:1b}this is b.

Best Answer

Apparently I only got the order wrong. Once I include amsthm after hyperref all is fine. I thought I once read somewhere always to include hyperref last. Guess that's just not true any more.

Related Question