I am new to the hyperref package. When I am not using the colorlinks option, it works well. (Loading other options like pdfborder presents no problem.) But, once I load the colorlinks option, the result becomes extremely bewildering: no errors, no warnings, and no output! :-(
Here are two pieces of sample code (the simplest ones):
\documentclass{amsbook}
\usepackage[colorlinks]{hyperref}
\begin{document}
Hello, world!
\end{document}
\documentclass{amsbook}
\usepackage{hyperref}
\hypersetup{
colorlinks,%
citecolor=black,%
filecolor=black,%
linkcolor=black,%
urlcolor=black
}
\begin{document}
Hello, world!
\end{document}
The result: 0 error(s), 0 warning(s), 0 Bad Boxes(s), 0 page(s) (I don't know how to copy and paste the console output. Anyone knows how to do that?)
What's wrong with colorlinks?
Problem solved: As what @Ulrike commented, it was TeXnicCenter blocking the on-the-fly installation of color package. I switched to TeXworks, then the package is automatically installed. Now the output is fine.
hyperrefdo you use?hyperrefhas the optionallcolors. – Marco Daniel May 6 '12 at 12:36