Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How to make url in footnote clickable?

Currently I have:

\paragraph{Some text \protect\footnote{xyz available at \protect\url{https://someplace.org}}}

The footnote appears just fine but nothing happens when I click the url.

share|improve this question
3  
Welcome to TeX.SX! Have you added \usepackage{hyperref} to the preamble? –  Torbjørn T. Feb 12 at 14:10
    
Welcome to TeX.SX! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  Jubobs Feb 12 at 14:14
    
Thank you all for such quick replies! @TorbjørnT. was spot on, I thought I had the package but I didn't. I now have the blue boxes around the url in the pdf but if I open the pdf in a viewer it does not open a link in my browser. –  kotoko Feb 12 at 14:18
    
@Jubobs I thought it was such a small problem it wouldn't need one. I'll try and add one now. –  kotoko Feb 12 at 14:22
    
@kotoko It's pretty much always best to add an MWE in the question, because it indicates the context of your problem to people willing to help you. There may be several things preventing links in footnotes (loaded packages, macro redefinitions, etc.), but an MWE would tell us exactly what happens in your code before the snippet you posted. –  Jubobs Feb 12 at 14:24

1 Answer 1

up vote 1 down vote accepted

Use the package hyperref and call the url by \url{https://someplace.org}

\documentclass{report}

\usepackage{hyperref}

\begin{document}

The paragraph.\footnote{has a footnote with and url \url{https://someplace.org}.}

\end{document}
share|improve this answer
    
It my redirect problem mentioned earlier should with the system because this pdf does not redirect on click either. Are you able to open a tab on the browser when you click on the blue box? –  kotoko Feb 12 at 14:24
2  
@kotoko This may be a PDF-viewer-depedent issue. For instance, Mac OS X Preview doesn't follow hyperlinks in PDF, whereas Acrobat Reader would. –  Jubobs Feb 12 at 14:27
    
Yes, I believe it is. –  kotoko Feb 13 at 15:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.