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;
     1 %%
     2 %% $Id$
     3 %%
     4 %% smart url or hyperref setup
     5 %%
     6 
     7 \RequirePackage{ifpdf}
     8 \ifpdf
     9   \usepackage{color}\definecolor{darkblue}{rgb}{0,0,0.5}
    10   \usepackage[pdftex,a4paper,colorlinks=true,linkcolor=darkblue,citecolor=darkblue,filecolor=darkblue,pagecolor=darkblue,urlcolor=darkblue]{hyperref}
    11   \IfFileExists{thumbpdf.sty}{\usepackage{thumbpdf}}{}
    12 \else
    13   \usepackage{url}
    14 \fi