Fix #2350: got "Counter too large" error on building PDF if large numbered footnotes existed in admonitions

This commit is contained in:
Takeshi KOMIYA 2016-05-29 19:55:44 +09:00
parent b4279df9e6
commit e3e827ef7f
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,8 @@ Release 1.4.3 (in development)
Bugs fixed
----------
* #2350: got "Counter too large" error on building PDF if large numbered footnotes existed in admonitions
Release 1.4.2 (released May 29, 2016)
=====================================

View File

@ -154,6 +154,9 @@
\newcommand*{\sphinxAtStartFootnote}{\mbox{ }}
% Support large numbered footnotes in minipage (cf. admonitions)
\def\thempfootnote{\arabic{mpfootnote}}
% Redefine the Verbatim environment to allow border and background colors
% and to handle the top caption in a non separable by pagebreak way.
% The original environment is still used for verbatims within tables.