How to Open a File from a Hyperlink | /en/2008/10/how-to-open-a-file-from-a-hyperlink/
How to Open a File from a Hyperlink
https://yihui.org/en/2008/10/how-to-open-a-file-from-a-hyperlink/
https://yihui.org/en/2008/10/how-to-open-a-file-from-a-hyperlink/
Guest *Ft* @ 2009-03-05 23:48:54 originally posted:
Thank you!!
Guest *gilberto* @ 2009-09-02 11:46:31 originally posted:
it didn't work for me!! 😢
At least it works for Windows and MikTeX (compile by pdflatex), e.g.
documentclass{article}
usepackage{hyperref}
begin{document}
href{run:c:/downloads/run.txt}{hi}
end{document}
Originally posted on 2009-09-02 23:05:11
Guest *gilberto* @ 2009-09-03 01:31:44 originally posted:
At the end I got it working on my Mac:
documentclass{article}
usepackage{hyperref}
begin{document}
href{run:./sameDirectoryAsMaster/run.txt}{hi}
end{document}
But the link only worked with AdobeAcrobat, not with Apple's Preview.
I see. Maybe the run protocol only works for Windows/Acrobat.
Originally posted on 2009-09-03 01:38:51
Guest *Peter* @ 2010-03-04 02:07:31 originally posted:
Can you get it to open at a specific page in the target document?
Sorry, I don't know.
Originally posted on 2010-03-04 02:38:10
Guest *Nivir* @ 2013-01-24 17:59:23 originally posted:
Is there any other alternative to make it work in mac and preview ? Thanks :)
I do no know, but you can see the comment by gilberto below.
Originally posted on 2013-01-24 20:52:55
Guest *Wagner* @ 2013-03-03 01:36:41 originally posted:
This do not work with .jar files.
Sign in to join the discussion
Sign in with GitHub