[Python-checkins] python/dist/src/Doc/texinputs python.sty, 1.104, 1.105

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Thu Jan 8 09:57:29 EST 2004


Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory sc8-pr-cvs1:/tmp/cvs-serv12448/texinputs

Modified Files:
	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.104
retrieving revision 1.105
diff -C2 -d -r1.104 -r1.105
*** python.sty	20 Oct 2003 14:01:48 -0000	1.104
--- python.sty	8 Jan 2004 14:57:27 -0000	1.105
***************
*** 1161,1164 ****
--- 1161,1172 ----
  \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]{%
***************
*** 1205,1208 ****
--- 1213,1217 ----
    \let\seetitle=\py at seetitle
    \let\seeurl=\py at seeurl
+   \let\seelink=\py at seelink
  }{\par}
  \newenvironment{seealso}{
***************
*** 1216,1219 ****
--- 1225,1229 ----
    \let\seetitle=\py at seetitle
    \let\seeurl=\py at seeurl
+   \let\seelink=\py at seelink
  }{\par}
  





More information about the Python-checkins mailing list