From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SJOOGAOul2NeJAEAbAwnHQ (envelope-from ) for ; Mon, 12 Dec 2022 23:41:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WODhFwOul2PWZgAAG6o9tA (envelope-from ) for ; Mon, 12 Dec 2022 23:41:07 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 17B40C411 for ; Mon, 12 Dec 2022 23:41:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4rSt-000399-L9; Mon, 12 Dec 2022 17:40:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4rSi-00038q-RB for emacs-orgmode@gnu.org; Mon, 12 Dec 2022 17:39:52 -0500 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4rSd-0007MT-EY for emacs-orgmode@gnu.org; Mon, 12 Dec 2022 17:39:52 -0500 Received: by mail-pj1-x1033.google.com with SMTP id n65-20020a17090a2cc700b0021bc5ef7a14so1636161pjd.0 for ; Mon, 12 Dec 2022 14:39:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=+O/9fG2BR0WqfKsSC/WRD043imNvoJWKzMxvRsYFSPk=; b=lq7tr3enCpXcm4eb7lTrfc3fpXE/Q28bfPtuKbFLXhEzcSCBRzku4swXvjVuHgZa8d ETglt227N6aS6gbmUiYMJIQ3l6NxdzUIdci7PORbcfo41I1pMdwwCTkX4O47YF+ZD8x8 Ehfj21VtUsck2nrra8BxCuO3v3yOsv+I0EBABpbCJ70tuCM+F16CQksiUcMGff0ueASB ffCizSQh7ytYtUeULM/QgLaD6LFOdprW0I87U6iYJB5KRhHhKmSF59Ws4M5x7gc1vmM9 FPE0urCbv/kisZ99Ias+k/DWIKENoYGSMzDdiPDSOWq0DW8dcu3vGKd5MHfTBO+J6L44 luzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+O/9fG2BR0WqfKsSC/WRD043imNvoJWKzMxvRsYFSPk=; b=wh512a9JKpINjYa6AugSx2seAO43PP8PJXZBMPwTPtjjB8yKFqjY+CRtfx3paa6mIS EocMGJZXeSRuhsTmNF9iL1g2IQ8OQ9f5oCwYTq2gWvx2IsR6elhrW763x7b2tkW79kLn mkIIyz1tLqrmxOTg7sUv8DjuLIcslK1yKyBNFlnJSE55NncEFEQnaXE7EBtSbTU6+jVA VCN8VT0LpYCX+2YQeV5HE6NFim25fjpfhl9HqR5IeCy5hBzN7Mw2wgODRvX7g0fnhD8N qNW5DB3UQD+D5PYZH/ymUWHvPB7+vsndB295HwPiuoYk3wAp5H7LeuCEx97wznWd7yhO UT0g== X-Gm-Message-State: ANoB5pm6amD8hYy/yBqgJX1g5VpH9WBdBPQ98fXYKq0OfYpXkD+8oxMe HYYVpRPYgzBklA6G6TlufBpn3Xflf/Zf4hUUFScLlhydn/4= X-Google-Smtp-Source: AA0mqf7twlirE/mHLdSQ71Wq4SIAw683NV6cb5X8OXNLT8scFW6c+HmfowOpd5NvrIZ54QFXdU6DUQK25PYLUU1nQgs= X-Received: by 2002:a17:90a:70f:b0:21a:1d94:568f with SMTP id l15-20020a17090a070f00b0021a1d94568fmr70976pjl.51.1670884780852; Mon, 12 Dec 2022 14:39:40 -0800 (PST) MIME-Version: 1.0 From: Kaushal Modi Date: Mon, 12 Dec 2022 17:39:04 -0500 Message-ID: Subject: Incorrect numbering of tables (and other elements like figures) [Org 9.6] To: emacs-org list Content-Type: multipart/alternative; boundary="000000000000d2cf6f05efa92ddf" Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=kaushal.modi@gmail.com; helo=mail-pj1-x1033.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670884867; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+O/9fG2BR0WqfKsSC/WRD043imNvoJWKzMxvRsYFSPk=; b=ShN0d854hlTLMliwGC0+a+5kiujwJ7CfyvfEycBGm74GfEm35e2YokV4hyKDVCNsd6FkYp zl1iSkvk6EacY5CV7pN+YfJIrrEI0l2IOxrRFfbHJfy1ZYgm3XunVWClcn1ZGGN3lkZFCF GeSAGfV603JTLil0SZdR1m7GinCi3HodlxaahCH94KV137FyxDvTPiu9/MEX4kVXhCqJwx ybMxWAMl4TRP/3HOF4oNsB8BFGWsjUZOpX7XpLiGGktpEDI5+cmMdyg63d428l/LdClKsc P14+O3JjHcCyOowbNgJyEesjGJMNFwI+gd/RbWHljkOOr8XTMp4FL7z0PU1t5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lq7tr3en; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670884867; a=rsa-sha256; cv=none; b=d2H5VkEzGHjNt2P3vaJya+7I11zfBXuj9m3XvZ8e/rqNwGcx9rUPOgIjrVVnUmTvz+lycH pfIcPNowdgMLTJLW+UGEQ3HBjU2dFDVHJjQosA3ajC+PDSq4lRSWykWXfClWGC39ioaEIa DBEPSUePTiQppoNl4+J9jb9jR86oHWk2z5+mTQegwqnXwDqM0Y21O3Z7AZWb+3g8auF/Tg Zi6vGOgQmJ9yWddIiF4PCAaJtIRqVNH0C4V/Z3y9bsJ0f55qds0PswL4+IQ5g9Im9fDNVT 4gUoUNIIPqRESf46mla5Eg3YKrYbROv4tMCHHaN+OZ90um41A45fLl0AtSSu0Q== X-Migadu-Spam-Score: -5.92 X-Spam-Score: -5.92 X-Migadu-Queue-Id: 17B40C411 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lq7tr3en; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-TUID: iuomZZat+5L5 --000000000000d2cf6f05efa92ddf Content-Type: text/plain; charset="UTF-8" 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 --000000000000d2cf6f05efa92ddf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Since Org 9.6, I am s= eeing 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-g49= cf3e ..)

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

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

