comparison Doc/texinputs/python.sty @ 12638:def959352422 legacy-trunk

Define \seeurl in the seealso environment. Two parameters: url, why.
author Fred Drake <fdrake@acm.org>
date Tue, 09 May 2000 16:18:44 +0000
parents efd1e5d2284a
children 79f8f6b963c2
comparison
equal deleted inserted replaced
12637:69481cde511d 12638:def959352422
920 \begin{fulllineitems} 920 \begin{fulllineitems}
921 \item[\rfc{#1}, ``\emph{#2}''] 921 \item[\rfc{#1}, ``\emph{#2}'']
922 #3 922 #3
923 \end{fulllineitems} 923 \end{fulllineitems}
924 } 924 }
925 % \seeurl{url}{why it's interesting}
926 \newcommand{\py@seeurl}[2]{%
927 \par%
928 \begin{fulllineitems}
929 \item[\url{#1}]
930 #2
931 \end{fulllineitems}
932 }
925 \newenvironment{seealso}[0]{ 933 \newenvironment{seealso}[0]{
926 \par 934 \par
927 \strong{See Also:}\par 935 \strong{See Also:}\par
928 \def\seetext##1{\par{##1}} 936 \def\seetext##1{\par{##1}}
929 \let\seemodule=\py@seemodule 937 \let\seemodule=\py@seemodule
930 \let\seerfc=\py@seerfc 938 \let\seerfc=\py@seerfc
939 \let\seeurl=\py@seeurl
931 }{\par} 940 }{\par}
932 941
933 942
934 % Allow the Python release number to be specified independently of the 943 % Allow the Python release number to be specified independently of the
935 % \date{}. This allows the date to reflect the document's date and 944 % \date{}. This allows the date to reflect the document's date and