Mercurial > cpython-lru_cache-weakref
comparison Doc/texinputs/python.sty @ 21116:0a67463f8b7d legacy-trunk
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.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 30 Nov 2001 18:09:54 +0000 |
| parents | eacf81df6c42 |
| children | f59c6b5dd122 |
comparison
equal
deleted
inserted
replaced
| 21115:0ed6fc7c1c09 | 21116:0a67463f8b7d |
|---|---|
| 1094 \begin{fulllineitems} | 1094 \begin{fulllineitems} |
| 1095 \item[\url{#1}] | 1095 \item[\url{#1}] |
| 1096 #2 | 1096 #2 |
| 1097 \end{fulllineitems} | 1097 \end{fulllineitems} |
| 1098 } | 1098 } |
| 1099 \newenvironment{seealso}[0]{ | 1099 |
| 1100 \newenvironment{seealso*}{ | |
| 1100 \par | 1101 \par |
| 1101 \strong{See Also:}\par | |
| 1102 \def\seetext##1{\par{##1}} | 1102 \def\seetext##1{\par{##1}} |
| 1103 \let\seemodule=\py@seemodule | 1103 \let\seemodule=\py@seemodule |
| 1104 \let\seepep=\py@seepep | 1104 \let\seepep=\py@seepep |
| 1105 \let\seerfc=\py@seerfc | 1105 \let\seerfc=\py@seerfc |
| 1106 \let\seetitle=\py@seetitle | 1106 \let\seetitle=\py@seetitle |
| 1107 \let\seeurl=\py@seeurl | 1107 \let\seeurl=\py@seeurl |
| 1108 }{\par} | 1108 }{\par} |
| 1109 | 1109 \newenvironment{seealso}{ |
| 1110 \par | |
| 1111 \strong{See Also:} | |
| 1112 \par | |
| 1113 \def\seetext##1{\par{##1}} | |
| 1114 \let\seemodule=\py@seemodule | |
| 1115 \let\seepep=\py@seepep | |
| 1116 \let\seerfc=\py@seerfc | |
| 1117 \let\seetitle=\py@seetitle | |
| 1118 \let\seeurl=\py@seeurl | |
| 1119 }{\par} | |
| 1110 | 1120 |
| 1111 % Allow the Python release number to be specified independently of the | 1121 % Allow the Python release number to be specified independently of the |
| 1112 % \date{}. This allows the date to reflect the document's date and | 1122 % \date{}. This allows the date to reflect the document's date and |
| 1113 % release to specify the Python release that is documented. | 1123 % release to specify the Python release that is documented. |
| 1114 % | 1124 % |
