diff options
| author | Fred Drake <fdrake@acm.org> | 2003-09-06 04:19:43 +0000 |
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 2003-09-06 04:19:43 +0000 |
| commit | c8b08b446a95694cf246c3fd92c1bc656944d68f (patch) | |
| tree | 56897563d6fe3066b8aee50833b7867dcae34bb9 | |
| parent | 38f6b8845bea82f228bd67e1414974d7bb4f5ed4 (diff) | |
| download | cpython-git-c8b08b446a95694cf246c3fd92c1bc656944d68f.tar.gz | |
add a note about how \ulink should be different than it actually is
for PDF generation
| -rw-r--r-- | Doc/texinputs/python.sty | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index a85bb78531..85fe52f415 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -930,6 +930,7 @@ \ifpdf % The \noindent here is a hack -- we're forcing pdfTeX into % horizontal mode since \pdfstartlink requires that. + % For PDF, we *should* only generate a link when the URL is absolute. \newcommand{\ulink}[2]{\noindent{% \pdfstartlink attr{/Border [0 0 0]} user{/S /URI /URI (#2)}% \py@LinkColor% color of the link text |
