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 OPbtLpSln2e7nAAA62LTzQ:P1 (envelope-from ) for ; Sun, 02 Feb 2025 17:04:20 +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 OPbtLpSln2e7nAAA62LTzQ (envelope-from ) for ; Sun, 02 Feb 2025 18:04:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dby1qa94; 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=1738515860; 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=QYE2jhBi/iHiE3vYg1dRhLIdc95ckz91YcWiFFz2rPc=; b=NAwIqtqyQuE0JPFJoYd1UvAaLi2mQrpE+jXIfHATMnrTLuSjgjjrHvvMDJrGAhWaSxNu6h oClKIaEMhP54QPcdrEcc1K2NI8MCbSFUMSe8qIXf+ExZIj4mh+iIEESSkBqLI9e4biEufE 8eOFlw78CcGAJYX+vmzeEv/rj8JlOzQIXcm/onb5xAODT2kFkmeO706ct7MmhA1Z4O9udM OKz2KdpCj/4gmJhtFMnaXq5+nckgYOG+mtqVxNfqUB/Y8+e+lC3CvVZnVRpF+EABbodX7Q VCUL9bVZ9SP+Td5kvFiyndhZeBgqOVJPcFqK7A/2EUIGnGa5i8f4du8Pc3fg5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dby1qa94; 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=1738515860; a=rsa-sha256; cv=none; b=tum+1aufVGzSns5+R3w2H3GtHMZ81sPZUKXIJ1xTpd6VXW31ZLxGdw2ar0On3wAZZMPzvD Ewc6XLLbz58BppM6Mrs//r3ayfiMil0oORydOs961vZYXEuBGvHLq/95Su7XMi/mH+dt22 n8S3bjUJ9ws+H02qHVDRxbmEqlJcB+F48xI9n9eTKflGwru3IPZH/MU1UYOPP/cIQuKo1j BRCUEJzGWo4brM/fIX1lEP377BvNKSl1XQl3svy8YfdWm7MZFC/tOYdxFfL074R4CjGgUj UOz2M2Vf50j/fE2RCeD7P3BCxcB6K9oCE+kQIgLv4rI9x9YFfSmgoiKiMVtIDw== 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 AC3EA7FD7 for ; Sun, 02 Feb 2025 18:04:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tedNb-0001cB-HX; Sun, 02 Feb 2025 12:03:33 -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 1tedNP-0001a4-S7 for emacs-orgmode@gnu.org; Sun, 02 Feb 2025 12:03:20 -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 1tedNM-0008I6-02 for emacs-orgmode@gnu.org; Sun, 02 Feb 2025 12:03:19 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C97A2240101 for ; Sun, 2 Feb 2025 18:03:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1738515793; bh=QYE2jhBi/iHiE3vYg1dRhLIdc95ckz91YcWiFFz2rPc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=dby1qa94bvoOcnmh2Nop+r5X9KQ9pvBulN8kbylS4MNQJliHCdiuuZkV6qOxivfH1 MdVJWLIUkfiwDVTufnNquGkW0yKfrZTOuY2cxhyDyBlfjhpVCboUfGpHlYoncktvk2 tpVwVIlvt+NGXd6hCHqnJR7kCMv4pmXM6FOto2dv0YnmCgY0O2U8kvGMSnXn83Yk12 uGl8G4H07XWzlTi62lF0RfuCXNKB7I0pK/prT7lw8oPd/wdnrt9MyyiXa6o3I5bemf jIQMJSOQNjaCOLHiiInmP6wjMjFKjrxgGqs3m65mubLo1C0RTbT6qWnVjOyT731HVQ nis1VDh/IYhDg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YmGD11fK1z6trs; Sun, 2 Feb 2025 18:03:13 +0100 (CET) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: 8dcc <8dcc.git@gmail.com>, emacs-orgmode@gnu.org Subject: Re: Customize list of blocks that use "\footnotemark" in `org-latex-footnote-reference' In-Reply-To: <87o71015kv.fsf@localhost> References: <87bk0u9k6l.fsf@gmail.com> <87r09p89a7.fsf@posteo.net> <87o71015kv.fsf@localhost> Date: Sun, 02 Feb 2025 17:05:26 +0000 Message-ID: <87frkw1dm1.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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.90 X-Spam-Score: -5.90 X-Migadu-Queue-Id: AC3EA7FD7 X-TUID: R4U6uFts95sy Ihor Radchenko 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{...}". >> ... >> 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. > > Please try the attached tentative fix. > I limited special verse contents processing to plain-text directly > inside verse blocks (as in Org AST), except plain text inside inline > footnote definitions. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D3218d376fa --=20 Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at