Mercurial > cpython-lru_cache-weakref
comparison Doc/texinputs/python.sty @ 31359:17ca347303d3 legacy-trunk
add new reference macro: \seelink
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 08 Jan 2004 14:57:27 +0000 |
| parents | 651fc8d98d99 |
| children | 603a9eaa74e1 |
comparison
equal
deleted
inserted
replaced
| 31357:c088584f5533 | 31359:17ca347303d3 |
|---|---|
| 1158 #3 | 1158 #3 |
| 1159 \end{fulllineitems} | 1159 \end{fulllineitems} |
| 1160 } | 1160 } |
| 1161 \fi | 1161 \fi |
| 1162 | 1162 |
| 1163 % \seelink{url}{link text} | |
| 1164 \newcommand{\py@seelink}[3]{% | |
| 1165 \par | |
| 1166 \begin{fulllineitems} | |
| 1167 \item[\ulink{#2}{#1}] | |
| 1168 #3 | |
| 1169 \end{fulllineitems} | |
| 1170 } | |
| 1163 % \seetitle[url]{title}{why it's interesting} | 1171 % \seetitle[url]{title}{why it's interesting} |
| 1164 \newcommand{\py@seetitle}[3][\py@modulebadkey]{% | 1172 \newcommand{\py@seetitle}[3][\py@modulebadkey]{% |
| 1165 \par | 1173 \par |
| 1166 \begin{fulllineitems} | 1174 \begin{fulllineitems} |
| 1167 \item[\citetitle{#2}] | 1175 \item[\citetitle{#2}] |
| 1202 \let\seemodule=\py@seemodule | 1210 \let\seemodule=\py@seemodule |
| 1203 \let\seepep=\py@seepep | 1211 \let\seepep=\py@seepep |
| 1204 \let\seerfc=\py@seerfc | 1212 \let\seerfc=\py@seerfc |
| 1205 \let\seetitle=\py@seetitle | 1213 \let\seetitle=\py@seetitle |
| 1206 \let\seeurl=\py@seeurl | 1214 \let\seeurl=\py@seeurl |
| 1215 \let\seelink=\py@seelink | |
| 1207 }{\par} | 1216 }{\par} |
| 1208 \newenvironment{seealso}{ | 1217 \newenvironment{seealso}{ |
| 1209 \par | 1218 \par |
| 1210 \strong{See Also:} | 1219 \strong{See Also:} |
| 1211 \par | 1220 \par |
| 1213 \let\seemodule=\py@seemodule | 1222 \let\seemodule=\py@seemodule |
| 1214 \let\seepep=\py@seepep | 1223 \let\seepep=\py@seepep |
| 1215 \let\seerfc=\py@seerfc | 1224 \let\seerfc=\py@seerfc |
| 1216 \let\seetitle=\py@seetitle | 1225 \let\seetitle=\py@seetitle |
| 1217 \let\seeurl=\py@seeurl | 1226 \let\seeurl=\py@seeurl |
| 1227 \let\seelink=\py@seelink | |
| 1218 }{\par} | 1228 }{\par} |
| 1219 | 1229 |
| 1220 % Allow the Python release number to be specified independently of the | 1230 % Allow the Python release number to be specified independently of the |
| 1221 % \date{}. This allows the date to reflect the document's date and | 1231 % \date{}. This allows the date to reflect the document's date and |
| 1222 % release to specify the Python release that is documented. | 1232 % release to specify the Python release that is documented. |
