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.

Problem Statement. 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?

share|improve this question
    
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? –  Seamus Sep 17 '10 at 11:36
1  
Similar 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. Navarro Sep 17 '10 at 11:40
    
Also have a look at this question. –  Caramdir Sep 17 '10 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 Feldmann Sep 19 '10 at 7:05
add comment

2 Answers

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.

share|improve this answer
add comment

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}
share|improve this answer
    
Thanx - that´s it! –  Rainer Feldmann Sep 20 '10 at 16:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.