author | wenzelm |
Mon, 08 Oct 2007 18:13:07 +0200 | |
changeset 24908 | c74ad8782eeb |
parent 17725 | d3f55965bdbf |
child 26909 | f42d638c5f07 |
permissions | -rw-r--r-- |
7736 | 1 |
%% |
17531 | 2 |
%% $Id$ |
7736 | 3 |
%% |
11570 | 4 |
%% smart url or hyperref setup |
7736 | 5 |
%% |
6 |
||
17725 | 7 |
\newif\ifpdfoutput |
8 |
\ifx\pdfoutput\undefined |
|
9 |
\else |
|
10 |
\ifx\pdfoutput\relax |
|
11 |
\else |
|
12 |
\ifcase\pdfoutput |
|
13 |
\else\pdfoutputtrue\fi |
|
14 |
\fi |
|
15 |
\fi |
|
16 |
||
17 |
\ifpdfoutput |
|
18 |
\message{PDF output} |
|
17698
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
17531
diff
changeset
|
19 |
\usepackage{color}\definecolor{darkblue}{rgb}{0,0,0.5} |
11570 | 20 |
\usepackage[pdftex,a4paper,colorlinks=true,linkcolor=darkblue,citecolor=darkblue,filecolor=darkblue,pagecolor=darkblue,urlcolor=darkblue]{hyperref} |
17698
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
17531
diff
changeset
|
21 |
\IfFileExists{thumbpdf.sty}{\usepackage{thumbpdf}}{} |
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
17531
diff
changeset
|
22 |
\else |
17725 | 23 |
\message{No PDF output} |
17698
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
17531
diff
changeset
|
24 |
\usepackage{url} |
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
17531
diff
changeset
|
25 |
\fi |