diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2018-04-24 10:48:39 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2018-04-24 10:48:39 -0700 |
commit | de5ee82ed0e287ada3a5b272d8365a04fe8e9f95 (patch) | |
tree | 126c941f08f4d1e2775a694d4fd7f7c859b4b81b /test/command/2378.md | |
parent | abcbe3005117f90babc225ce958766845cf59d2b (diff) | |
parent | 5e6879dbf98eb5528c7f417b349118aadca40d71 (diff) |
New upstream version 2.1.2~dfsg
Diffstat (limited to 'test/command/2378.md')
-rw-r--r-- | test/command/2378.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/command/2378.md b/test/command/2378.md new file mode 100644 index 000000000..801c168ad --- /dev/null +++ b/test/command/2378.md @@ -0,0 +1,27 @@ +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} +``` |