From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mNaFJHJOy1/0RwAA0tVLHw (envelope-from ) for ; Sat, 05 Dec 2020 09:10:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mF1JIHJOy1+qIgAAbx9fmQ (envelope-from ) for ; Sat, 05 Dec 2020 09:10:10 +0000 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 0B2AB9402A9 for ; Sat, 5 Dec 2020 09:10:09 +0000 (UTC) Received: from localhost ([::1]:54262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klTZw-0005mj-P3 for larch@yhetil.org; Sat, 05 Dec 2020 04:10:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klTZO-0005ma-3O for emacs-orgmode@gnu.org; Sat, 05 Dec 2020 04:09:34 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:60569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klTZK-0008F4-T2 for emacs-orgmode@gnu.org; Sat, 05 Dec 2020 04:09:33 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 37F38C0003; Sat, 5 Dec 2020 09:09:23 +0000 (UTC) From: Nicolas Goaziou To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Subject: Re: Footnote definition within a verse block has spurious line breaks when exported to LaTeX References: <87sg8prant.fsf@posteo.net> Mail-Followup-To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , orgmode Date: Sat, 05 Dec 2020 10:09:22 +0100 In-Reply-To: <87sg8prant.fsf@posteo.net> ("Juan Manuel =?utf-8?Q?Mac=C3=AD?= =?utf-8?Q?as=22's?= message of "Tue, 01 Dec 2020 13:08:38 +0100") Message-ID: <87360kpqkd.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.198; envelope-from=mail@nicolasgoaziou.fr; helo=relay6-d.mail.gandi.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.29 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 0B2AB9402A9 X-Spam-Score: -2.29 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: 8rkgUX0IlTES Hello, Juan Manuel Mac=C3=ADas writes: > When a verse block includes a footnote reference, the=20 > corresponding footnote definition is > understood in the LaTeX export as if it were part of the verses.=20 > In other words, every > line in a =3D\footnote{}=3D macro ends with the string =3D\\=3D, and the= =20 > spaces between paragraphs are understood as spaces > between stanzas (\vspace*{1em}). If the text of the footnote=20 > definition contains one or more filled > paragraphs, then the export result is catastrophic. > > For example, if we have something like this: > > #+begin_src org > ,#+begin_verse > lorem > ipsum[fn:1] > dolor > ,#+end_verse > > [fn:1] Lorem ipsum dolor sit amet, consectetuer adipiscing elit.=20 > Donec hendrerit tempor > tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt=20 > et, mattis eget, > convallis nec, purus. > > Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec=20 > hendrerit tempor tellus. > Donec pretium posuere tellus. Proin quam nisl, tincidunt et,=20 > mattis eget, convallis nec, > purus. > #+end_src This is hopefully fixed in master branch. Let me knows if it works for you. Thank you for the report. Regards, --=20 Nicolas Goaziou