equal
deleted
inserted
replaced
1 %% |
1 %% |
2 %% $Id$ |
2 %% $Id$ |
3 %% |
3 %% |
4 %% smart url or hyperref setup |
4 %% default pdfoutput and hyperref setup |
5 %% |
5 %% |
6 |
6 |
7 \newif\ifpdfoutput |
7 \newif\ifpdfoutput |
8 \ifx\pdfoutput\undefined |
8 \ifx\pdfoutput\undefined |
9 \else |
9 \else |
12 \ifcase\pdfoutput |
12 \ifcase\pdfoutput |
13 \else\pdfoutputtrue\fi |
13 \else\pdfoutputtrue\fi |
14 \fi |
14 \fi |
15 \fi |
15 \fi |
16 |
16 |
17 \ifpdfoutput |
17 \usepackage{color} |
18 \message{PDF output} |
18 \definecolor{linkcolor}{rgb}{0,0,0.5} |
19 \usepackage{color}\definecolor{darkblue}{rgb}{0,0,0.5} |
19 |
20 \usepackage[pdftex,a4paper,colorlinks=true,linkcolor=darkblue,citecolor=darkblue,filecolor=darkblue,pagecolor=darkblue,urlcolor=darkblue]{hyperref} |
20 \usepackage[a4paper,colorlinks=true,linkcolor=linkcolor,citecolor=linkcolor,filecolor=linkcolor,pagecolor=linkcolor,urlcolor=linkcolor]{hyperref} |
21 \IfFileExists{thumbpdf.sty}{\usepackage{thumbpdf}}{} |
|
22 \else |
|
23 \message{No PDF output} |
|
24 \usepackage{url} |
|
25 \fi |
|