mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08: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.
15 lines
240 B
Markdown
15 lines
240 B
Markdown
```
|
|
% 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}
|
|
}
|
|
```
|