6a077ac9c7
Note that if the table has a first page header and a continuation page header, the notes will appear only on the first occurrence of the header. Closes #2378.
27 lines
433 B
Markdown
27 lines
433 B
Markdown
Ensure that we don't get duplicated footnotes when
|
|
a note occurs in a header cell and `\endfirsthead`
|
|
is used.
|
|
|
|
```
|
|
% pandoc -t latex
|
|
| x | y[^fn] |
|
|
|-|-|
|
|
|1|2|
|
|
: a table
|
|
|
|
[^fn]: a footnote
|
|
^D
|
|
\begin{longtable}[]{@{}ll@{}}
|
|
\caption{a table}\tabularnewline
|
|
\toprule
|
|
x & y\footnote{a footnote}\tabularnewline
|
|
\midrule
|
|
\endfirsthead
|
|
\toprule
|
|
x & y{}\tabularnewline
|
|
\midrule
|
|
\endhead
|
|
1 & 2\tabularnewline
|
|
\bottomrule
|
|
\end{longtable}
|
|
```
|