Disclaimer: I’m not a Windows user and then not a regular SumatraPDF user.
Hi,
in this PDF file, the hyperlink is supposed to open the foo.tex
target file with the default TeX editor of the OS (both the PDF file and foo.tex
being in the same directory).
This works like a charm with e.g. Evince on Linux but not with SumatraPDFwhich displays the error “File C:\Users\denis\Documents\file:\foo.tex not found”.
It would be nice if SumatraPDF could be improved in this respect.
BTW, the PDF file has been generated from the following LaTeX file (compiled e.g. with pdflatex
):
\begin{filecontents}[overwrite]{foo.tex}
\documentclass{article}
\begin{document}
I am the \texttt{foo.tex} file.
\end{document}
\end{filecontents}
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\href{run:foo.tex}{Open the \texttt{foo.tex} file in the default \TeX{} editor.}
\end{document}
Thanks.