[texhax] \href

Matthew Leingang leingang at math.harvard.edu
Mon Jan 21 16:20:53 CET 2008


Dear Sarah,

You can give local files or folders their own URLs by prepending the  
"file://" scheme declaration.  So a URL for my documents folder would  
be "file:///Users/matthew/Documents/" (on Mac OS X).  I don't know  
what it would be on Windows.

Something like this *should* be possible.

\href{file:///Users/matthew/Documents/}{my documents}

after including the hyperref package.  I tried this, but it didn't  
work. :-( (The link is clickable but nothing seems to happen.

I also tried the url package in addition to hyperref, and this did work:

\url{file:///Users/matthew/Documents/}

But then the URL appears on the page, which may not be what you want.

I'm sure others on the list can help further.

Yours,
Matthew Leingang

On Jan 21, 2008, at 9:31 AM, sarah yasseen wrote:

> Hi all,
> How can I hyperref a specific folder (ex: my documents) in my latex  
> slides.
>
> Thanks in advance
> Sarah
>
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  
> Try it now.
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/ 
> texhax
> Human mailing list managers: postmaster at tug.org

--
Matthew Leingang
Preceptor in Mathematics
Harvard University

http://www.math.harvard.edu/~leingang/vCard.vcf





More information about the texhax mailing list