From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +BG4JGrPq2WTXwEAqHPOHw:P1 (envelope-from ) for ; Sat, 20 Jan 2024 14:49:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id +BG4JGrPq2WTXwEAqHPOHw (envelope-from ) for ; Sat, 20 Jan 2024 14:49:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Yr1y+zQ2; 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=1705758570; 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=bPg+jGsNQlq1VDW1tVNxZStajkGwwjLlsA+mqwemFPI=; b=nUWYGFKa7zhTRHLewYM4zfBCYyCWTwFv//wzkRUoji4/u33auiriFJ+GZGKCoIqFuOQpNp G49f830bpG3Ukce0QAgSPMXIxoGDl+UqB5poIQj4CrznUhqC+KMkiwTESPwZKp/OBY2Eyp NHB6/QOPo2JLYEbwYf6LGBeprnzuY1yNT1aREu8WKEsSbCfuR1m8DrxmHxM0+5MD4EM2HY kXCUqqgTOi5U5C+ybWJVtcADIY7eynQJS5XsMCA+m+9suYEmZBc9qXR64n2qHPt7zm3/Tc CbVaK6EdHBSflaHJPHxIYiL7ieRkezkAKSOBnJT9PPSBe8rACWAu1Ml24ufClQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Yr1y+zQ2; 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=1705758570; a=rsa-sha256; cv=none; b=a6n5l8I1Mrt8KIBLYsUuQ6aXUjjHsw3OhsDVNy+TW3ebYdnvcaMwiEmMGqN8/+fAdQS3TS Tr4AYHvIi4bPscf8+Wkc1k5JWOMABrjvU8b8Hc8bFht6Zs6S/45pZaS/HwCieZHBHETGIF dejObSIj/Dr4x5R/eq/ymjv5OmLTzA4qd7lm8knLAHLoxY1D1FKurHRC7j3vmEzMZPfmoe fEh95s5s5wKLzdtfQ5XTx8iVMIT48ErqwH/zC6PJyhMy9nkAvaPqm4n7YID5ocfcIAkfLg kHPT206C41/VjXKgC2Usf0h8IxwQ3Bx2st2bfIJz7Cnzzt3SdtFVInyIhpZqEw== 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 7BFE338068 for ; Sat, 20 Jan 2024 14:49:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRBdC-0007D4-G7; Sat, 20 Jan 2024 08:43:30 -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 1rRBdA-0007Cv-B3 for emacs-orgmode@gnu.org; Sat, 20 Jan 2024 08:43:28 -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 1rRBd8-0002F0-4G for emacs-orgmode@gnu.org; Sat, 20 Jan 2024 08:43:28 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id ED466240101 for ; Sat, 20 Jan 2024 14:43:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705758204; bh=bPg+jGsNQlq1VDW1tVNxZStajkGwwjLlsA+mqwemFPI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=Yr1y+zQ2efPi0ibE8PXt3iwt89iyMwXL4IBsSNtw+Obn+C0kjSCrKuuH65n07CGhc s79w09RSIfwAmYoDPaZe2o414XC/n3HvabftXgXSwmROpGymk/xZL0k5Ki/SJONapR fOQwPY8l3Btv32clcvCT/zbtfeccbEGzW5h6TgK6U3VM8BqerZI5Jopm6sZJWT03NK aNJn3pOGQBvCZn4osqsE9GBRFbWrBaSUwyV1XpfjfrVEyy+LLQQNOZmqnIihRZahrs p/DX2NohUMlPIHgufjzx18OLPxbRtQPd1/FLBcsMR5NrLQWjMVvVAfMux1E/T5KQvQ KQJ79y/XL/rUw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4THHkM2CVgz6twr; Sat, 20 Jan 2024 14:43:23 +0100 (CET) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode , Max Nikulin Subject: Re: [possible patch] Remove the '\\[0pt]' string from the last line of a verse block in LaTeX export In-Reply-To: <87o7dgf8bb.fsf@posteo.net> References: <874jfvjo2k.fsf@posteo.net> <87cyu5uv7c.fsf@localhost> <878r4tfccn.fsf@posteo.net> <87zfx9t7di.fsf@localhost> <87wmsddlw5.fsf@posteo.net> <87r0ikrt5h.fsf@localhost> <87o7dnefwo.fsf@posteo.net> <87cyu1l69f.fsf@localhost> <87il3tax9a.fsf@posteo.net> <8734uwjerg.fsf@localhost> <87o7dju9vn.fsf@posteo.net> <8734uuaj11.fsf@localhost> <87h6j96xn5.fsf@posteo.net> <871qac6v5j.fsf@localhost> <87o7dgf8bb.fsf@posteo.net> Date: Sat, 20 Jan 2024 13:46:40 +0000 Message-ID: <87o7dg5d8f.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Spam-Score: -7.34 X-Migadu-Queue-Id: 7BFE338068 X-Spam-Score: -7.34 X-Migadu-Scanner: mx11.migadu.com X-TUID: i3LikmXYivOA Juan Manuel Mac=C3=ADas writes: >> Paragraph\\ >> @@latex:[foo]@@ > > But since in both cases it is literal LaTeX code, the correct thing > would be for the user to be in charge of adding the curly braces to the > square brackets. I mean in such scenario it is LaTeX code, not Org. Not really. Because we do not give guarantees about the details of LaTeX export, we should try hard to not break things that users may put into literal export snippets. > Anyway, in both examples it does not make sense for LaTeX to end a > paragraph with the \\ macro, which is why we commented in previous > messages in the thread. The \\ macro is only used in horizontal mode; > this macro does not add a new paragraph but rather a forced line break > within the paragraph. In the example with @@latex:[foo]@@, \\ is not at the end of a paragraph - it is inside paragraph. Another alternative could be modifying how inline latex snippet is exported, but that's worse IMHO - we should try hard not to touch what users tell Org to do explicitly. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at