mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix footnote handling with paragraphs.
This commit is contained in:
parent
f404b36a0e
commit
e23435f4d5
1
CHANGES
1
CHANGES
@ -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.
|
||||
|
@ -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%
|
||||
|
Loading…
Reference in New Issue
Block a user