From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CLGAKkLA4mZ4RgAA62LTzQ:P1 (envelope-from ) for ; Thu, 12 Sep 2024 10:19:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CLGAKkLA4mZ4RgAA62LTzQ (envelope-from ) for ; Thu, 12 Sep 2024 12:19:46 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=JuK2Tiic; 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=1726136386; 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=G6Fzmuw+9t3lRqmg7nrlTGjfvhFFbrVXPOT377//1IE=; b=kG5c1w/pe5NBYk0ggPacl99GJ4kJeP1h9Lmcv90225yxXFJMdbClO0wJ4YnfnloE2UCyxv Y/4bn4nJZ67Cm6Rptfny88I2FzfdQE8/kkdofRilfRfHZb4x9vxBmnaJj/HCPoLeYPxeXZ M63Md0SFiLXQvQoClmCk32RePT/Oz4Mg+O30G0MREtRLE9eaUgQQ4x1KVIG5MlIsJsC9d3 ZQGO/mVyBbTp2kT4dilucrNr7YDvoBqFQ3F1goOceFAKbWkXLUFUb1T/uDssPoz5qWHbFu i89mjMS+hU5i9fpp4u410/jw9e3pJSkaKNdAvQH5JCpVt7qp6xI/wy74Huvb/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726136386; a=rsa-sha256; cv=none; b=Ps4w0QGwCuKBXvldVuUcXiQpII7DzWFOVuxUNB7RmGzL0XZo+pnwA+NevBzb8SgfaH6O+t rAk1B7CAkEG8thWTcOg9gLhOmeo7Qe926fdrJDhcfZ8cDiEO/lyOnKf2lyDz2nEzFGqklL l3rYhevFzjhztD9vdQ7A7mTW0B5hYUFRiHSoQns0UM0kfTDoAkoJW5PP3o5UT8c/Cb21Gt o3lHFK+SRWIh65MQ85nMf39I/Fc9sjphIoa6dqWDPQdJfIjROnrA4/ZZ9SKt3FAGslz8f5 htqCRcbEBl31m9muLB9eTTLqaCg4iTXOvhdl8qUczg/5xeDJZ2TkzC8oTvbIHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=JuK2Tiic; 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 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 4D85B7A46E for ; Thu, 12 Sep 2024 12:19:45 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soguc-0004WZ-U8; Thu, 12 Sep 2024 06:18:54 -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 1sogub-0004WQ-6J for emacs-orgmode@gnu.org; Thu, 12 Sep 2024 06:18:53 -0400 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 1soguX-0000vE-O9 for emacs-orgmode@gnu.org; Thu, 12 Sep 2024 06:18:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A88F6240101 for ; Thu, 12 Sep 2024 12:18:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726136323; bh=G6Fzmuw+9t3lRqmg7nrlTGjfvhFFbrVXPOT377//1IE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=JuK2TiicsWPRV31igGtarvVGWPSaKRtv9gghjYigOtMGgjiSJeSS9C7ydIJBa5p58 uNDLolMNt2uBZs8Ie498DW7chd71WBhh+kVdJbKg1AyrgdhgfG2q4HI0VTachVs0HM WLl5+ovoEMCH3qE6EbxDtwFsmn4P8KtcO2B6r1T8V6YKbyd3F5pBxa3pX5yuSiOd8l jcNTY0OKi+AQd9fvKcTGWtJrmKJdKPgsf8D5c4hQc6gYXrMT6Dn2qBJvQHmqzGHkI5 nNIJ1kA9ozFHr2Puk+wHFKTsMEWCKWHL362hJKClYYupfGi9I5pFQ+sugt4QM6pyPX rDGr0d3oixT2Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X4D1H18T2z9rxL; Thu, 12 Sep 2024 12:18:42 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: 8dcc <8dcc.git@gmail.com> Cc: emacs-orgmode@gnu.org Subject: Re: Customize list of blocks that use "\footnotemark" in `org-latex-footnote-reference' In-Reply-To: <87bk0u9k6l.fsf@gmail.com> (8dcc.git@gmail.com's message of "Wed, 11 Sep 2024 19:25:38 +0200") References: <87bk0u9k6l.fsf@gmail.com> Date: Thu, 12 Sep 2024 10:18:40 +0000 Message-ID: <87r09p89a7.fsf@posteo.net> 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=maciaschain@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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.21 X-Migadu-Queue-Id: 4D85B7A46E X-Spam-Score: -10.21 X-TUID: mRMlHML/KSgL 8dcc writes: > I am exporting an Org file that contains a large verse block to > LaTeX. This verse block contains footnotes, but they appear in the page > where the LaTeX verse environment ends. I looked at the exported .tex > file and I noticed that it was using "\footnotemark" and > "\footnotetext[N]{...}", instead of "\footnote{...}". Hello, I seem to remember that the problem you describe goes back to how Org understood the footnote text. When exporting to LaTeX, each line of a footnote was understood as if it were a verse, and Org added \\ at the end. Hence the use of \footnotemark and the =E2=80=98org-latex--delayed-footnotes-definitions=E2=80=99 function. I agree that using \footnotemark can cause problems, especially on long runs of verses. I think the solution here would be to use a function similar to org-latex--delayed-footnotes-definitions, which would preserve the content of the notes in a list, and format them as a \footnote at the end, when the block has already been built in Latex. The case of tables is different. In the longtable environment you can use footnote without problems, except in the row-header. In other environments it usually gives unexpected results, especially when tables are used as float. In a float table, however, I would not use normal footnotes via \footnotemark but the solution from the threeparttable packag= e. Best regards, Juan Manuel -- Juan Manuel Mac=C3=ADas -- Composici=C3=B3n tipogr=C3=A1fica, tratamiento d= e datos, dise=C3=B1o editorial y ortotipograf=C3=ADa