author | wenzelm |
Sat, 08 Oct 2005 23:43:14 +0200 | |
changeset 17807 | cc5dbc24e561 |
parent 17725 | d3f55965bdbf |
child 18521 | ee14a65fe764 |
permissions | -rw-r--r-- |
17698
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
1 |
%% $Id$ |
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
2 |
%% |
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
3 |
%% smart url or hyperref setup -- special version for Isabelle documentation |
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
4 |
%% |
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
5 |
|
17725 | 6 |
\message{pdfsetup.sty v0.3 29/9/2005} |
7 |
||
8 |
\newif\ifpdfoutput |
|
9 |
\ifx\pdfoutput\undefined |
|
10 |
\else |
|
11 |
\ifx\pdfoutput\relax |
|
12 |
\else |
|
13 |
\ifcase\pdfoutput |
|
14 |
\else\pdfoutputtrue\fi |
|
15 |
\fi |
|
16 |
\fi |
|
17 |
||
18 |
\ifpdfoutput |
|
19 |
\message{PDF output} |
|
17698
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
20 |
\usepackage{color}\definecolor{darkblue}{rgb}{0,0,0.5} |
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
21 |
\usepackage[pdftex,colorlinks=true,linkcolor=darkblue,citecolor=darkblue,filecolor=darkblue,pagecolor=darkblue,urlcolor=darkblue]{hyperref} |
11413 | 22 |
%no a4paper because overall style sets this (not for Springer!) |
17698
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
23 |
\newcommand{\hfootref}[2]{\href{#1}{#2}\footnote{\url{#1}}} |
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
24 |
\gdef\fnote#1{\hyperpage{#1}n} |
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
25 |
\gdef\bold#1{\textbf{\hyperpage{#1}}} |
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
26 |
\else |
17725 | 27 |
\message{No PDF output} |
17698
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
28 |
\usepackage{../url} |
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
29 |
\newcommand{\hfootref}[2]{#2\footnote{\url{#1}}} |
e86cde1e5b12
more reliable check for PDF output using ifpdf.sty;
wenzelm
parents:
12636
diff
changeset
|
30 |
\fi |
8891 | 31 |
|
32 |
\urlstyle{rm} |