Update CHANGES for #2140

This commit is contained in:
Takeshi KOMIYA 2015-11-29 22:03:48 +09:00
parent f4c5a2e136
commit 042daed015
2 changed files with 5 additions and 1 deletions

View File

@ -70,6 +70,7 @@ Bugs fixed
* #1818: `sphinx.ext.todo` directive generates broken html class attribute as
'admonition-' when :confval:`language` is specified with non-ASCII linguistic area like
'ru' or 'ja'. To fix this, now ``todo`` directive can use ```:class:`` option.
* #2140: Fix footnotes in table has broken in LaTeX
Release 1.3.1 (released Mar 17, 2015)
=====================================

View File

@ -1555,6 +1555,9 @@ class LaTeXTranslator(nodes.NodeVisitor):
# if a footnote has been inserted once, it shouldn't be repeated
# by the next reference
if used:
if self.table:
self.body.append('\\protect\\footnotemark[%s]' % num)
else:
self.body.append('\\footnotemark[%s]' % num)
elif self.table:
self.footnotestack[-1][num][1] = True