borderhyperreftufte

The sample book of tufte-latex gives no colored border around links when compiled with \hypersetup{colorlinks=false}. I checked that this is not a problem of the PDF viewer, so is unrelated to the other question. How to enable colored borders around links when using tufte-latex?

tufte-common.def sets

\hypersetup{%
pdfborder = {0 0 0},
bookmarksdepth = section,
citecolor = DarkGreen,
urlcolor = DarkGreen,
}%


when hyperref is loaded.

So in order to get the borders back, we can just restore the default

\hypersetup{pdfborder = {0 0 1}}


MWE

\documentclass[nobib]{tufte-book}
\hypersetup{pdfborder = {0 0 1}}
\begin{document}
\url{http://www.example.com}
\end{document}