diff options
| author | Albert Krewinkel <[email protected]> | 2022-08-17 12:21:47 +0200 |
|---|---|---|
| committer | Albert Krewinkel <[email protected]> | 2022-08-17 12:39:07 +0200 |
| commit | 81e31ee637935ce7ba076bdd5a648c2489698d2d (patch) | |
| tree | eec767a3dd83a014c65f39e23c7703cd17edac2e /test/command | |
| parent | c5f8a38f38aa20da77042b0a6c984e8f74db855a (diff) | |
LaTeX writer: add label to tables that have an identifier
Tables with an identifier are marked with a `\label`. A caption is
always included in this case, even if the caption is empty.
Closes: #8219
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/8219.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/command/8219.md b/test/command/8219.md new file mode 100644 index 000000000..52279cf42 --- /dev/null +++ b/test/command/8219.md @@ -0,0 +1,14 @@ +``` +% pandoc -f html -t latex +<table id="test"> + <tr><td>one</td><td>two</td></tr> +</table> +^D +\begin{longtable}[]{@{}ll@{}} +\caption{}\label{test}\tabularnewline +\toprule() +\endhead +one & two \\ +\bottomrule() +\end{longtable} +``` |
