lib/texinputs/pdfsetup.sty
author wenzelm
Tue, 21 Nov 2006 18:07:33 +0100
changeset 21437 a3c55b85cf0e
parent 17725 d3f55965bdbf
child 26909 f42d638c5f07
permissions -rw-r--r--
moved theorem kinds from PureThy to Thm;

%%
%% $Id$
%%
%% 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