"Fossies" - the Fresh Open Source Software Archive

Member "pandoc-2.18/test/command/2378.md" (4 Apr 2022, 407 Bytes) of package /linux/www/pandoc-2.18.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

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} \\
\midrule()
\endfirsthead
\toprule()
x & y{} \\
\midrule()
\endhead
1 & 2 \\
\bottomrule()
\end{longtable}