From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cKvVCZmqs2VTdAEA62LTzQ:P1 (envelope-from ) for ; Fri, 26 Jan 2024 13:50:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cKvVCZmqs2VTdAEA62LTzQ (envelope-from ) for ; Fri, 26 Jan 2024 13:50:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DMf+U5Ay; 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=1706273433; 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=/1eeUKc8dhd8Ztg2cW9o+Bvz582a6ct/WscNeBUxImc=; b=W1zqPuQRncJV6X6lDncSZ3KIV1WIXipmnoUFHKlvEWVR954dsfOuGCYg812pRPQSorVZEZ sr5Ih3FJlX+RPp2BgcPee2dKTyB3VpeT1gHzpGOfViVoPSAjEegfASpP9HLLqwFM6xTNrR tFPE4PvJZc3h6aCOreETI66HUd4TL3bgk/h1uuwLRVkEC+tl9YFuJKBb6mFYU/djGsQdux V28Uj322mdNXCaaqsd7gpJ3loDGcpUaFH9QRwmjN3HLLpFSzTb4kiI3ppHkqUlIiiYzQi9 7dRulwqDr3jzjAwleBX+jklKYkxSIgKkoHLcA9I32C+7AbH4WepmDUjmNzOsZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DMf+U5Ay; 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=1706273433; a=rsa-sha256; cv=none; b=a9httP9LggtfC0Q2LIwYfE76T/AoOSAfCPD6CgY5gsuwj4iI7bPS+A1YpEe0F2SeWPQhSL vKdFXYqiR2oaXLTlTfyaBcfot7JnUIPdACJqWYf1zBUCIA4Kksis6lTxgoVDJLwm89aXKh +nyHNu4QzsAK/Hm/ru61KLFYGpV8fEu3UAY0obcQVADk4PGjrmqu7DOga7Cr40sRTH6OkX lYFLneDtmFEgZUiinnQ+XAY7Q+fTMa3s4FUCmBOpU+ErTw+WiSmim+bhLsjc+QHdjCA0R5 CD0q2/oGtW+F9jhjwVYyz6spxu/FXDTLoQP703l5uriBJE43SM2qIUigyLUaAw== 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 165695D569 for ; Fri, 26 Jan 2024 13:50:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTLeU-0007y2-Ky; Fri, 26 Jan 2024 07:49:46 -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 1rTLeS-0007xt-8a for emacs-orgmode@gnu.org; Fri, 26 Jan 2024 07:49:44 -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 1rTLeO-0005Hm-Qn for emacs-orgmode@gnu.org; Fri, 26 Jan 2024 07:49:43 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id DE941240104 for ; Fri, 26 Jan 2024 13:49:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706273376; bh=yrLUkFcKEu1DXfste40RVenPhfi287dHUPzirynEDFg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=DMf+U5AyqiUvAx0hIrY44ng34hVX1bgAVjeeSAuxUAdLnp0SOfeb94a7zYznAGirJ sIJemSbyt5fn5KuRDSkTR/L8tbKN9qExA/f828nTDjy9HqRsC0uIC5Xig5Z4EqNV0j a9UgOlce6IIy5nhidcZ8a/85bN0QQ6Rr8zUaNy2m9nIoIAMsTIV8RP9cszNJ8Q1Up1 6fggeCFALbs+e4aqYYjQie+kbLubmEV2rErMss4QKdSk82dBnaPZK3DJAGjDXzBGvT 7Rt/G/O0kzQnOsvEd6s1kEWVuAagE2mmUa17yEp5BsiihS/zCFNCBIIJ6gz1GgeiA6 SNnhgry9QYwnw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TLyFW4Yxvz6tvh; Fri, 26 Jan 2024 13:49:35 +0100 (CET) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: Colin Baxter , Max Nikulin , Eric Anderson , ihor Timothy , orgmode Subject: Re: [BUG] Footnotes in section titles In-Reply-To: <874jf24u3r.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> Date: Fri, 26 Jan 2024 12:53:08 +0000 Message-ID: <875xzgfe8b.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_H5=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: -7.04 X-Migadu-Queue-Id: 165695D569 X-Spam-Score: -7.04 X-Migadu-Scanner: mx11.migadu.com X-TUID: kYR8uKzCJegP Juan Manuel Mac=C3=ADas writes: > ... > \title{Lorem ipsum dolor\thanks{blah blah}} > ... > > Org does not have support for this type of notes in the #+title or > #+author keywords. For LaTeX you can use a macro. Hmm. The reason footnotes are not allowed in #+title and other keywords is https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D7ebe87e2d= 5fb6c Inserting footnote references in parsed keywords (e.g., TITLE or CAPTION) can lead to subtle bugs. Indeed, it is impossible to know in time if that particular footnote is going to be used in the output, and, therefore, if it should count, e.g., in `org-export-get-footnote-number'. However, I am not sure about that line of reasoning - we generally don't know if *any* given footnote reference is going to be used in the output or not because export backend may skip references or whole parts of the original Org file. Same for user filters. So, I am leaning towards reverting that commit - that will allow things like #+TITLE: This is a test title[fn::This is test] If we need special handling for footnotes in title (like using \thanks instead of \footnote), it is easy. > ... For backends like odt > it is trickier. Look at this thread: > > https://lists.gnu.org/archive/html/emacs-humanities/2024-01/msg00000.html > > I think it would be nice if Org had some kind of support for notes in > #+title and #+author... No idea about how to do it in ODT. If someone familiar with OpenDocument spec can help, it would be welcome. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at