From: Fred Drake Date: Tue, 9 May 2000 16:18:44 +0000 (+0000) Subject: Define \seeurl in the seealso environment. Two parameters: url, why. X-Git-Tag: v2.0b1~1793 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51313f164c84379c1c186e0d19b5bcdadd8d4c94;p=python Define \seeurl in the seealso environment. Two parameters: url, why. --- diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index c2a66d6a20..6637956238 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}