GeneralHyperref links to all other files except pdfs

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
alackofcolor
Posts: 6
Joined: Wed Jan 09, 2008 1:38 am

Hyperref links to all other files except pdfs

Post by alackofcolor »

I'm trying to insert a link that when clicked will open another pdf file. I'm using the MacTex 2007 installation and TexShop that outputs a pdf file when typeset. I included the \usepackage{hyperref} command in the beginning of the document and the following type of command to reference the file

\href{file:/pathtofilefolder/file.pdf}{Caption}

The problem is, when clicking the link in the outputted pdf file, nothing happens. There is a box around the link to indicate it's there, but it never opens when the link is to a pdf document. I've linked to other document types, .psd, .eps, .png, etc and when the link is clicked, the documents open up fine. Any ideas?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply