Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Does hyperref work between two files?

I want to make a link in LaTeX to a PDF file on my local network drive, i.e. when you click on it then Adobe Reader should open and show the file. What I tried is the following:

\documentclass{article}
\usepackage{hyperref}
\begin{document}
\url{run:d:/my folder/test.pdf}
\end{document}

Does anyone have any suggestions?

share|improve this question

marked as duplicate by lockstep, diabonas, Stefan Kottwitz Mar 4 '12 at 1:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
tex.stackexchange.com/a/41605 –  Stephen Mar 2 '12 at 11:27

1 Answer 1

Use \href{run:d:/my folder/test.pdf}{<link text>} instead of \url{...}:

\documentclass{article}
\usepackage{hyperref}
\begin{document}
\href{run:d:/my folder/test.pdf}{This is my link}
\end{document}

This works fine with Adobe Reader X (Windows).

share|improve this answer
2  
Is it possible to go to a certain page, just like the internal links? –  LoveRight May 4 '13 at 8:04
    
This syntax works at best not only with pdfs but also with other files extensions (e.g. Matlab figure files, etc.). –  MattAllegro Aug 31 at 21:05
    
took me a while to make this work; finally noticed that a leading "/" on the file path seems to be not allowed. That is, I was using something like \href{run:/d:/...} and that was not working. –  zkurtz Oct 29 at 14:44

Not the answer you're looking for? Browse other questions tagged or ask your own question.