comparison Doc/texinputs/python.sty @ 12500:eb433efa24de legacy-trunk

Define \seerfc within the seealso environment.
author Fred Drake <fdrake@acm.org>
date Wed, 26 Apr 2000 18:13:58 +0000
parents 052fbd931492
children efd1e5d2284a
comparison
equal deleted inserted replaced
12499:0780aba97898 12500:eb433efa24de
906 (section \ref{module-\py@modulekey}):] 906 (section \ref{module-\py@modulekey}):]
907 #3 907 #3
908 \end{fulllineitems} 908 \end{fulllineitems}
909 } 909 }
910 } 910 }
911 % \seerfc{number}{title}{why it's interesting}
912 \newcommand{\py@seerfc}[3]{%
913 \par%
914 \begin{fulllineitems}
915 \item[\rfc{#1}, ``\emph{#2}'']
916 #3
917 \end{fulllineitems}
918 }
911 \newenvironment{seealso}[0]{ 919 \newenvironment{seealso}[0]{
912 \par 920 \par
913 \strong{See Also:}\par 921 \strong{See Also:}\par
914 \def\seetext##1{\par{##1}} 922 \def\seetext##1{\par{##1}}
915 \let\seemodule=\py@seemodule 923 \let\seemodule=\py@seemodule
924 \let\seerfc=\py@seerfc
916 }{\par} 925 }{\par}
917 926
918 927
919 % Allow the Python release number to be specified independently of the 928 % Allow the Python release number to be specified independently of the
920 % \date{}. This allows the date to reflect the document's date and 929 % \date{}. This allows the date to reflect the document's date and