lib/texinputs/pdfsetup.sty
author wenzelm
Wed Sep 28 15:13:02 2005 +0200 (2005-09-28)
changeset 17698 e86cde1e5b12
parent 17531 0bc8ae586a7c
child 17725 d3f55965bdbf
permissions -rw-r--r--
more reliable check for PDF output using ifpdf.sty;
wenzelm@7736
     1
%%
wenzelm@17531
     2
%% $Id$
wenzelm@7736
     3
%%
wenzelm@11570
     4
%% smart url or hyperref setup
wenzelm@7736
     5
%%
wenzelm@7736
     6
wenzelm@17698
     7
\RequirePackage{ifpdf}
wenzelm@17698
     8
\ifpdf
wenzelm@17698
     9
  \usepackage{color}\definecolor{darkblue}{rgb}{0,0,0.5}
wenzelm@11570
    10
  \usepackage[pdftex,a4paper,colorlinks=true,linkcolor=darkblue,citecolor=darkblue,filecolor=darkblue,pagecolor=darkblue,urlcolor=darkblue]{hyperref}
wenzelm@17698
    11
  \IfFileExists{thumbpdf.sty}{\usepackage{thumbpdf}}{}
wenzelm@17698
    12
\else
wenzelm@17698
    13
  \usepackage{url}
wenzelm@17698
    14
\fi