lib/texinputs/pdfsetup.sty
author wenzelm
Wed, 28 Sep 2005 15:13:02 +0200
changeset 17698 e86cde1e5b12
parent 17531 0bc8ae586a7c
child 17725 d3f55965bdbf
permissions -rw-r--r--
more reliable check for PDF output using ifpdf.sty;

%%
%% $Id$
%%
%% smart url or hyperref setup
%%

\RequirePackage{ifpdf}
\ifpdf
  \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
  \usepackage{url}
\fi