summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-05-09 16:18:44 (GMT)
committerFred Drake <fdrake@acm.org>2000-05-09 16:18:44 (GMT)
commit51313f164c84379c1c186e0d19b5bcdadd8d4c94 (patch)
tree06b852c90c501569cee60d84e4046f2a8f93f848 /Doc/texinputs
parentef4d111b2a88ab036c6644227ff2115eedf20c89 (diff)
downloadcpython-51313f164c84379c1c186e0d19b5bcdadd8d4c94.zip
cpython-51313f164c84379c1c186e0d19b5bcdadd8d4c94.tar.gz
cpython-51313f164c84379c1c186e0d19b5bcdadd8d4c94.tar.bz2
Define \seeurl in the seealso environment. Two parameters: url, why.
Diffstat (limited to 'Doc/texinputs')
-rw-r--r--Doc/texinputs/python.sty9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index c2a66d6..6637956 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -922,12 +922,21 @@
#3
\end{fulllineitems}
}
+% \seeurl{url}{why it's interesting}
+\newcommand{\py@seeurl}[2]{%
+ \par%
+ \begin{fulllineitems}
+ \item[\url{#1}]
+ #2
+ \end{fulllineitems}
+}
\newenvironment{seealso}[0]{
\par
\strong{See Also:}\par
\def\seetext##1{\par{##1}}
\let\seemodule=\py@seemodule
\let\seerfc=\py@seerfc
+ \let\seeurl=\py@seeurl
}{\par}