src/Doc/pdfsetup.sty
author blanchet
Tue Nov 07 15:16:42 2017 +0100 (19 months ago)
changeset 67022 49309fe530fd
parent 64401 7c780152985b
permissions -rw-r--r--
more robust parsing for THF proofs (esp. polymorphic Leo-III proofs)
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@64401
     9
\usepackage[colorlinks=true,linkcolor=linkcolor,citecolor=linkcolor,filecolor=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