From c8b08b446a95694cf246c3fd92c1bc656944d68f Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sat, 6 Sep 2003 04:19:43 +0000 Subject: add a note about how \ulink should be different than it actually is for PDF generation --- Doc/texinputs/python.sty | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v0.12