diff options
| author | John MacFarlane <[email protected]> | 2025-10-06 23:04:40 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-10-06 23:04:40 +0200 |
| commit | d8354618c43ceb7ec917608229bdbf673c2469ad (patch) | |
| tree | 2b2a6e71df323bfbfb9349bd37d5e143e32c1c7f /test/command | |
| parent | be0509a26b5fd014ff177f06b068cdceb39bf44a (diff) | |
LaTeX writer/template: small fix for unnumbered tables.
This improves on commit e13aa5c0157744de262ac512cc95a76a4562e37b,
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.
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, 3 insertions, 3 deletions
diff --git a/test/command/7272.md b/test/command/7272.md index 0daf2a2d4..a5e519b09 100644 --- a/test/command/7272.md +++ b/test/command/7272.md @@ -14,7 +14,7 @@ </tbody> </table> ^D -{\def\LTcaptype{} % do not increment counter +{\def\LTcaptype{none} % do not increment counter \begin{longtable}[]{@{} >{\raggedright\arraybackslash}p{(\linewidth - 0\tabcolsep) * \real{1.0000}}@{}} \toprule\noalign{} diff --git a/test/command/8638.md b/test/command/8638.md index e77396aa8..75c824753 100644 --- a/test/command/8638.md +++ b/test/command/8638.md @@ -7,7 +7,7 @@ | oranges | 4.25 | ^D \begin{frame} -{\def\LTcaptype{} % do not increment counter +{\def\LTcaptype{none} % do not increment counter \begin{longtable}[]{@{}lr@{}} \toprule\noalign{} fruit & price \\ diff --git a/test/command/9350.md b/test/command/9350.md index 205f29271..cbb6ba97f 100644 --- a/test/command/9350.md +++ b/test/command/9350.md @@ -2,7 +2,7 @@ % pandoc -f html -t latex <table><tbody><tr></tr></tbody></table> ^D -{\def\LTcaptype{} % do not increment counter +{\def\LTcaptype{none} % do not increment counter \begin{longtable}[]{@{}l@{}} \toprule\noalign{} \endhead |
