Open stroobandt opened 4 years ago
For (X)HTML, I circumvented this limitation by suppressing the pandoc-tablenos
numbering and creating my own numbering for all tables using CSS. The respective numbers created by pandoc-tablenos
and CSS are exactly the same. This might help other people out, whilst waiting for this feature to be implemented.
body {counter-reset: table;}
table caption:before {counter-increment: table;}
table:lang(en) caption:before {content: 'Table ' counter(table) ': ';}
table:lang(nl) caption:before {content: 'Tabel ' counter(table) ': ';}
table caption span:first-child {display: none;}
This is a request to add a
tablenos-forced
configuration setting which would force the numbering of all tables in a document, even when these tables have no ID for cross-referencing.The forced numbering of all tables in a document independently whether these tables are cross-referenced or not, created the desired effect that all tables will receive a title beginning with "Table xx: ".