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
Protesilaos Stavrou writes:
>>> Since we are now using labels for the HTML export, I think it makes
>>> sense to optionally use those for the anchor tags as well.
>> ...
>> We can indeed add such option, but is it of any practical use?
>> Do you have examples of workflows when such new option
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
On 03/05/2024 13:59, Protesilaos Stavrou wrote:
From: Max Nikulin Fri, 26 Apr 2024 16:53:23 +0700
Another option may be to rely on the existing one:
`org-html-prefer-user-labels'
Yes, sure. It is fine to reuse an existing user option. Though reading
through its docstring and the code, I
> From: Ihor Radchenko
> Date: Sun, 28 Apr 2024 10:37:58 +
>
> Protesilaos Stavrou writes:
>
>> Since we are now using labels for the HTML export, I think it makes
>> sense to optionally use those for the anchor tags as well.
>>
>> See the attached patch for a possible way of doing this.
>>
> From: Ihor Radchenko
> Date: Sun, 28 Apr 2024 10:22:50 +
>
> Protesilaos Stavrou writes:
>
>>> See the attached tentative patch.
>>
>>> [... 144 lines elided]
>>
>> Thank you! I just tried it. I encountered two problems with it, which I
>> am addressing with the two attached patches (feel
> From: Max Nikulin
> Date: Fri, 26 Apr 2024 16:53:23 +0700
>
> On 26/04/2024 15:17, Protesilaos Stavrou wrote:
>> Since we are now using labels for the HTML export, I think it makes
>> sense to optionally use those for the anchor tags as well.
> [...]
>
>> +(defcustom
Protesilaos Stavrou writes:
> Since we are now using labels for the HTML export, I think it makes
> sense to optionally use those for the anchor tags as well.
>
> See the attached patch for a possible way of doing this.
>
> As always, you are welcome to make any further changes.
We can indeed
Ihor Radchenko writes:
> Protesilaos Stavrou writes:
>
>> With regard to the disambiguation scheme, I am playing around with
>> various scenaria to see how Org HTML export behaves. Using the
>> following:
>> ...
>> This is test 2 > role="doc-backlink">1
>> ...
>> This is test 3 >
Protesilaos Stavrou writes:
>> See the attached tentative patch.
>
>> [... 144 lines elided]
>
> Thank you! I just tried it. I encountered two problems with it, which I
> am addressing with the two attached patches (feel free to modify as
> needed). In short:
>
> 1. The footnote definitions at
On 26/04/2024 15:17, Protesilaos Stavrou wrote:
Since we are now using labels for the HTML export, I think it makes
sense to optionally use those for the anchor tags as well.
[...]
+(defcustom org-html-footnote-use-label-for-anchor-text nil
Another option may be to rely on the existing one:
Hello again!
A follow-up on the patches below:
> From: Protesilaos Stavrou
> Date: Fri, 26 Apr 2024 10:55:50 +0300
> [... 41 lines elided]
> Thank you! I just tried it. I encountered two problems with it, which I
> am addressing with the two attached patches (feel free to modify as
> needed).
> From: Ihor Radchenko
> Date: Sat, 13 Apr 2024 14:00:48 +
>
> Protesilaos Stavrou writes:
>
>> With regard to the disambiguation scheme, I am playing around with
>> various scenaria to see how Org HTML export behaves. Using the
>> following:
>> ...
>> This is test 2 >
Protesilaos Stavrou writes:
> With regard to the disambiguation scheme, I am playing around with
> various scenaria to see how Org HTML export behaves. Using the
> following:
> ...
> This is test 2 role="doc-backlink">1
> ...
> This is test 3 role="doc-backlink">1
>
> Notice that the
> From: Ihor Radchenko
> Date: Wed, 10 Apr 2024 14:31:22 +
>
> Protesilaos Stavrou writes:
>
>> Though I should have clarified my intent earlier: the idea is to use the
>> label as a fixed reference to the footnote, so that the link does not
>> change between exports. This is the same
Protesilaos Stavrou writes:
> Though I should have clarified my intent earlier: the idea is to use the
> label as a fixed reference to the footnote, so that the link does not
> change between exports. This is the same principle as what we do with
> links to headings that have a CUSTOM_ID.
>
> As
Thank you Ihor for looking into this!
> From: Ihor Radchenko
> Date: Fri, 5 Apr 2024 14:33:49 +
> [... 13 lines elided]
>> I looked into the ox.el and noticed that the export data does include
>> the labels. But 'org-html-footnote-reference' does not have a call to
>> get the label: it
Protesilaos Stavrou writes:
> I have an Org file with contents like the following:
>
> This is a test 1 [fn:n24aa:These are the contents] and here is more.
>
> When I do an HTML export, the footnote's label (n24aa) is not preserved
> in the exported HTML. Is this intended behaviour? I was
Dear maintainer,
I have an Org file with contents like the following:
This is a test 1 [fn:n24aa:These are the contents] and here is more.
When I do an HTML export, the footnote's label (n24aa) is not preserved
in the exported HTML. Is this intended behaviour? I was expecting it to
keep the
19 matches
Mail list logo