src/Doc/pdfsetup.sty
author blanchet
Mon Dec 17 22:06:28 2012 +0100 (2012-12-17)
changeset 50583 681edd111e9b
parent 49320 94bd2fb83d11
child 64401 7c780152985b
permissions -rw-r--r--
really honor pattern depth, and use 2 by default
wenzelm@17698
     1
%%
wenzelm@26919
     2
%% hyperref setup -- special version for Isabelle documentation
wenzelm@17698
     3
%%
wenzelm@17698
     4
wenzelm@30871
     5
\usepackage{ifpdf}
wenzelm@17725
     6
wenzelm@26899
     7
\usepackage{color}
wenzelm@26904
     8
\definecolor{linkcolor}{rgb}{0,0,0}
wenzelm@26918
     9
\usepackage[colorlinks=true,linkcolor=linkcolor,citecolor=linkcolor,filecolor=linkcolor,pagecolor=linkcolor,urlcolor=linkcolor,pdfpagelabels]{hyperref}
wenzelm@26899
    10
wenzelm@26899
    11
\newcommand{\hfootref}[2]{\href{#1}{#2}\footnote{\url{#1}}}
wenzelm@26899
    12
\gdef\fnote#1{\hyperpage{#1}n}
wenzelm@26899
    13
\gdef\bold#1{\textbf{\hyperpage{#1}}}
wenzelm@8891
    14
wenzelm@8891
    15
\urlstyle{rm}
wenzelm@30873
    16
\ifpdf\relax\else\renewcommand{\url}[1]{\nolinkurl{#1}}\fi
wenzelm@40402
    17