Fix footnote handling with paragraphs.

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

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.

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%