git.iko.soy/typeable/pandoc
on fa12d4e help sign in
27 lines 433 B history raw
1Ensure that we don't get duplicated footnotes when
2a note occurs in a header cell and `\endfirsthead`
3is used.
5```
6% pandoc -t latex
7| x | y[^fn] |
8|-|-|
9|1|2|
10: a table
12[^fn]: a footnote
13^D
14\begin{longtable}[]{@{}ll@{}}
15\caption{a table}\tabularnewline
16\toprule
17x & y\footnote{a footnote}\tabularnewline
18\midrule
19\endfirsthead
20\toprule
21x & y{}\tabularnewline
22\midrule
23\endhead
241 & 2\tabularnewline
25\bottomrule
26\end{longtable}
27```