#+caption: Should be= Table 1
| h1 =C2=A0 =C2=A0 =C2=A0 | h2 =C2=A0 =C2=A0 =C2=A0 | h3 =C2=A0= =C2=A0 =C2=A0 |
|----------+----------+----------|
| abcdefgh | ijkl= mnop | qrstuvwx |

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

#+cap= tion: Should be Table 3
| h1 =C2=A0 =C2=A0 =C2=A0 | h2 =C2=A0 =C2=A0 =C2= =A0 | h3 =C2=A0 =C2=A0 =C2=A0 |
|----------+----------+----------|
| = abcdefgh | ijklmnop | qrstuvwx |

#+caption: Should be Table 4
| h= 1 =C2=A0 =C2=A0 =C2=A0 | h2 =C2=A0 =C2=A0 =C2=A0 | h3 =C2=A0 =C2=A0 =C2=A0 = |
|----------+----------+----------|
| abcdefgh | ijklmnop | qrstuvwx= |
=3D=3D=3D=3D=3D

Output of C-c C-e t A= :

=3D=3D=3D=3D=3D
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 ______= ________________

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 TABLE NUMBERING TEST
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0______________________


=C2=A0h1 =C2=A0 =C2=A0 =C2=A0 = =C2=A0h2 =C2=A0 =C2=A0 =C2=A0 =C2=A0h3 =C2=A0 =C2=A0 =C2=A0
-----------= -------------------
=C2=A0abcdefgh =C2=A0ijklmnop =C2=A0qrstuvwx
Tab= le 1: Should be Table 1

=C2=A0h1 =C2=A0 =C2=A0 =C2=A0 =C2=A0h2 =C2= =A0 =C2=A0 =C2=A0 =C2=A0h3 =C2=A0 =C2=A0 =C2=A0
-----------------------= -------
=C2=A0abcdefgh =C2=A0ijklmnop =C2=A0qrstuvwx
Table 2: Should= be Table 2

=C2=A0h1 =C2=A0 =C2=A0 =C2=A0 =C2=A0h2 =C2=A0 =C2=A0 =C2= =A0 =C2=A0h3 =C2=A0 =C2=A0 =C2=A0
------------------------------
=C2= =A0abcdefgh =C2=A0ijklmnop =C2=A0qrstuvwx
Table 1: Should be Table 3
=C2=A0h1 =C2=A0 =C2=A0 =C2=A0 =C2=A0h2 =C2=A0 =C2=A0 =C2=A0 =C2=A0h3 = =C2=A0 =C2=A0 =C2=A0
------------------------------
=C2=A0abcdefgh = =C2=A0ijklmnop =C2=A0qrstuvwx
Table 1: Should be Table 4
=3D= =3D=3D=3D=3D



--
Kaushal Modi
--000000000000d2cf6f05efa92ddf--