all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Incorrect numbering of tables (and other elements like figures) [Org 9.6]
@ 2022-12-12 22:39 Kaushal Modi
  2022-12-13  8:52 ` Ihor Radchenko
  0 siblings, 1 reply; 9+ messages in thread
From: Kaushal Modi @ 2022-12-12 22:39 UTC (permalink / raw)
  To: emacs-org list

[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]

Hello,

Since Org 9.6, I am seeing that the numbering of tables (and other elements
like figures) resets to 1 and stays so, thought I cannot see a pattern of
why that happens.

Org version: Org mode version 9.6 (release_9.6-40-g49cf3e ..)

Here's a small reproducible example that shows the problem in any exporter
(ox-ascii, ox-html, ..)

=====
#+title: Table numbering test
#+options: author:nil toc:nil

#+caption: Should be Table 1
| h1       | h2       | h3       |
|----------+----------+----------|
| abcdefgh | ijklmnop | qrstuvwx |

#+caption: Should be Table 2
| h1       | h2       | h3       |
|----------+----------+----------|
| abcdefgh | ijklmnop | qrstuvwx |

#+caption: Should be Table 3
| h1       | h2       | h3       |
|----------+----------+----------|
| abcdefgh | ijklmnop | qrstuvwx |

#+caption: Should be Table 4
| h1       | h2       | h3       |
|----------+----------+----------|
| abcdefgh | ijklmnop | qrstuvwx |
=====

Output of C-c C-e t A:

=====
                         ______________________

                          TABLE NUMBERING TEST
                         ______________________


 h1        h2        h3
------------------------------
 abcdefgh  ijklmnop  qrstuvwx
Table 1: Should be Table 1

 h1        h2        h3
------------------------------
 abcdefgh  ijklmnop  qrstuvwx
Table 2: Should be Table 2

 h1        h2        h3
------------------------------
 abcdefgh  ijklmnop  qrstuvwx
Table 1: Should be Table 3

 h1        h2        h3
------------------------------
 abcdefgh  ijklmnop  qrstuvwx
Table 1: Should be Table 4
=====



--
Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 2339 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-01-12 11:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-12 22:39 Incorrect numbering of tables (and other elements like figures) [Org 9.6] Kaushal Modi
2022-12-13  8:52 ` Ihor Radchenko
2022-12-13 20:51   ` Kaushal Modi
2023-01-11 13:47     ` Request to bump up the Org version in Elpa [ Was: Incorrect numbering of tables (and other elements like figures) ] Kaushal Modi
2023-01-11 14:09       ` Request to bump up the Org version in Elpa [ Bastien Guerry
2023-01-11 14:12         ` Ihor Radchenko
2023-01-11 15:49           ` Bastien
2023-01-11 15:52             ` Kaushal Modi
2023-01-12 10:41             ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.