From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CCKhJYAuWGFFngAAgWs5BA (envelope-from ) for ; Sat, 02 Oct 2021 12:03:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oCBGIYAuWGEqFQAAB5/wlQ (envelope-from ) for ; Sat, 02 Oct 2021 10:03:44 +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 68E5D2B2A9 for ; Sat, 2 Oct 2021 12:03:43 +0200 (CEST) Received: from localhost ([::1]:46880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWbrq-0004GM-Ck for larch@yhetil.org; Sat, 02 Oct 2021 06:03:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWblf-0001UB-UU for emacs-orgmode@gnu.org; Sat, 02 Oct 2021 05:57:20 -0400 Received: from basilikum.nobis-admin.de ([89.238.71.130]:50448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWbld-0004ZN-Dg for emacs-orgmode@gnu.org; Sat, 02 Oct 2021 05:57:19 -0400 From: Stefan Nobis DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snobis.de; s=default; t=1633168630; bh=wslvyMr/U8GkZUB3gLLdc4BehRc+CkqJ8iQ83WzpCQo=; h=From:To:Subject:References:Date:In-Reply-To:From; b=tC1k6iXqTtn1x9yDA0r8WYkPAJFQApJkeRoDWVLRJYSvw6c2X4/AvNryGGg3XP3JD Z/Dm/PVIi8kIisBvJdqHQ9+QuhfNXJ5U/IbDXggtTGiLFPDkwYd/zO//7Mud85KY3S iGs8QAhm7+2M4jK/H9RrMgBV/7zs2UxuyVre1MpM= To: emacs-orgmode@gnu.org Subject: Re: [PATCH] Don't fill displayed equations References: <87czoq7z3p.fsf@gmail.com> <87tui1ew1o.fsf@nicolasgoaziou.fr> <871r5599j7.fsf@gmail.com> <87pmspevjy.fsf@nicolasgoaziou.fr> <87bl49kca3.fsf@gmail.com> <87ee95ekrh.fsf@nicolasgoaziou.fr> <87ilygo4uh.fsf@nicolasgoaziou.fr> Mail-Followup-To: emacs-orgmode@gnu.org Date: Sat, 02 Oct 2021 11:57:09 +0200 In-Reply-To: <87ilygo4uh.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 01 Oct 2021 22:41:26 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=89.238.71.130; envelope-from=stefan-ml@snobis.de; helo=basilikum.nobis-admin.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, SPF_HELO_PASS=-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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633169024; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wslvyMr/U8GkZUB3gLLdc4BehRc+CkqJ8iQ83WzpCQo=; b=ZAhlrHMnwDWPin3FHeB6Q5qG5SyaHs+txgjMMd28VX4ZGBqAr1Cif900FOJpj/oEXw12S8 Nwp87yhR/jCMHUzv6iskdpdNVpulgq98CtiQs1p694MNyoEn+FPulzy9HtMIjS4uiTmOO/ uW7QKMrrMtCx++gTphy3FDKyPn9e/OgIgwg3IWB7nbs6jZd9+WbsRvWMcua8f/nPYF51e5 2dhNCoYh6IVb8vqaY7j7FsGfU8rMiPygBsJ6ZSOtLRPb8RUPPj6cSdr+xWBmdI462gOwql bUEo1DWEvbcL/xUNHn/OW3v58jar1r0WNZ7jC6/cmNu6T07DZFIlv5WSiPu8ZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633169024; a=rsa-sha256; cv=none; b=Fe6lgDvrgMsm+6SupRDQTpepqQWQz0xuYHcieb1vaNn8IQszWRbtSNBXZDpu6CaUJWDxB4 9Fj+w/3ZaiMSn8/Cj3JCPWQd5ToLAkDCPmRhuFd9qf2wS94w+MFqpL5ohvJUw7Lq77jg8w fRtt+H13yJNjlRzBa+SBLdNtiebqthKkWkcrWNDILQqt8qvZTrDl7frg5hMaN2O2SWpuLi Ou9AVmSTlK+ECvwP5u5iNKw8teGiQ2hQiJNmr7yWVg77KnNR9bsJEDHdQSJ6VNBC75DDkD /fOk3SBZUKPaMZM/rjFQSOwreUqvhYBW5ecJCEPyP1+kEdW/lIh6XfOQp3R40A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b=tC1k6iXq; dmarc=pass (policy=reject) header.from=snobis.de; 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-Spam-Score: -1.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=snobis.de header.s=default header.b=tC1k6iXq; dmarc=pass (policy=reject) header.from=snobis.de; 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: 68E5D2B2A9 X-Spam-Score: -1.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: rsddK0nE31Bu Nicolas Goaziou writes: > Also, I don't think LaTeX treats it as a block element. > E.g., > > text > \[1+1=3\] > text > > is a single paragraph in LaTeX. Yes and no. LaTeX is a bit more complex and does not only see inline or block elements. It has paragraph mode (and inner paragraph mode like \parbox, which does not allow page breaks), vertical mode, LR mode, math mode and within math mode there is inline math style and display math style (and some more little details I forgot). But still, the equation in the example is in display math style and it is typeset as a separate line. Additionally, as far as I remember, with processing "\]" LaTeX leaves math mode, typesets the necessary vertical space, and switches back to paragraph mode. Then, if an empty line (or the command "\par") is encountered, the marking of a new paragraph is typeset (e.g. using "\parindent" and "\parskip"), else normal output resumes. Therefore, I would argue, LaTeX modes are not really comparable to Org element types (inline or block). See also the following LaTeX code: --8<---------------cut here---------------start------------->8--- \documentclass{article} \begin{document} text\par text\\ and more text \end{document} --8<---------------cut here---------------end--------------->8--- Here, with an Org point of view, one may say, this is a single block or paragraph. But LaTeX will typeset two paragraphs in three lines (and internally stays the whole time in paragraph mode, if I correctly remember the small fragments I once learned about the LaTeX kernel). > If it's a block element, you cannot write \[...\] mid-line. Hmm... so maybe, it's really worth to have both (\[...\] as inline element and the \begin{equation*}...\end{equation*} block). I'm undecided. :) But thanks for your explanations! -- Until the next mail..., Stefan.