[OS X TeX] hyperref ,skim and link to a pdf file

Alain Matthes alain.matthes at mac.com
Thu Mar 10 02:20:40 EST 2011


Hello

Well I agree that relative paths are better and it's possible to write :

\href{run: Newton.pdf}{Newton.pdf relative path} 
\href{run: Einstein.png}{Einstein.png relative path}

But with  absolute path, Skim does not work and Preview shows only the pdf with the relative path

\documentclass{scrartcl}
\usepackage{graphicx}
\usepackage{hyperref}
\begin{document}
\href{file:///Users/ego/Desktop/Newton.pdf}{Newton.pdf absolute path}  % problem
\href{file:///Users/ego/Desktop/Einstein.png}{Einstein.png absolute path} % fine
\end{document} 


Adobe reader works well and the two links are fine, only the png works in Skim.
Christiaan Hofman (Skim's author) says it's a TeX problem, is it sure ?
First I would like to know if the problem is the same on Linux?

Alain Matthes



More information about the MacOSX-TeX mailing list