From 2eba52fefb905b7464129fdeb2534a02f5b3f3f3 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 4 Nov 2002 16:29:31 +0000 Subject: [PATCH] Thinking on comp.text.tex seems to be that it's better to override \@makefntext than \@footnotetext, so we'll do that instead. --- Doc/texinputs/python.sty | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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{% -- 2.40.0