From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OL+EBhAfvWUGYAAA62LTzQ:P1 (envelope-from ) for ; Fri, 02 Feb 2024 17:57:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id OL+EBhAfvWUGYAAA62LTzQ (envelope-from ) for ; Fri, 02 Feb 2024 17:57:52 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FtVq82Co; 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=1706893072; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TfUQbynlVwCL+L17sQRXZXBi0xBUCIQhr0Q7zvONDl8=; b=fEf/mxeDYCaSOYYoL5EVLwk2xkAV4rrLC40JKgHQsKPvw74j4KmH5CB2Eb0ij4uCse0UZV RLtey7gJclBbVGUQxdXNjYOdJmLRdB9Q5cKyzCazxGzTWfAe9yrz7rGiVXzolNN251bRK5 WCI60CKd3nNzM8Ht96pfl3lKJD8T0YJni8ihx2t4Arap82FYNUXcX++mchoiSbdMPoG1ri SjpHuAP48f9xleoLMNF+BHTxgIQQ5o3KWKZkEGyfswyW6xYH2PqkFDjTEGCg45gjbIR6Kz jVkXKhRPTGDYfDMFNF3GOKpWl+BR1yQsNKKC8C30SobJ5FhMM7wPr3IJmmI6ow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FtVq82Co; 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-Seal: i=1; s=key1; d=yhetil.org; t=1706893072; a=rsa-sha256; cv=none; b=ZfIhnpVQPBC0CZW5gRztkp8YjgeHkvvbJmon9e/FoPilzpZoxAixF/PwiPS89EzkkYwxk+ a8SBAfDRlNgI6ok6AEu8CAdD2pFBhf1jOCl9r5LZjJ6FazGIzLcYskk2SmZVeVZYrzY52k kFqwNxZx7CB/puwEkkoHlJKITDgd92IvhuKovBNXnX0+BT6lMCWG0pGol0ndEZRDqy05dj dso7CabmLGtNxYC1jhEAyWzpzmFspYe2JUWUxg1u8SXR7s+nLk8ZqHqR8rrPkJeHYdH0N7 n1P2BY2Ew0nLIWW7qTAOfINRF0RB3S08dQuXUEkO80vwZQAoLkszBOAc+MRAgA== 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 E412E3F945 for ; Fri, 2 Feb 2024 17:57:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVwqS-0003T7-MR; Fri, 02 Feb 2024 11:56:52 -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 1rVwqP-0003Qx-CR for emacs-orgmode@gnu.org; Fri, 02 Feb 2024 11:56:50 -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 1rVwqN-0004uw-9W for emacs-orgmode@gnu.org; Fri, 02 Feb 2024 11:56:49 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 2D062240103 for ; Fri, 2 Feb 2024 17:56:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706893005; bh=TfUQbynlVwCL+L17sQRXZXBi0xBUCIQhr0Q7zvONDl8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=FtVq82CoCYaHdo7z+pCGAYz8ggSefamKe4Go7WFfoNj0445CkvaTBak+xv/GJH1Tq PKrONKe6ERuLhPM5WOQ2kTwoeWduwIYXKJc44fEAKyEDbdVSMV0kw43XRj3ZSsm4rO Yfu0nh1WieRxgZuHsq8DdDGP8TRBJ8KqSF8jZQpJNZC/sZgGJR2liq3evhgW3O/mG/ L1IXML188jIsB6/LXw19OwYfwjrqXORVJu3GrE1Blm2LVVovXsPLFA7kaLinnQYeOP VUEImv6dzKJ67HzL4fdbZyaFW+GbgHBd6tFTJcsxGwADok/uRSv5E6UvLNb/TE8poo oxqrw2bbLJ4DA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TRMPS3Sbxz9rxF; Fri, 2 Feb 2024 17:56:44 +0100 (CET) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: [DISCUSSION] Allowing footnote-references inside parsed keywords (#+AUTHOR, #+TITLE, etc) In-Reply-To: <878r44m650.fsf@posteo.net> References: <87sf2ngcd2.fsf@localhost> <691643eb-49d0-45c3-ab7f-a1edbd093bef@gmail.com> <878r4e4uy0.fsf@posteo.net> <87h6j2vjd0.fsf@yandex.com> <874jf24u3r.fsf@posteo.net> <875xzgfe8b.fsf@localhost> <87le84i6qz.fsf@localhost> <878r44m650.fsf@posteo.net> Date: Fri, 02 Feb 2024 17:00:13 +0000 Message-ID: <874jequ7he.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.93 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -6.93 X-Migadu-Queue-Id: E412E3F945 X-TUID: wuyxC6sdMKmR Juan Manuel Mac=C3=ADas writes: >> #+AUTHOR: John Doe[fn::935 Pennsylvania Avenue, NW Washington, D.C. 2053= 5-0001] >> it is probably not exported as expected anyway. > > How about using dedicated keywords? Something like: > > #+FN_AUTHOR: footnote text > #+FN_TITLE: footnote text What if you have multiple authors? If you mean #+AUTHOR: author1 #+FN_AUTHOR: footnote for author 1 #+AUTHOR: author2 #+FN_AUTHOR: footnote for author 2 , it is actually problematic because the code concatenates the values of #+AUTHOR keywords before processing, and it is hard to know which author corresponds to which footnote. If we really need something safe, pre-processing values in ox.el and producing backward-compatible :author value and addition :author-w-footnotes value in the export INFO plist would be more reasonable and less ugly. Still ugly though. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at