[texhax] \href to a file

Ardia David david.ardia at unifr.ch
Tue Oct 16 18:14:21 CEST 2007


Dear all,
 
I am using the hyperref package in my document, and want to open a (.pdf)
document located in my desktop instead of a web URL address. 
 
I can write : \url{file:///C:/myfile.pdf} and it works. However, I would
like to use the command \href{my link}{my text} for my purposes (this is
nicer). In this case, the command does not activate the link (it doesn't
recognize the extension of the file). How can I achieve that ?
 
Thanks for your help,
 
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20071016/a4e8f358/attachment.html 


More information about the texhax mailing list