Mercurial > cpython-lru_cache-weakref
diff Doc/texinputs/python.sty @ 30345:00453a0508df legacy-trunk
add a note about how \ulink should be different than it actually is
for PDF generation
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Sat, 06 Sep 2003 04:19:43 +0000 |
| parents | dbae05c29e93 |
| children | 651fc8d98d99 |
line wrap: on
line diff
--- a/Doc/texinputs/python.sty Sat Sep 06 03:50:07 2003 +0000 +++ b/Doc/texinputs/python.sty Sat Sep 06 04:19:43 2003 +0000 @@ -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
