mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Define \seerfc within the seealso environment.
This commit is contained in:
parent
37cc0c0e9f
commit
64b72b6f4f
1 changed files with 9 additions and 0 deletions
|
@ -908,11 +908,20 @@
|
|||
\end{fulllineitems}
|
||||
}
|
||||
}
|
||||
% \seerfc{number}{title}{why it's interesting}
|
||||
\newcommand{\py@seerfc}[3]{%
|
||||
\par%
|
||||
\begin{fulllineitems}
|
||||
\item[\rfc{#1}, ``\emph{#2}'']
|
||||
#3
|
||||
\end{fulllineitems}
|
||||
}
|
||||
\newenvironment{seealso}[0]{
|
||||
\par
|
||||
\strong{See Also:}\par
|
||||
\def\seetext##1{\par{##1}}
|
||||
\let\seemodule=\py@seemodule
|
||||
\let\seerfc=\py@seerfc
|
||||
}{\par}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue