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 ms13.migadu.com with LMTPS id AJ07GD6c4mZbZQAA62LTzQ:P1 (envelope-from ) for ; Thu, 12 Sep 2024 07:46:06 +0000 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 AJ07GD6c4mZbZQAA62LTzQ (envelope-from ) for ; Thu, 12 Sep 2024 09:46:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Bv3dc8fg; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726127166; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rzJ51vC9f67PEtapwhgw4lUs0sL6Ka2rYGq8cy3Xol0=; b=dg6fDboL7LZKHIFIsjOcE6nYlXajvKmiXLGrCCJ024gt5fCClxChZ/SLFtvq+0SznmRFD/ EShJpiHWA3mCYjMaaDiUFSAG6nuH0RoCcmuz8eurSjXHoftT2bKnHFWeTru1I/0PTe8iBk YS548anVZM+kykH2Ca30x4C8UM3Lf8dUSpLkGhONCF/01AQBhZmPVGACRxKepkIgEh+Uus HG1pXANeEwtWSS3uEWKofBpbUJmCkNwjQsQ/fgLAMAzCD9u5EktS2rsYJ/VMf3+8FFTLMs OPZBxt6yNrq7E3C8CcYNin2471vB7+bjXBXERJgyjKpB8FzHRlwdCUEmMe7cjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Bv3dc8fg; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726127166; a=rsa-sha256; cv=none; b=rT/ZT5QfjK941Yq2lxZ3ytFGDLW2ELPeHUH3xLtrpCxrNmhigK2WVLA8EsYHxkACXKJbZJ p196Y5cjTCR9xy1fUnd3d4VAgUugaO76Zfj2+MNjDDKzLAKa9zZPsr6r3c6ypdd/O9PAa5 NF9AgwqenerPR4OrTiZZWQCefmGmLH/K1pFT4pFx3Dl4RrZJkB+kgTAd6FJF+3YK4u5DP0 q+zgg6Hj8YxYTIhCI8rsRIZ70xcJeHmLjvxf0X5mrWL8H+obPkjUR/wW1DfdflvC7bNHbq ghqrtxs5b78q2IsiUVERY61+5hLQHxGduVDCm1wzfO2UmoZj0BUXwdX8qK2Zgw== 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 33D2C161BC for ; Thu, 12 Sep 2024 09:46:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soeUw-00039r-D8; Thu, 12 Sep 2024 03:44:15 -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 <8dcc.git@gmail.com>) id 1soR69-00044v-T7 for emacs-orgmode@gnu.org; Wed, 11 Sep 2024 13:25:45 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <8dcc.git@gmail.com>) id 1soR68-0000zi-DJ for emacs-orgmode@gnu.org; Wed, 11 Sep 2024 13:25:45 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-42cb8dac900so34802815e9.3 for ; Wed, 11 Sep 2024 10:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726075542; x=1726680342; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=rzJ51vC9f67PEtapwhgw4lUs0sL6Ka2rYGq8cy3Xol0=; b=Bv3dc8fgHw1m0B0a2C918Aw3+YfvZIvch1bVSLua7qKRgNmcou+DXklW0NLybAq8cU QNXA9Fs5JfGIn1fImqSn/sOjO7wg7y2d6VTQoFqv5SeF9WO9fbdhHfp2pGjQPlpYNeUe LMbwjNZyxsm1fgLCy55fASyVTEV/BhiHa4gXqB7OFoNROHpgH4WJGCXO458y3Xyiap92 TwTpEnzHp0wkVJnwy3rjV7kQN7OoqXGYOBO3R+Z8zfSkdoX+ualQYb0IaFhEixKNW6XL Vh0WLyQkoNYB2U3euUJYB2U8tU1emQcRUDZXf1ZWAaVdbwG3U8HWpXpvEZ4Ci8M9opNb PVAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726075542; x=1726680342; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=rzJ51vC9f67PEtapwhgw4lUs0sL6Ka2rYGq8cy3Xol0=; b=QEIit1Vz26rbOUPFIt2fKDCmjiaqyQgy7hiD1RpL9DDrM8y7KtQG40QvIz+uOlr3MR tBJtnoIVLudHukX2zwvFG7foIVO6nJU6l+e9m4MKkFUwnhuAJzA0zvJlcagKIfNAGloM qskonNuyTNT2KPB5+1EHiY+5N1kS++08pNKcKNaTWn0HAJbHWVFdGf1iTaJmw3nbZ0JI uyX40WA9S0J3Flu/nVn/hrC3pHM14quxbpCu/J35qEYXYB4vacWZGAnybncZUPe02chY vmAGzt81xJOfTsudqwZgOVtmF3aK+YVaTEDnBk0bRxUAcXWxDKgPBuCmFAxA3P1C2KnI TiLA== X-Gm-Message-State: AOJu0YxP5ealu8VD7mdQonrRzIk3y0K4FVD65Hwyiqk9dWWxwjhUBzIK yUCEsLkAmo76cXIlq0dLjPxBFPv+5XzWGM8DlmpSkRym5Yjz3P2lQIdNiQ== X-Google-Smtp-Source: AGHT+IEhOQP/VqdrB7oKZGzO022b0MgoCwpPlDHndTHlsYlyJ2mJCBLDnCIT+uo/31/CDXcVAlyiNA== X-Received: by 2002:a05:600c:3502:b0:42c:c92a:f157 with SMTP id 5b1f17b1804b1-42cdb509f6dmr2660705e9.3.1726075541155; Wed, 11 Sep 2024 10:25:41 -0700 (PDT) Received: from computer (85.251.97.25.dyn.user.ono.com. [85.251.97.25]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42cb77afd5asm108746715e9.17.2024.09.11.10.25.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 10:25:40 -0700 (PDT) From: 8dcc <8dcc.git@gmail.com> To: emacs-orgmode@gnu.org Subject: Customize list of blocks that use "\footnotemark" in `org-latex-footnote-reference' Date: Wed, 11 Sep 2024 19:25:38 +0200 Message-ID: <87bk0u9k6l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=8dcc.git@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 12 Sep 2024 03:43:28 -0400 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: 33D2C161BC X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -11.91 X-Spam-Score: -11.91 X-TUID: qDTZgNwtbf1P --=-=-= Content-Type: text/plain Hello, 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{...}". If it's not clear what the issue is, simply add a footnote to the first lines of a very long verse block (longer than one page), and export it to PDF. I searched in ox-latex.el and I found the "problem". Inside `org-latex-footnote-reference', the 2nd `cond' clause checks if the reference is within a verse block, among others. It checks this by calling `org-element-lineage' with a quoted list that contains the hardcoded "blacklisted" blocks. I think it would be a good idea to allow the user to customize this list, since I personally don't think this makes sense with a verse block (and probably table cell), for example. Thanks in advance. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIkEARYKADEWIQTUTzhu/xoaL6QFXoQijBBJZTF/mgUCZuHSkhMcOGRjYy5naXRA Z21haWwuY29tAAoJECKMEEllMX+aEGMA/0KzrpOFErcMTqxvNNV70CQthIAZ6s/A 2MoQWpjen8wuAP9bc43/1oNyRkJrH7UBcO5SRp2SpcJ5xh1TwvNZIOBlBw== =Z/kV -----END PGP SIGNATURE----- --=-=-=--