GeneralPermission for Hyperlink to PDF File

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
nikolapoljak
Posts: 9
Joined: Sun Feb 26, 2012 3:03 pm

Permission for Hyperlink to PDF File

Post by nikolapoljak »

I am using the hyperref package to link to outside PDF files from my file. Here is a minimal example.

Code: Select all

\documentclass[10pt,a4paper]{article}
\usepackage[english]{babel}
\usepackage{hyperref}

\begin{document}
  This is a test link. \href{Supertabular.pdf}{testLink}
\end{document}
In the output, when clicking on the link in the PDF I get the message.
The file “supertabular.pdf” couldn’t be opened because you don’t have permission to view it.
But I do have permissions (set to 777 on this particular file). Further, if the file is already open, then clicking the link in my output correctly switches to the right file (in this case "supertabular.pdf"). Seems that it can see it, it can switch to it, but it can not open it. Tried it with other files as well, still won't work. It is kind of a mistery to me, driving me crazy. Couldn't find any mention of this kind of a problem online. The compilation output is attached.

I work on OS X with MacTeX, my PDF viewer is Preview. I repaired the disk permissions just in case that might be an issue. Please help, thanks!
Attachments
Untitled.log
(10.03 KiB) Downloaded 378 times

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply