summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-09-06 04:19:43 (GMT)
committerFred Drake <fdrake@acm.org>2003-09-06 04:19:43 (GMT)
commitc8b08b446a95694cf246c3fd92c1bc656944d68f (patch)
tree56897563d6fe3066b8aee50833b7867dcae34bb9 /Doc/texinputs
parent38f6b8845bea82f228bd67e1414974d7bb4f5ed4 (diff)
downloadcpython-c8b08b446a95694cf246c3fd92c1bc656944d68f.zip
cpython-c8b08b446a95694cf246c3fd92c1bc656944d68f.tar.gz
cpython-c8b08b446a95694cf246c3fd92c1bc656944d68f.tar.bz2
add a note about how \ulink should be different than it actually is
for PDF generation
Diffstat (limited to 'Doc/texinputs')
-rw-r--r--Doc/texinputs/python.sty1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index a85bb78..85fe52f 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