Fix footnote handling with paragraphs.

This commit is contained in:
Georg Brandl committed 2008-05-04 07:47:16 +00:00
1 parent f404b36a0e
commit e23435f4d5
2 files changed
+4 -3

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ New features added
* A new directive ``tabularcolumns`` can be used to give a tabular column
specification for LaTeX output. Tables now use the ``tabulary`` package.
Literal blocks can now be placed in tables, with several caveats.
* A new config value, `latex_use_parts`, can be used to enable parts in LaTeX
documents.
+3 -3
View File
@@ -95,11 +95,11 @@
% work even in footnote context.
\newif\ifpy@infootnote \py@infootnotefalse
\let\py@oldmakefntext\@makefntext
\def\@makefntext#1{%
\bgroup%
\renewcommand{\@makefntext}[1]{%
\begingroup%
\py@infootnotetrue
\py@oldmakefntext{#1}%
\egroup%
\endgroup%
}
\def\py@defaultsize{%
\ifpy@infootnote\footnotesize\else\normalsize\fi%