author | wenzelm |
Thu, 15 May 2008 17:37:18 +0200 | |
changeset 26899 | 29bb3d1de3bc |
parent 22734 | 790f73fa8b36 |
child 26904 | e90832d7196a |
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 |
||
26899
29bb3d1de3bc
hyperref is always enabled (also works with xdvi, dvips);
wenzelm
parents:
22734
diff
changeset
|
18 |
\usepackage{color} |
29bb3d1de3bc
hyperref is always enabled (also works with xdvi, dvips);
wenzelm
parents:
22734
diff
changeset
|
19 |
\definecolor{linkcolor}{rgb}{0,0,0.5} |
29bb3d1de3bc
hyperref is always enabled (also works with xdvi, dvips);
wenzelm
parents:
22734
diff
changeset
|
20 |
|
29bb3d1de3bc
hyperref is always enabled (also works with xdvi, dvips);
wenzelm
parents:
22734
diff
changeset
|
21 |
\usepackage[colorlinks=true,linkcolor=linkcolor,citecolor=linkcolor,filecolor=linkcolor,pagecolor=linkcolor,urlcolor=linkcolor,pdfpagelabels]{hyperref} |
29bb3d1de3bc
hyperref is always enabled (also works with xdvi, dvips);
wenzelm
parents:
22734
diff
changeset
|
22 |
\newcommand{\hfootref}[2]{\href{#1}{#2}\footnote{\url{#1}}} |
29bb3d1de3bc
hyperref is always enabled (also works with xdvi, dvips);
wenzelm
parents:
22734
diff
changeset
|
23 |
\gdef\fnote#1{\hyperpage{#1}n} |
29bb3d1de3bc
hyperref is always enabled (also works with xdvi, dvips);
wenzelm
parents:
22734
diff
changeset
|
24 |
\gdef\bold#1{\textbf{\hyperpage{#1}}} |
8891 | 25 |
|
26 |
\urlstyle{rm} |