src/Doc/pdfsetup.sty
author wenzelm
Sun, 03 Nov 2019 18:53:48 +0100
changeset 71014 58022ee70b35
parent 64401 7c780152985b
permissions -rw-r--r--
more operations;

%%
%% hyperref setup -- special version for Isabelle documentation
%%

\usepackage{ifpdf}

\usepackage{color}
\definecolor{linkcolor}{rgb}{0,0,0}
\usepackage[colorlinks=true,linkcolor=linkcolor,citecolor=linkcolor,filecolor=linkcolor,urlcolor=linkcolor,pdfpagelabels]{hyperref}

\newcommand{\hfootref}[2]{\href{#1}{#2}\footnote{\url{#1}}}
\gdef\fnote#1{\hyperpage{#1}n}
\gdef\bold#1{\textbf{\hyperpage{#1}}}

\urlstyle{rm}
\ifpdf\relax\else\renewcommand{\url}[1]{\nolinkurl{#1}}\fi