From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Protesilaos Stavrou <info@protesilaos.com>
Subject: Re: [BUG] HTML export does not preserve footnote label [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/30.0.50/lisp/org/)]
Date: Sat, 4 May 2024 00:29:53 +0700 [thread overview]
Message-ID: <52285507-e052-4790-9993-0bc0372ea504@gmail.com> (raw)
In-Reply-To: <87r0ejtadq.fsf@localhost>
On 03/05/2024 18:14, Ihor Radchenko wrote:
> Max Nikulin writes:
>
>>> Yes, sure. It is fine to reuse an existing user option. Though reading
>>> through its docstring and the code, I cannot tell what this is doing
>>> exactly. Is it applying to all HTML elements, or just headings?
>>>
>>> On my end, I have that option set to nil, but exported headings do use
>>> their CUSTOM_ID.
>>
>> It seems it was broken by
>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=5e9953fa0e
>>
>> `user-label' is set to CUSTOM_ID when it is set, so checking the
>> variable is not effective any more.
>
> Nothing is broken. CUSTOM_IDs for _headings_ were used unconditionally.
>
> org-html-prefer-user-labels
> ...
> Independently of this variable, however, CUSTOM_ID are always
> used as a reference.
My bad. I believed that this option is (or was) necessary to get anchor
names as CUSTOM_ID, but I have tried Org-9.1.9 and I see elements having
id attribute with CUSTOM_ID values.
next prev parent reply other threads:[~2024-05-03 18:11 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-05 8:48 [BUG] HTML export does not preserve footnote label [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/30.0.50/lisp/org/)] Protesilaos Stavrou
2024-04-05 14:33 ` Ihor Radchenko
2024-04-10 7:19 ` Protesilaos Stavrou
2024-04-10 14:31 ` Ihor Radchenko
2024-04-12 7:05 ` Protesilaos Stavrou
2024-04-13 14:00 ` Ihor Radchenko
2024-04-26 7:55 ` Protesilaos Stavrou
2024-04-26 8:17 ` Protesilaos Stavrou
2024-04-26 9:53 ` Max Nikulin
2024-05-03 6:59 ` Protesilaos Stavrou
2024-05-03 10:53 ` Max Nikulin
2024-05-03 11:14 ` Ihor Radchenko
2024-05-03 17:29 ` Max Nikulin [this message]
2024-04-28 10:37 ` Ihor Radchenko
2024-05-03 9:07 ` Protesilaos Stavrou
2024-05-03 11:28 ` Ihor Radchenko
2024-04-28 10:22 ` Ihor Radchenko
2024-05-03 7:00 ` Protesilaos Stavrou
2024-04-28 10:36 ` 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=52285507-e052-4790-9993-0bc0372ea504@gmail.com \
--to=manikulin@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=info@protesilaos.com \
/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).