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