I'd like to incorporate links to folders and executables on an installation CD from my PDF. Can I do this with the hyperref package? Can't seem to find it in the manual.
Thanks!
Text Formatting ⇒ hyperref package and links to executables?
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Posts: 9
- Joined: Sat Feb 13, 2010 3:37 pm
Re: hyperref package and links to executables?
As long as I know, you can use hyperref to link to everything. So, I think it is possible to link to executables.
Why don't you try linking to a executable and tell us if it worked?
Why don't you try linking to a executable and tell us if it worked?
Re: hyperref package and links to executables?
gawd that was too easy, it works. just use \href{path to your file}{description}
works, oh and don't forget to use / instead of \ in the filepaths (as I did of course
Thank you for the suggestion!
works, oh and don't forget to use / instead of \ in the filepaths (as I did of course

Thank you for the suggestion!
Re: hyperref package and links to executables?
there's one little thing left:
when I enter only a relative path I get an error. Is there a command that will
return the absolute path of the current file location.
I need it because it will be on portable media, and hence drive letters might change.
when I enter only a relative path I get an error. Is there a command that will
return the absolute path of the current file location.
I need it because it will be on portable media, and hence drive letters might change.
Re: hyperref package and links to executables?
Did you try putting ./your/path
On most systems ./ means current directory.
Else it will be quite difficult, methinks.
On most systems ./ means current directory.
Else it will be quite difficult, methinks.