From: contrapunctus <contrapunctus@disroot.org>
To: emacs-orgmode@gnu.org
Subject: [BUG] ox-html: incorrect figure numbers [9.6 ( @ /home/contrapunctus/.emacs.d/elpa/org-9.6/)]
Date: Wed, 04 Jan 2023 21:50:56 +0530 [thread overview]
Message-ID: <87y1qitgnr.fsf@disroot.org> (raw)
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
https://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------
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]]
...
```
With Org v9.5.5, M-x org-html-export-to-html numbers each caption as -
Figure 1: caption 1
Figure 2: caption 2
Figure 3: caption 3
Figure 4: caption 4
...
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
...
Emacs : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.35, cairo version 1.16.0)
of 2022-12-20, modified by Debian
Package: Org mode version 9.6 ( @ /home/contrapunctus/.emacs.d/elpa/org-9.6/)
next reply other threads:[~2023-01-05 11:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-04 16:20 contrapunctus [this message]
2023-01-05 11:54 ` [BUG] ox-html: incorrect figure numbers [9.6 ( @ /home/contrapunctus/.emacs.d/elpa/org-9.6/)] Ihor Radchenko
2023-01-05 11:55 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1qitgnr.fsf@disroot.org \
--to=contrapunctus@disroot.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).