Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LaTeX hyperref package: Opening a target PDF at a specific page

Tags:

Does anyone know if it is possible to employ the LaTeX hyperref package to open a target PDf at a specific page? I have tried using the \href{FILENAME#page=XX}{LINK_TEXT} command, where XX is the target page number, but no dice. The file iteself opens, but it always starts out at the first page. The idea being that I have a large index which is a separate document; each item in the index has a link to the target document along with the page number.

Perhaps I am using the wrong linking macro?

Any ideas?

like image 807
panagioti Avatar asked Mar 03 '10 20:03

panagioti


1 Answers

If all the documents are created using pdfLatex, you should be able to do what you want by:

\href{filename#page.xx}{link text}

Note the . instead of = after page.

like image 96
Alok Singhal Avatar answered Sep 28 '22 19:09

Alok Singhal