tomduck / pandoc-tablenos

A pandoc filter for numbering tables and table references.
GNU General Public License v3.0
108 stars 8 forks source link

Undefined control sequence. \tablenos:no-prefix-table-caption #35

Open dnebauer opened 2 years ago

dnebauer commented 2 years ago

When including tables without id attributes, but still using the pandoc-tablenos filter, I am getting the following error from both lualatex and xelatex:

! Undefined control sequence.
\tablenos:no-prefix-table-caption ...ompatibility 
                                                  {}{ \let \oldthetable \the...

Here is a simplified markdown input file that demonstrates the error: simple.md.

Here is representative latex output (zipped to enable upload): simple.zip. I stripped out unnecessary content to get the simplest possible tex file that demonstrates the problem.

Here is the log file (also zipped to enable upload): simple.zip.

I'm no expert at interpreting latex's delphic error messages. Perhaps latex is complaining that it does not understand the \caption@ifcompatibility command?

dnebauer commented 2 years ago

Additional information:

risinggard commented 1 year ago

This issue seems to be triggered by upgrading from TeX Live 2021 to TeX Live 2022.

g-simmons commented 1 year ago

I am also encountering this on pandoc 2.7, xnos version 2.4, tablenos version 2.3, TeX Live 2019.

g-simmons commented 1 year ago

Nevermind, turns out I just forgot the metadata tag on one of my table captions.