From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uEkFNQMZTWPg3wAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 10:57:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2OQTNAMZTWMWTwEAG6o9tA (envelope-from ) for ; Mon, 17 Oct 2022 10:57:39 +0200 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 8E4EF3E0A1 for ; Mon, 17 Oct 2022 10:57:39 +0200 (CEST) Received: from localhost ([::1]:60058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okLwI-0003CR-N3 for larch@yhetil.org; Mon, 17 Oct 2022 04:57:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okLsz-00033h-PP for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 04:54:13 -0400 Received: from mout02.posteo.de ([185.67.36.66]:49269) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okLsx-0005uC-PM for emacs-orgmode@gnu.org; Mon, 17 Oct 2022 04:54:13 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C6132240103 for ; Mon, 17 Oct 2022 10:54:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665996848; bh=epAdtDbkewADQ03OYO6LrAEgiY8i5I0J/GT8VbPQb6Y=; h=From:To:Cc:Subject:Date:From; b=ltOeIPsu9TKLTcCnX1T3bMyyOCU3lEM/0N3xz9T5O/XWKlk3RaX/f4DsX9NLov+yM yCP/2cRRPK+Z0xBt8CQVtb1dCSnU76VshKYYsT4NqBF1MLYE4OmdQK9g+U60lYy5Br BTtUQHY8reTFFd2uKepKRvgRpkCCzp/8mO9yiHLmu6ZwS73pM5WkGlzZw3a0DDFnxk eA/BeKJUdxEmWbCiWI2/BGoK34isqvVe0/uYNvGgHIK8V3yY568QtiY3bJ7uOZld30 gRchwzFNrmuJkGytkFAzyiWnJO0RhgxMgJB345bKDxdl/RwcYfQdTvQWXyo+WuCkAk 9IoxONa5E7C5A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MrW4v3z5Zz9rxS; Mon, 17 Oct 2022 10:54:07 +0200 (CEST) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: Verse block and separations (was: [bug] `org-latex-line-break-safe' breaks the export of verse blocks to LaTeX) In-Reply-To: <87h703iv8t.fsf_-_@posteo.net> References: <875ygk6a8z.fsf@posteo.net> <87h703iv8t.fsf_-_@posteo.net> Date: Mon, 17 Oct 2022 08:54:54 +0000 Message-ID: <87ilkij0dd.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: -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_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.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" 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=1665997059; 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=epAdtDbkewADQ03OYO6LrAEgiY8i5I0J/GT8VbPQb6Y=; b=D6JnnXmtQ+LB+My3bM2k+ndU8RmZkT5uPZQGlluCcUM/ZO6LF9u6oJOTNHpIsVYMoFGU5c y75Gi873fcJH3LcFjCiPxaAq9z4JSIlbbtu8BwoNzWQq2umm8pEFf+SS374OFGHufKCKY6 e7YqQ9MvuEO4k7z8z5XZU/R35HPBcisJiZOPp9TM1BwzWY7ObC0j1qBf93TPQ+pJaFh5JK EyTx/dwLUJWCPshP7+b8/VM2kBrsJTVKe/jDbVKhACqEdUa15E91jBtvFSSeiUrhKhquF8 ZGZDZAAuZf9SEtR1Hhv9RT8uFmfuaj+6GS+e4DxXEG5ajTUQEquRv6JxraY97A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665997059; a=rsa-sha256; cv=none; b=oH1CVovQOHbb+mKgjbHBtZAHFRlLlpVEe+hlW+do6eNt23Bo/oeA9OhpiJ2VKyPJPKUYs5 OZm/lUX3nc9hLfGM05hybjg1xU6bx2uSnTMkQhIZjjlKaONaE8ptCzprjXWrHmwPlir7BV rOHhvZyrvB0JzkzhjuvWQgmzQgRS6zVu3vDuafgkPggzsZotD+h8vPh58CiwWTRZJWHa0i NK92C61gHdi3/npxuUkuc2kqAXAPTqXsL84hbOBnWe5C7vhiGu453YtV4fnW6MRU7F61P9 UVnpMOqS/VQaOlzN+4xRmc7KWF6zeZ7MVywXiTXDN42U+dSG8MgXmVLoS3a2ow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ltOeIPsu; 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: -5.22 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ltOeIPsu; 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: 8E4EF3E0A1 X-Spam-Score: -5.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: aM5QoVmpG53h Juan Manuel Mac=C3=ADas writes: > Yes, you're right: that \vspace is the normal behavior of the block when > exporting to LaTeX, and it is certainly not quite correct. In LaTeX, > both the out-of-the-box verse environment and the one provided by the > 'verse' package (which, typographically speaking, is the correct way to > represent verses in LaTeX) do not add a \vspace between stanzas. In the > LaTeX input the separation between stanzas is expressed by an (at least) > empty line. In fact, that space can be controlled by the verse package > with the stanzaskip \length. I remember that I commented on this anomaly > here on the list, a long time ago, but I can't find the original > message... I checked git log and the current approach for verse export dates back to initial versions of ox-latex. I am pretty sure that it should be improved. > In my init I have redefined the verse block like this, so that there is > a white line between stanzas, not \vspace (I have also added some things > for the verse package, so that the numbering of verses is not broken). > So your example would produce a white line under \begin{verse}, not the > current \vspace, which would be irrelevant to LaTeX. But this is only a > hack: Could you provide a patch? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at