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")
2 %% hyperref setup -- special version for Isabelle documentation
8 \definecolor{linkcolor}{rgb}{0,0,0}
9 \usepackage[colorlinks=true,linkcolor=linkcolor,citecolor=linkcolor,filecolor=linkcolor,pagecolor=linkcolor,urlcolor=linkcolor,pdfpagelabels]{hyperref}
11 \newcommand{\hfootref}[2]{\href{#1}{#2}\footnote{\url{#1}}}
12 \gdef\fnote#1{\hyperpage{#1}n}
13 \gdef\bold#1{\textbf{\hyperpage{#1}}}
17 \ifpdf\relax\else\renewcommand{\url}[1]{\nolinkurl{#1}}\fi