aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-10-06 23:04:40 +0200
committerJohn MacFarlane <[email protected]>2025-10-06 23:04:40 +0200
commitd8354618c43ceb7ec917608229bdbf673c2469ad (patch)
tree2b2a6e71df323bfbfb9349bd37d5e143e32c1c7f /data
parentbe0509a26b5fd014ff177f06b068cdceb39bf44a (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 'data')
-rw-r--r--data/templates/common.latex1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/common.latex b/data/templates/common.latex
index 46c32823f..1f26b339f 100644
--- a/data/templates/common.latex
+++ b/data/templates/common.latex
@@ -69,6 +69,7 @@ $-- tables
$--
$if(tables)$
\usepackage{longtable,booktabs,array}
+\newcounter{none} % for unnumbered tables
$if(multirow)$
\usepackage{multirow}
$endif$