doc-src/pdfsetup.sty
author Walther Neuper <neuper@ist.tugraz.at>
Mon, 13 Sep 2010 18:12:15 +0200
branchisac-update-Isa09-2
changeset 38007 d679c1f837a7
parent 30873 105e887994d0
child 40681 b646316f8b3c
permissions -rw-r--r--
ref --> Unsynchronized.ref tuned.

there are differences in compiling via (1) Build_Isac.thy and via (2) ROOT.ML:
# (1) still accepts ref, while (2) requires Unsynchronized.ref
# (2) is more rigid in type checking (eg. "can't find a fixed record type")
     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,pagecolor=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 
    17 \ifpdf\relax\else\renewcommand{\url}[1]{\nolinkurl{#1}}\fi