If I have a section like so
\section{Section 1}
then in the ToC, so long as I use the hyperref package, it is linked to that particular section. However, if I use an href tag as the section name,like so
\section{\href{http://www.google.com}{Section 1}}
In the ToC it goes directly to google.com (not what I want) instead of Section 1 (what I want). Is there any way to have it such that when I click on the Section title, it goes to the link, but when I click on the section in the ToC it goes to the Section (and not the link)?
Minimal example
\documentclass{article}
\usepackage{hyperref}
\usepackage{xspace}
\hypersetup{colorlinks=true,
linkcolor=[rgb]{0.192157,0.309804,0.309804},
urlcolor=cyan,
citecolor=blue}
\newcommand{\latex}{\LaTeX\xspace}
\begin{document}
\title{Minimal \latex\ Example}
\date{}
\vspace{65 mm}
\author{Julius Caesar}
\maketitle
\clearpage
\tableofcontents
\clearpage
\section{Section 1}
\label{sec:one}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
\section{\href{http://www.google.com}{Section 2}}
\label{sec:two}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
\end{document}

bookclass? – Qrrbrbirlbel Apr 25 '13 at 00:05