diff options
Diffstat (limited to 'Doc/texinputs')
-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 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 |