I am writing a presentation using beamer
with links to files on my harddrive. Everything works fine with files in PDF format. But: links to *.txt
open the browser -- and that's it. What am I'm missing?
-
What would you rather they open in? A text editor? Why do you want to have links to text files rather than just have the text inside your frames?– SeamusSep 17, 2010 at 11:36
-
1Similar issues have be discussed for example in this other question. Basically, it is up to the pdf viewer to decide what to do when you click on a link.– Juan A. NavarroSep 17, 2010 at 11:40
-
Also have a look at this question.– CaramdirSep 17, 2010 at 14:44
-
Best solution: I want the files to open in a text-editor (I'm using TINN for R). But if the files open in Firefox would be a very good solution. Rainer– Rainer FeldmannSep 19, 2010 at 7:05
Add a comment
|
2 Answers
This works for me. The log-file is opened (after a confirmation dialog from acrobat) in winedt, the editor set-up to open log-files. The log-file is in the same folder as the pdf.
\documentclass{article}
\usepackage{hyperref}
\begin{document}
abc\href{run:test-ansinew.log}{log-file}
\end{document}
-
Thanx - that´s it!– Rainer FeldmannSep 20, 2010 at 16:38
I think it's fairly clear that there's nothing that hyperref can do about this. Entirely up to the PDF viewer. I'm just answering here to attempt to move this question from the "Unanswered" list.