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 ms0.migadu.com with LMTPS id YNT3DwxvWWHcGgAAgWs5BA (envelope-from ) for ; Sun, 03 Oct 2021 10:51:24 +0200 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 mDyOCwxvWWFkJgAAbx9fmQ (envelope-from ) for ; Sun, 03 Oct 2021 08:51:24 +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 9A79137F28 for ; Sun, 3 Oct 2021 10:51:23 +0200 (CEST) Received: from localhost ([::1]:57736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWxDO-0000v1-R5 for larch@yhetil.org; Sun, 03 Oct 2021 04:51:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWxD2-0000ut-Br for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 04:51:00 -0400 Received: from ciao.gmane.io ([116.202.254.214]:58544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWxD1-0004uK-19 for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 04:51:00 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mWxCx-0008DI-4H for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 10:50:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [PATCH] Don't fill displayed equations Date: Sun, 3 Oct 2021 15:50:49 +0700 Message-ID: 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> <87a6jr3fq6.fsf@ucl.ac.uk> <87sfxjiumm.fsf@gmail.com> <87y27b1xga.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-1.413, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1633251083; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=FPDgZrgFF7pblYwAAf957t4Hg3vd6fduq1BbmIcXK+I=; b=V8xIgNk/pCS4g87YpdPvgpZk7zCh+X464m79eSR820dgQZ+72p+pSYdXbLEs0O97lRk9S1 w7MWoxw7zfoFoIS5lewvgrG12e7Y99qyfSVtVfjrhBpgTCwJkZx93mLdEP4lpB0JqR6x16 p4Z1oUW6x6Dj8fmFeQNbNWnEcduzshzt0Ns6Wijuva4GnZ0h59teWTFq0wtf9ytXpxr+Et o1vDhZAAMyHriJzKs/L5+aAw0ZsWBjL0bSzBNwzVfJvNqmGzWfalRV+HLIDSV3f1BBgCLb ou9b+BL8n0pl9uyiLf0ikKaN88i3TFoUiSAr7kHFWjbP8ZLu4NmqIFHR0VuSVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633251083; a=rsa-sha256; cv=none; b=Bugu8iTcqguVZyghWpE6qGeSQvhiHsMIMxBQfCR9sN+A5WEPW1Z9xiz+rYxzDyPFpV0uJX 6Atmxet643+6ALMAdOnJz9i7sFpDaEIm+bA0C204Xlv7Zt37FlK3SeVopuXolblVs24nNb 7lvtgKA6yvmzB0fniQOmBwvzfgrssxe+uWkZahEra7s8HlnVAymbtRSfxGVTwnSrFpxcg4 hH5+zvB4JmKg1ASgyFiKzWWDQzEXdik6wTh/wkemtabLdMxzBdHrsLb9/9a926utBW0nTD ucxoY7LNYnnotFWS8j2AVzxPRzISYLH8TsggAG7QE4KLE0MeNxTHKWQeN4CxIg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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-Spam-Score: -1.81 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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: 9A79137F28 X-Spam-Score: -1.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6IP3yClZjdxD On 03/10/2021 00:51, Tom Gillespie wrote: >> do not see a reason for idiosyncrasy that markup intended to add LaTeX >> snippet that looks like exactly as LaTeX commands for this purpose and >> even actually preserved during export to LaTeX should have different >> semantics for Org parser. > > The answer is that \[ \] can only occur inside paragraphs. Nicolas mentioned that meaning of \[ \] might be changed and that will allow among other things correctly working of paragraph filling. I like such idea. > Org gives > us a bit more power, but not the full power because Org is Org, not > Latex. There is \( \) object for inline math. Is there use cases for 2 (actually 2 groups of 2 elements counting $...$ and $$...$$) variants for inline math when primary backend for them behaves differently? > Making \[ \] available outside of a paragraph would be a massive > breaking change. Is it really breaking? I can not estimate required amount of work to implement it. However at the user side at first glance most of files should remain valid and I could not imagine markup that will be broken during export to LaTeX. > I guess one thing I'm missing/not understanding is when/why people > want to use \[ \] instead of full #+begin_export latex block? For example, because document without equations may become almost useless in the case of export to HTML or ODT file.