mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix: footnotes from table get displayed twice in LaTeX. To fix this, restoring footnote support hotfix for tabulary.sty that had been lost at f938a95 for #949. Closes #1522
This commit is contained in:
parent
438f9fe3de
commit
e9aae6563d
2
CHANGES
2
CHANGES
@ -40,6 +40,8 @@ Bugs fixed
|
||||
to Takeshi Komiya.
|
||||
* #1477: gettext does not extract nodes.line in a table or list.
|
||||
* #1544: `make text` generate wrong table when it has empty table cells.
|
||||
* #1522: Footnotes from table get displayed twice in LaTeX. This problem has
|
||||
been appeared from Sphinx-1.2.1 by #949.
|
||||
|
||||
Release 1.2.2 (released Mar 2, 2014)
|
||||
====================================
|
||||
|
@ -109,6 +109,8 @@ Z \string\tymax: \the\tymax^^J}%
|
||||
\global\advance\TY@linewidth-#1\relax}
|
||||
\def\endtabulary{%
|
||||
\gdef\@halignto{}%
|
||||
\let\TY@footnote\footnote%
|
||||
\def\footnote{}% prevent footnotes from doing anything
|
||||
\expandafter\TY@tab\the\toks@
|
||||
\crcr\omit
|
||||
{\xdef\TY@save@row{}%
|
||||
@ -172,6 +174,7 @@ Z \message{> tymin}%
|
||||
\TY@checkmin
|
||||
\TY@count\z@
|
||||
\let\TY@box\TY@box@v
|
||||
\let\footnote\TY@footnote % restore footnotes
|
||||
{\expandafter\TY@final\the\toks@\endTY@final}%
|
||||
\count@\z@
|
||||
\@tempswatrue
|
||||
|
Loading…
Reference in New Issue
Block a user