From: Fred Drake Date: Sat, 6 Sep 2003 04:19:43 +0000 (+0000) Subject: add a note about how \ulink should be different than it actually is X-Git-Tag: v2.4a1~1628 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8b08b446a95694cf246c3fd92c1bc656944d68f;p=python add a note about how \ulink should be different than it actually is for PDF generation --- 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