mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-12 04:17:16 +00:00
d8354618c4
This improves on commit e13aa5c015,
which worked only for recent versions of longtable.
For older versions, we need to define a dummy counter `none`.
Closes #11201. Thanks to @priiduonu for the solution.
240 B
240 B
% pandoc -f html -t latex
<table><tbody><tr></tr></tbody></table>
^D
{\def\LTcaptype{none} % do not increment counter
\begin{longtable}[]{@{}l@{}}
\toprule\noalign{}
\endhead
\bottomrule\noalign{}
\endlastfoot
\\
\end{longtable}
}