load color/hyperref unconditionally;
authorwenzelm
Thu, 15 May 2008 20:02:39 +0200
changeset 26909 f42d638c5f07
parent 26908 25fb7241f32e
child 26910 aa6357b39212
load color/hyperref unconditionally; renamed color darkblue to linkcolor (default value unchanged); removed obsolete thumbpdf;
lib/texinputs/pdfsetup.sty
--- a/lib/texinputs/pdfsetup.sty	Thu May 15 20:02:37 2008 +0200
+++ b/lib/texinputs/pdfsetup.sty	Thu May 15 20:02:39 2008 +0200
@@ -1,7 +1,7 @@
 %%
 %% $Id$
 %%
-%% smart url or hyperref setup
+%% default pdfoutput and hyperref setup
 %%
 
 \newif\ifpdfoutput
@@ -14,12 +14,7 @@
   \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
+\usepackage{color}
+\definecolor{linkcolor}{rgb}{0,0,0.5}
+
+\usepackage[a4paper,colorlinks=true,linkcolor=linkcolor,citecolor=linkcolor,filecolor=linkcolor,pagecolor=linkcolor,urlcolor=linkcolor]{hyperref}