From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iGhUAYy6tmNWSwEAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 12:54:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ONl6AIy6tmPUaQEAG6o9tA (envelope-from ) for ; Thu, 05 Jan 2023 12:54:52 +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 961D0100B8 for ; Thu, 5 Jan 2023 12:54:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDOp4-0005Ck-0c; Thu, 05 Jan 2023 06:54:14 -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 1pDOp2-0005CW-GT for emacs-orgmode@gnu.org; Thu, 05 Jan 2023 06:54:12 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDOp0-0007ZK-ED for emacs-orgmode@gnu.org; Thu, 05 Jan 2023 06:54:12 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 48DE224021F for ; Thu, 5 Jan 2023 12:54:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1672919648; bh=v9GmZEIX2hfJyU/iomNuvQuLdZLkcxHmmua9iK8Zu0Y=; h=From:To:Cc:Subject:Date:From; b=D2+0wX59qhRK9sULJQSO77884vslWKjQGPqnxADUVsSrXHAV1x0Z4arFM4acHeUYr TG8PbIj0gM96yzW6fkDTD4WcY/6ECVdg266xj3ZhxLObdfw4wF8nzxwMe6A3MyeGz0 q/K0Ij6D8vUT5jzPS+EUfyiVBiKf/Fy2jJy8gWcbISS3g0eFD+ZucAiR75/iQYTV42 KzkoELZyP9Dr/7kIsvZ7rh5uY3vAnuAiTwY2GvkerUmjlWg8D9EKPIuqZnUHSh6Dzj xrgxPd4KicIQEVHa6BBTUG9YINJ1pYtmdCt34bPawVe36WKRWyqrymhRxjh378Olrv iuiY7iWqLHkdw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NnlHZ5kCtz9rxD; Thu, 5 Jan 2023 12:54:02 +0100 (CET) From: Ihor Radchenko To: contrapunctus Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] ox-html: incorrect figure numbers [9.6 ( @ /home/contrapunctus/.emacs.d/elpa/org-9.6/)] In-Reply-To: <87y1qitgnr.fsf@disroot.org> References: <87y1qitgnr.fsf@disroot.org> Date: Thu, 05 Jan 2023 11:54:34 +0000 Message-ID: <87o7rddwn9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-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-Seal: i=1; s=key1; d=yhetil.org; t=1672919691; a=rsa-sha256; cv=none; b=JpMYAcvg/Z2RUEZAiSpycwmZsp5g/ZYnaecmheb9CRINxzipdATZxZtDEGCgnTxHdyyT6Y NOxlWBph+VGW09Wcgah8WjGt1w5qFpSdiYKECcISWeC2AAfKhH+PtLM3g/opqZio4LBjGS 2sK4Rln0SXPeeOxmlTDgmKcflJiIhqjqCANA2WbMbKdapR39kXP8TuhM3p1mI8K6y6We0K ywMv4YjAnbQCviz71tMK7a/QO8zyDEw1OEv8TZFwEh2t1nuvVQvGmbDZXNDAAi0+DKafye y1tYTkmIzluvrwUgAQZ1ZaahnTnQf5QTr0QwYmFScJO0kNGanzcIdzhhQjr/ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=D2+0wX59; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672919691; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=JFHu7IOuLhhjR18jW7Rm4/kQ0b4swck94fZ8jJKDZdM=; b=rB5qRWHOjkR7qdlek+NdKqdFttqmt+FKVg1u+F/KehO4luYEgA25wRfaIGx0fqcZAFHxT+ yJM+GDFEk94si3SNlRT6ezgrEM4/HcGK++0f3mpyVxWjB08AqY3k50XsG5qHK0/QN1enow sHz5P0P9mw/DyLtjXhwL2exUeR+5MaHXKW6g2tT5La21fYUF5iE2X2h+4FHw+sJu7+hSzL x31h+9ArgoUW1AODjJ/63Q53R0ty/fIaXmETcBSPCzoFGsSxkkJO8W7XKHFaIm+FqIDKeF 76ux7kKyiBispD6c4riJjGVCxa4DiQXejrW9XIyyEYzrzR/bXhR1BSy8W91Yqw== X-Spam-Score: -6.61 X-Migadu-Queue-Id: 961D0100B8 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=D2+0wX59; 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=posteo.net X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.61 X-TUID: iKaKy42z0YXL contrapunctus writes: > I have the following test file - > ```org > #+CAPTION: caption 1 > [[file:img/orig/img1.jpg][file:img/small/img1.jpg]] > #+CAPTION: caption 2 > [[file:img/orig/img2.jpg][file:img/small/img2.jpg]] > #+CAPTION: caption 3 > [[file:img/orig/img3.jpg][file:img/small/img3.jpg]] > #+CAPTION: caption 4 > [[file:img/orig/img4.jpg][file:img/small/img4.jpg]] > ... > ... > But with Org v9.6, M-x org-html-export-to-html numbers each caption as - > > Figure 1: caption 1 > Figure 2: caption 2 > Figure 1: caption 3 > Figure 1: caption 4 > ... Duplicate of https://orgmode.org/list/CAFyQvY342ee8OgWVQdv=z3V1_3rgLttb2S0v27JLjF0KiMH0qA@mail.gmail.com -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at