Text Formattinghyperref package and links to executables?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

hyperref package and links to executables?

Post by Faust »

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!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

revberaldo
Posts: 9
Joined: Sat Feb 13, 2010 3:37 pm

Re: hyperref package and links to executables?

Post by revberaldo »

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?
Blog (in Portuguese)
Twitter (almost completely in Portuguese, eventually in English or Esperanto)
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Re: hyperref package and links to executables?

Post by Faust »

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 :D

Thank you for the suggestion!
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Re: hyperref package and links to executables?

Post by Faust »

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.
jocom
Posts: 25
Joined: Fri May 07, 2010 4:28 pm

Re: hyperref package and links to executables?

Post by jocom »

Did you try putting ./your/path
On most systems ./ means current directory.
Else it will be quite difficult, methinks.
Post Reply