]> granicus.if.org Git - python/commitdiff
add a note about how \ulink should be different than it actually is
authorFred Drake <fdrake@acm.org>
Sat, 6 Sep 2003 04:19:43 +0000 (04:19 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 6 Sep 2003 04:19:43 +0000 (04:19 +0000)
for PDF generation

Doc/texinputs/python.sty

index a85bb785316621df0eeb7ddcaca31d206fec9117..85fe52f415351d1d9e6ef589af92806d72a110da 100644 (file)
 \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