diff options
author | Fred Drake <fdrake@acm.org> | 1998-02-18 14:24:19 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-02-18 14:24:19 (GMT) |
commit | 0c17d661e03fa71801456193a7f141798d933aad (patch) | |
tree | 688f85742323ffa59522371110afeb84bd520176 | |
parent | 1931c0c96156d44b3fa8717f54132e4835339403 (diff) | |
download | cpython-0c17d661e03fa71801456193a7f141798d933aad.zip cpython-0c17d661e03fa71801456193a7f141798d933aad.tar.gz cpython-0c17d661e03fa71801456193a7f141798d933aad.tar.bz2 |
\url{}: For pdflatex, make the link active & make it blue. If anyone figures
out how to make the border go away completely, please let me know!
-rw-r--r-- | Doc/myformat.sty | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Doc/myformat.sty b/Doc/myformat.sty index 6e6fa6d..56b3259 100644 --- a/Doc/myformat.sty +++ b/Doc/myformat.sty @@ -313,14 +313,18 @@ \newcommand{\strong}[1]{{\bf #1}} % let's experiment with a new font: \newcommand{\file}[1]{\mbox{`\small\textsf{#1}'}} -%\@ifundefined{pdfannotlink}{% +\@ifundefined{pdfannotlink}{% \newcommand{\url}[1]{\mbox{\small\textsf{#1}}}% -%}{ -% \newcommand{\url}[1]{{% -% \pdfannotlink user{/S /URI /URI (#1)}% -% \mbox{\small\textsf{#1}}}}% -%} -\let\email=\url +}{ + \input{pdfcolor}% this really isn't a package + \newcommand{\url}[1]{{% + \pdfannotlink user{/C [1 1 1] /S /URI /URI (#1)}% + \NavyBlue% color of the link text + \mbox{\small\textsf{#1}}% + \Black% Turn it back off; these are declarative + \pdfendlink}}% and don't appear bound to the current +}% formatting "box". +\let\email=\code \newcommand{\varvars}[1]{{\def\,{\/{\char`\,}}\var{#1}}} |