diff options
| author | John MacFarlane <[email protected]> | 2025-09-16 17:59:42 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-09-16 18:01:07 +0200 |
| commit | e13aa5c0157744de262ac512cc95a76a4562e37b (patch) | |
| tree | 8f47f9d0475af53b94981e60579bc4630dabe308 /test/command | |
| parent | b197126c56eeb6b6324379b214c0e3b19c9eee78 (diff) | |
LaTeX writer: ensure that unlabelled tables don't increment counter.
Closes #11141.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/7272.md | 2 | ||||
| -rw-r--r-- | test/command/8638.md | 2 | ||||
| -rw-r--r-- | test/command/9350.md | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/test/command/7272.md b/test/command/7272.md index 9a97abf57..0daf2a2d4 100644 --- a/test/command/7272.md +++ b/test/command/7272.md @@ -14,6 +14,7 @@ </tbody> </table> ^D +{\def\LTcaptype{} % do not increment counter \begin{longtable}[]{@{} >{\raggedright\arraybackslash}p{(\linewidth - 0\tabcolsep) * \real{1.0000}}@{}} \toprule\noalign{} @@ -25,4 +26,5 @@ text2 }\strut \end{minipage} \\ \end{longtable} +} ``` diff --git a/test/command/8638.md b/test/command/8638.md index 2da8ded01..e77396aa8 100644 --- a/test/command/8638.md +++ b/test/command/8638.md @@ -7,6 +7,7 @@ | oranges | 4.25 | ^D \begin{frame} +{\def\LTcaptype{} % do not increment counter \begin{longtable}[]{@{}lr@{}} \toprule\noalign{} fruit & price \\ @@ -16,5 +17,6 @@ apple & 2.05 \\ oranges & 4.25 \\ \bottomrule\noalign{} \end{longtable} +} \end{frame} ``` diff --git a/test/command/9350.md b/test/command/9350.md index d641f8b76..205f29271 100644 --- a/test/command/9350.md +++ b/test/command/9350.md @@ -2,6 +2,7 @@ % pandoc -f html -t latex <table><tbody><tr></tr></tbody></table> ^D +{\def\LTcaptype{} % do not increment counter \begin{longtable}[]{@{}l@{}} \toprule\noalign{} \endhead @@ -9,4 +10,5 @@ \endlastfoot \\ \end{longtable} +} ``` |
