[Python-checkins] CVS: python/dist/src/Doc/texinputs python.sty,1.59,1.60

Fred Drake python-dev@python.org
Tue, 9 May 2000 12:18:47 -0400


Update of /projects/cvsroot/python/dist/src/Doc/texinputs
In directory seahag.cnri.reston.va.us:/home/fdrake/projects/python/Doc/texinputs

Modified Files:
	python.sty 
Log Message:

Define \seeurl in the seealso environment.  Two parameters: url, why.


Index: python.sty
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** python.sty	2000/05/02 17:28:36	1.59
--- python.sty	2000/05/09 16:18:44	1.60
***************
*** 923,926 ****
--- 923,934 ----
    \end{fulllineitems}
  }
+ % \seeurl{url}{why it's interesting}
+ \newcommand{\py@seeurl}[2]{%
+   \par%
+   \begin{fulllineitems}
+     \item[\url{#1}]
+     #2
+   \end{fulllineitems}
+ }
  \newenvironment{seealso}[0]{
    \par
***************
*** 929,932 ****
--- 937,941 ----
    \let\seemodule=\py@seemodule
    \let\seerfc=\py@seerfc
+   \let\seeurl=\py@seeurl
  }{\par}