diff Doc/texinputs/python.sty @ 31361:ec75ff8c7721 2.3

add new reference macro: \seelink
author Fred Drake <fdrake@acm.org>
date Thu, 08 Jan 2004 15:00:13 +0000
parents 6f15e73b59f2
children
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Thu Jan 08 00:33:04 2004 +0000
+++ b/Doc/texinputs/python.sty	Thu Jan 08 15:00:13 2004 +0000
@@ -1159,6 +1159,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
@@ -1203,6 +1211,7 @@
   \let\seerfc=\py@seerfc
   \let\seetitle=\py@seetitle
   \let\seeurl=\py@seeurl
+  \let\seelink=\py@seelink
 }{\par}
 \newenvironment{seealso}{
   \par
@@ -1214,6 +1223,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