I'm using hyperref in my latex document. In the references I have an URL, and the hyperref package creates a click able link automatically.
However, I need that that URL is not linked; but the rest of the document internal links should be.
I cannot find a way of just tell latex that avoid that one. For the references, I'm using a bib file.
I already try the \nolinkurl{ulr}
macro, but in the final pdf the link is created anyway.
You can add \hypersetup{nolinks=true} to get rid of all hyperlinks in your document.
Links to a web address or email can added to a LaTeX file using the \url command to display the actual link or \href to use a hidden link and show a word/sentence instead. There are two commands in the example that generate a link in the final document: \href{http://www.overleaf.com}{Something Linky}
Changing LaTeX Hyperlink Color Generally, default color is OK. However, if you wish to change the default settings of hyperlink color, you have to use \hypersetup command in your document preamble.
Are you sure that it is a problem with your pdf and not with the pdf viewer?
To test, I created this simple LaTeX document. In the built-in Chrome pdf viewer, all three urls are linked. In Adobe Reader, only the \url{} one is actually linked. Foxit also only creates a link for the explicit \url{} macro.
\documentclass{article}
\usepackage{hyperref}
\begin{document}
This one should link \url{http://www.google.com}
This one should explicitly not link \nolinkurl{http://www.google.com}
This one is absolutely plain text http://www.google.com
\end{document}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With