[Python-checkins] python/dist/src/Doc/texinputs python.sty,
1.102.8.1, 1.102.8.2
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Thu Jan 8 10:00:16 EST 2004
Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory sc8-pr-cvs1:/tmp/cvs-serv13253/texinputs
Modified Files:
Tag: release23-maint
python.sty
Log Message:
add new reference macro: \seelink
Index: python.sty
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.102.8.1
retrieving revision 1.102.8.2
diff -C2 -d -r1.102.8.1 -r1.102.8.2
*** python.sty 20 Oct 2003 14:34:45 -0000 1.102.8.1
--- python.sty 8 Jan 2004 15:00:13 -0000 1.102.8.2
***************
*** 1160,1163 ****
--- 1160,1171 ----
\fi
+ % \seelink{url}{link text}
+ \newcommand{\py at seelink}[3]{%
+ \par
+ \begin{fulllineitems}
+ \item[\ulink{#2}{#1}]
+ #3
+ \end{fulllineitems}
+ }
% \seetitle[url]{title}{why it's interesting}
\newcommand{\py at seetitle}[3][\py at modulebadkey]{%
***************
*** 1204,1207 ****
--- 1212,1216 ----
\let\seetitle=\py at seetitle
\let\seeurl=\py at seeurl
+ \let\seelink=\py at seelink
}{\par}
\newenvironment{seealso}{
***************
*** 1215,1218 ****
--- 1224,1228 ----
\let\seetitle=\py at seetitle
\let\seeurl=\py at seeurl
+ \let\seelink=\py at seelink
}{\par}
More information about the Python-checkins
mailing list