doc-src/pdfsetup.sty
author huffman
Thu Apr 19 10:49:47 2012 +0200 (2012-04-19)
changeset 47579 28f6f4ad69bf
parent 41518 bcacc58902fa
permissions -rw-r--r--
tuned lemmas (v)image_id;
removed duplicate of vimage_id
     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 \ifpdf\relax\else\renewcommand{\url}[1]{\nolinkurl{#1}}\fi
    17 
    18 \def\isaliteral#1#2{#2}
    19 \def\isanil{}
    20 
    21 %experimental treatment of replacement text
    22 \iffalse
    23 \ifnum\pdfminorversion<5\pdfminorversion=5\fi
    24 \renewcommand{\isaliteral}[2]{%
    25 \pdfliteral direct{/Span <</ActualText<#1>>> BDC}#2\pdfliteral direct{EMC}}
    26 \renewcommand{\isanil}{{\color{white}.}}
    27 \fi