Mercurial > cpython-lru_cache-weakref
diff Doc/texinputs/python.sty @ 31359:17ca347303d3 legacy-trunk
add new reference macro: \seelink
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 08 Jan 2004 14:57:27 +0000 |
| parents | 651fc8d98d99 |
| children | 603a9eaa74e1 |
line wrap: on
line diff
--- a/Doc/texinputs/python.sty Thu Jan 08 00:31:50 2004 +0000 +++ b/Doc/texinputs/python.sty Thu Jan 08 14:57:27 2004 +0000 @@ -1160,6 +1160,14 @@ } \fi +% \seelink{url}{link text} +\newcommand{\py@seelink}[3]{% + \par + \begin{fulllineitems} + \item[\ulink{#2}{#1}] + #3 + \end{fulllineitems} +} % \seetitle[url]{title}{why it's interesting} \newcommand{\py@seetitle}[3][\py@modulebadkey]{% \par @@ -1204,6 +1212,7 @@ \let\seerfc=\py@seerfc \let\seetitle=\py@seetitle \let\seeurl=\py@seeurl + \let\seelink=\py@seelink }{\par} \newenvironment{seealso}{ \par @@ -1215,6 +1224,7 @@ \let\seerfc=\py@seerfc \let\seetitle=\py@seetitle \let\seeurl=\py@seeurl + \let\seelink=\py@seelink }{\par} % Allow the Python release number to be specified independently of the
