From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id UG9mG7uLNGaKlAAAqHPOHw:P1 (envelope-from ) for ; Fri, 03 May 2024 09:01:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UG9mG7uLNGaKlAAAqHPOHw (envelope-from ) for ; Fri, 03 May 2024 09:01:15 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protesilaos.com header.s=gm1 header.b=e3H2Q9hJ; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714719675; a=rsa-sha256; cv=none; b=qk2/xz1n9rC1zx3aGyFmWo+OkzYvv24yR0+LjBzEUAlQ81IIfP8OHMk1bKpCuBX7Oz3RtN +ktmIcbsOKOEVl+3+RqGioHX1QFfcLdqclMdjrAd26iE2Atz7kxvtsMoN1Qp1NFe2tpoPT 913iMGdQHQLMocX5RSoNA8MwE0o5D6YpRXIZIOftq5rK8BgA43MP48u0teiFMU+54/09HC g/0Y6sqerJQi/riOCSTZJCLIS8gkO5ER8dxjYrwsxlBLjXthYnct+SEOyTdgoJhvrCEXvi gbPZ+u+v7BTTzwrzO750xmgbyYKRAaXuWLa36A9CsmUvukzrf/jtw/KWOHZsWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protesilaos.com header.s=gm1 header.b=e3H2Q9hJ; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714719675; 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=l/xh8Z149iSVGXHkC1pKasT8kSyZJUP6MMVEMs57uLI=; b=HBlnBPueBP286ZxJSDD6xTwC7Ey2tLhYf1vW0gBuJ6CXsPHLkOy0qn4b+i5yL3XkjJjnrg euw0NjNawsmAXJHAYRXXEBOtYZDihm6Wg4rb3SmkNYIpfF3pgOpkBbmhWbae32ScZqhOrE uGH47/IIYxPhdNmHgjyAoVCFcuxqd/lu/Pz7Ag6M9W/eUr7xN1PKLdYDngjRL5OOuBLQyK 2JE62oFCpRhOGEuvOYxJdThhGN+PxmAp9GH2HeI0VIagwTeMDJEbC6zECilEITQRqXk0S+ 7FHoLja2jnX3jiXLTdC1ytI9//Qy0L2eY3gkkBX6Iy5UNPrqc891kGJU1GcUtQ== 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 19D7313E8B for ; Fri, 3 May 2024 09:01:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2muN-0000oG-Dg; Fri, 03 May 2024 03:00:39 -0400 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 1s2muL-0000hL-S6 for emacs-orgmode@gnu.org; Fri, 03 May 2024 03:00:37 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2muJ-0005pP-Et for emacs-orgmode@gnu.org; Fri, 03 May 2024 03:00:37 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id B3B86FF813; Fri, 3 May 2024 07:00:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protesilaos.com; s=gm1; t=1714719633; h=from:from: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; bh=l/xh8Z149iSVGXHkC1pKasT8kSyZJUP6MMVEMs57uLI=; b=e3H2Q9hJjj8RpnAcoBDYBW7eWD2Y68xRehXGA3CkGV4xkmUM1nlQIewNxKUioJVxO7mR/O yYop1wjMj6KheuV1K6TiEgdCiDksMMWmopUNMDfhbwPVBDGat3FdU6cKnqJCnbnepGcz+y vDNVr5hts+uSFTW46QFsLGbccoVOP7G1Qy3+lTt4cbflntaqaud4ndXXJUONx0UA3xsQw5 KBZiWZ6FHp8+BF5Oi0kjFIr1zd3DzUUIc6pzmiaz5j88oIC7J5ryAUOfQWY5ah1K0BJ0Y6 fhe1in9E1nu+ZPKTzeYd1YzKhHyW5vdL3lrF1yc+yr0iGNoASYMALt4V4XwY3Q== From: Protesilaos Stavrou To: Ihor Radchenko Cc: emacs-orgmode@gnu.org 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/)] In-Reply-To: <87cyq9lrb9.fsf@localhost> References: <877chcyz36.fsf@protesilaos.com> <87o7anop4i.fsf@localhost> <87y19lfzwv.fsf@protesilaos.com> <875xwpe1c5.fsf@localhost> <875xwngiwx.fsf@protesilaos.com> <871q79cqgf.fsf@localhost> <87cyqcv9q1.fsf@protesilaos.com> <87cyq9lrb9.fsf@localhost> Date: Fri, 03 May 2024 10:00:30 +0300 Message-ID: <87h6ffcrch.fsf@protesilaos.com> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: info@protesilaos.com Received-SPF: none client-ip=217.70.183.199; envelope-from=info@protesilaos.com; helo=relay9-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=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 X-Migadu-Queue-Id: 19D7313E8B X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.39 X-Spam-Score: -9.39 X-TUID: aLi2nMqjF/eD > From: Ihor Radchenko > Date: Sun, 28 Apr 2024 10:22:50 +0000 > > 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 the bottom of the file were still using >> the ordinal HTML id, which did not correspond to the href with the >> label. >> >> 2. If the file had a mixture of labeled and anonymous/unlabeled >> footnotes, then the export would break as it would be passing a nil >> value to 'string-to-number'. >> >> Please let me know how to proceed. > > Applied, onto main, after squashing the patches together. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=065af4b42 > Handled. Thank you! -- Protesilaos Stavrou https://protesilaos.com