[Python-checkins] python/dist/src/Doc/texinputs python.sty,1.99,1.100

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Mon, 04 Nov 2002 08:29:34 -0800


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

Modified Files:
	python.sty 
Log Message:
Thinking on comp.text.tex seems to be that it's better to override
\@makefntext than \@footnotetext, so we'll do that instead.


Index: python.sty
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.99
retrieving revision 1.100
diff -C2 -d -r1.99 -r1.100
*** python.sty	31 Oct 2002 21:04:34 -0000	1.99
--- python.sty	4 Nov 2002 16:29:31 -0000	1.100
***************
*** 138,146 ****
  % work even in footnote context.
  \newif\ifpy@infootnote \py@infootnotefalse
! \let\py@oldfootnotetext\@footnotetext
! \def\@footnotetext#1{%
    \bgroup%
      \py@infootnotetrue
!     \py@oldfootnotetext{#1}%
    \egroup%
  }
--- 138,146 ----
  % work even in footnote context.
  \newif\ifpy@infootnote \py@infootnotefalse
! \let\py@oldmakefntext\@makefntext
! \def\@makefntext#1{%
    \bgroup%
      \py@infootnotetrue
!     \py@oldmakefntext{#1}%
    \egroup%
  }