diff options
author | Fred Drake <fdrake@acm.org> | 2001-11-30 18:09:54 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-11-30 18:09:54 (GMT) |
commit | 5ed35fd1494f660745aa53968506d7e190908a30 (patch) | |
tree | e75fae57fcfda7937c1f2613cd66f9aecbd0a3b7 /Doc/texinputs | |
parent | 89d63cc450c2805a05c2016eb1011fc0b31d800e (diff) | |
download | cpython-5ed35fd1494f660745aa53968506d7e190908a30.zip cpython-5ed35fd1494f660745aa53968506d7e190908a30.tar.gz cpython-5ed35fd1494f660745aa53968506d7e190908a30.tar.bz2 |
Add a new environment in the Python docs markup: seealso*. This is similar
to seealso, but does not add the "See also:" header or put the content in a
box in the HTML version.
Updated the description of \seeurl to better indicate when it should be used;
the old description was written before we had \seetitle.
Diffstat (limited to 'Doc/texinputs')
-rw-r--r-- | Doc/texinputs/python.sty | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index fa6681e..bddffe7 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -1096,9 +1096,20 @@ #2 \end{fulllineitems} } -\newenvironment{seealso}[0]{ + +\newenvironment{seealso*}{ + \par + \def\seetext##1{\par{##1}} + \let\seemodule=\py@seemodule + \let\seepep=\py@seepep + \let\seerfc=\py@seerfc + \let\seetitle=\py@seetitle + \let\seeurl=\py@seeurl +}{\par} +\newenvironment{seealso}{ + \par + \strong{See Also:} \par - \strong{See Also:}\par \def\seetext##1{\par{##1}} \let\seemodule=\py@seemodule \let\seepep=\py@seepep @@ -1106,7 +1117,6 @@ \let\seetitle=\py@seetitle \let\seeurl=\py@seeurl }{\par} - % Allow the Python release number to be specified independently of the % \date{}. This allows the date to reflect the document's date and |