Добавляю pdf таким образом:
\includepdf[pages=-, link=true, linkname=testlink]{mypdf.pdf}
Но что-то не могу понять как на него сослаться. пробовал
\hyperref[testlink]{my text}
\hyperref[testlink]{my text}
\hyperref[testlink.1]{my text}
\hyperref[testlink.0]{my text}
\hyperref[testlink.-]{mytext}
link
Inserted pages become a target of a hyperlink. The name of the link is ‘ filename . page number ’. The filename extension of filename must not be stripped. Either ‘true’ or ‘false’ (or no value, which is equivalent to ‘true’). (Default: link=false)
linkname
Changes the default linkname created by the option link. Instead of filename the value of this option is used. E.g. linkname=mylink produces the linknames ‘mylink. page number ’.