讨论后我有这个问题。问题是 Mac Preview 的行为与 Adobe acrobat reader DC 不同。pdf 是用 pdflatex 编译的。这里是 MWE。
\documentclass{article}
\usepackage{hyperref}
\usepackage{xcolor}
\hypersetup{pdftitle={main.pdf},
colorlinks=false,
linkbordercolor=red
}
\begin{document}
\tableofcontents
\section{test}
\section{test2}
This is testing hyperref
\end{document}
预览和 Adobe acrobat 阅读器中的结果是
和
分别。这在我的编辑器(texstudio)的内部查看器中看起来也很好。
Que:为什么我在预览中看不到红色边界?