LaTeX writer: create valid table even when table is empty.

Closes #9350.
This commit is contained in:
John MacFarlane
2024-01-20 10:19:32 -08:00
parent c2f7f5c63f
commit f43ffabd3c
2 changed files with 20 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
```
% pandoc -f html -t latex
<table><tbody><tr></tr></tbody></table>
^D
\begin{longtable}[]{@{}l@{}}
\toprule\noalign{}
\endhead
\bottomrule\noalign{}
\endlastfoot
\\
\end{longtable}
```