From: Fred Drake Date: Mon, 4 Nov 2002 16:29:31 +0000 (+0000) Subject: Thinking on comp.text.tex seems to be that it's better to override X-Git-Tag: v2.3c1~3599 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2eba52fefb905b7464129fdeb2534a02f5b3f3f3;p=python Thinking on comp.text.tex seems to be that it's better to override \@makefntext than \@footnotetext, so we'll do that instead. --- diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 331197e81d..b4744d799e 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -137,11 +137,11 @@ % Set up abstract ways to get the normal and smaller font sizes that % work even in footnote context. \newif\ifpy@infootnote \py@infootnotefalse -\let\py@oldfootnotetext\@footnotetext -\def\@footnotetext#1{% +\let\py@oldmakefntext\@makefntext +\def\@makefntext#1{% \bgroup% \py@infootnotetrue - \py@oldfootnotetext{#1}% + \py@oldmakefntext{#1}% \egroup% } \def\py@defaultsize{%