From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CBCMKZ1UYWOUPgEAbAwnHQ (envelope-from ) for ; Tue, 01 Nov 2022 18:17:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KDZvKJ1UYWM8bgEAG6o9tA (envelope-from ) for ; Tue, 01 Nov 2022 18:17:17 +0100 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 6FBF525E16 for ; Tue, 1 Nov 2022 18:17:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opuY5-0000wD-Cj; Tue, 01 Nov 2022 12:55:37 -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 1opuY2-0000w2-Sh for emacs-orgmode@gnu.org; Tue, 01 Nov 2022 12:55:34 -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 1opuXw-000441-9O for emacs-orgmode@gnu.org; Tue, 01 Nov 2022 12:55:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D419124010C for ; Tue, 1 Nov 2022 17:55:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667321722; bh=k3siPfKkZErUMTAi8WUtD8sGsjK1sTMOdBk5y6MRXEs=; h=From:To:Cc:Subject:Date:From; b=KMATq3EHCXsXAm6StjX6Jyyd7dSlW1YKxrwjoJ+mLYD/PjfUv0mv+pcf1aX97Nyi6 Pt69K1K2vt4oNNNSXf3w7tMNLbV/iW2AfRvmiYufnel5JgiFIBJ8/1JYCoWZO1rrTZ zcF6fHCebz0y6lmRhurTPyaBYAogKM9lGg1dD3Ib3tQs8WLREAiRCHqEcFXI24njDN DiuhfmfVMplXIZpfo4pgEaEC9xhtSlRXAeOc5QMN+1KVVKxyyRcWcr0VjXZdFRqVhI eqm623UwQ06eve8A8C9K+sMM7LWmVHYZoJuFFLDVH3985PUc/Zyej32fdtKL0xwIs9 3qmk2rkHvSpTg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N1x3G08Zfz6trM; Tue, 1 Nov 2022 17:55:21 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Maxim Nikulin Cc: Ihor Radchenko , orgmode Subject: Re: Line breaks and brackets in LaTeX export Date: Tue, 01 Nov 2022 16:55:19 +0000 Message-ID: <87mt9a1uo8.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de 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, 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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667323037; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=j/SjljtmAVTKNnGxFewVzf0p4vSAU/j1yxxypOC/XhI=; b=MdcSl3N/zZHOuAVHOM+T/eGmZ0plysXlQE7cZz5w+i+Sc/bKQgVrr/Mr31RbplZHS+w8T8 Uli1BceIbaUHxUTSfUexndELlLz3QllYhyXr9J5VQG9ogh/OuFEvBDAirFzFCp0ZNMlrNd CL5f1KuwLl7e/7ZgQ1+EGLm6AUquTTLUX+EMWE8jW8fTV0kLJbQvC2Q9GPCMdi4tqGUYnL uPx6OibuXkof7CV6YoqclgPWkW0mJgpMpv2sSuZAn96n0CZiN64ybxOU96KcSx2K4QIX5Y T5eeZRTXHZGToKOymtORU6U/teW/5VPI8InUQWK9hY2UMQf1p25j1No3pQcxeg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667323037; a=rsa-sha256; cv=none; b=aOh3Lfwoq3JVsyHqtJvFc7cfnE7UmrjTwNCl0aKH9hI/FM0SQ5y9HLKTX6Q+v8EqKLC204 uhaEDNxYEBoNEe2uWsyXR+3T9A054HL+8X0I3eePxTwuIbP9k+jThBhl/+fbwKJk5twFIh +k4SCpSQHq9yvXJ8GqLpuEyGmeQUIjqtkWNbmT8Fp2+cEs6jM6t0jR4gJ+erVTsFELZeEA NFlLfts8nueAmJsbkuZzyquHOKBWLeBG66I72JxS/agS9xBkGkFq75N6uYwQcnL3GrSwR2 /+V0uPfhlvy8fqFVXOIoG8Sp6KIB8hoLCyCTUmVg6Z4RKgeQMneT6zbM6kdYcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=KMATq3EH; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -3.18 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=KMATq3EH; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: 6FBF525E16 X-Spam-Score: -3.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: Zw25c9RKpNP1 Max Nikulin writes: > LaTeX verse package require "\\!" as stanza separator to get proper line count, > so square bracket on the next line is not the only character that may change > meaning of "\\". So "[*!>" (depending on context) should be handled. Only when the separation between stanzas is made by means of a blank line. With the current behavior of verse blocks in the export to LaTeX, where the separation between stanzas is done by a \vspace, there is no problem. When, months ago, I contributed the LaTeX verse numbering patch, I took this into account, and it didn't seem like the right time to change the default behavior of the verse block. I hope to be able to send a new patch soon in the few days (according to what we discussed in past messages) where the separation by stanzas is applied by means of a blank line (which is the right thing to do in LaTeX). I'm rewriting my old code for verse numbering so that a \\! is automatically added in the last line of each stanza when line numbering is on. Best regards, Juan Manuel