doc-src/IsarAdvanced/Codegen/Thy/document/pdfsetup.sty
author haftmann
Wed, 11 Oct 2006 08:57:47 +0200
changeset 20967 1df105407f87
permissions -rw-r--r--
added tex files to CVS

%%
%% 
%%
%% smart url or hyperref setup
%%

\newif\ifpdfoutput
\ifx\pdfoutput\undefined
\else
  \ifx\pdfoutput\relax
  \else
    \ifcase\pdfoutput
    \else\pdfoutputtrue\fi
  \fi
\fi

\ifpdfoutput
  \message{PDF output}
  \usepackage{color}\definecolor{darkblue}{rgb}{0,0,0.5}
  \usepackage[pdftex,a4paper,colorlinks=true,linkcolor=darkblue,citecolor=darkblue,filecolor=darkblue,pagecolor=darkblue,urlcolor=darkblue]{hyperref}
  \IfFileExists{thumbpdf.sty}{\usepackage{thumbpdf}}{}
\else
  \message{No PDF output}
  \usepackage{url}
\fi