src/Doc/pdfsetup.sty
author wenzelm
Mon Mar 25 17:21:26 2019 +0100 (3 months ago)
changeset 69981 3dced198b9ec
parent 64401 7c780152985b
permissions -rw-r--r--
more strict AFP properties;
     1 %%
     2 %% hyperref setup -- special version for Isabelle documentation
     3 %%
     4 
     5 \usepackage{ifpdf}
     6 
     7 \usepackage{color}
     8 \definecolor{linkcolor}{rgb}{0,0,0}
     9 \usepackage[colorlinks=true,linkcolor=linkcolor,citecolor=linkcolor,filecolor=linkcolor,urlcolor=linkcolor,pdfpagelabels]{hyperref}
    10 
    11 \newcommand{\hfootref}[2]{\href{#1}{#2}\footnote{\url{#1}}}
    12 \gdef\fnote#1{\hyperpage{#1}n}
    13 \gdef\bold#1{\textbf{\hyperpage{#1}}}
    14 
    15 \urlstyle{rm}
    16 \ifpdf\relax\else\renewcommand{\url}[1]{\nolinkurl{#1}}\fi
    17