src/Doc/pdfsetup.sty
author haftmann
Mon Feb 06 20:56:34 2017 +0100 (2017-02-06)
changeset 64990 c6a7de505796
parent 64401 7c780152985b
permissions -rw-r--r--
more explicit errors in pathological cases
     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