From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GJHwAd8+XGEIbgEAgWs5BA (envelope-from ) for ; Tue, 05 Oct 2021 14:02:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wC0pOd4+XGEMEAAAB5/wlQ (envelope-from ) for ; Tue, 05 Oct 2021 12:02:38 +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 A3A7516A52 for ; Tue, 5 Oct 2021 14:02:38 +0200 (CEST) Received: from localhost ([::1]:54874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXj9Z-0000cl-86 for larch@yhetil.org; Tue, 05 Oct 2021 08:02:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXj8L-0000Gc-Ui for emacs-orgmode@gnu.org; Tue, 05 Oct 2021 08:01:27 -0400 Received: from ciao.gmane.io ([116.202.254.214]:53744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXj8J-0003rg-Aa for emacs-orgmode@gnu.org; Tue, 05 Oct 2021 08:01:20 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mXj8E-0002bU-Me for emacs-orgmode@gnu.org; Tue, 05 Oct 2021 14:01:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: Inequalities in math blocks Date: Tue, 5 Oct 2021 19:00:59 +0700 Message-ID: References: <87y27agsjd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 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.249, NICE_REPLY_A=-0.001, 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=1633435358; 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=J1aD4uLKPajfhwLJuoTVo6bGh/m+bC02ULl+D+C3d7I=; b=e0k7UgurOFB1tqgwekgu89z/0G4aKZtyaqwxR3R2jz/v4c2J4Uc+QPsPc/1HMKmvH4o4sa GgJ6S9dfbQ0iVl1f7z4+4yKvk7ZIeLOZENXPtgEc9OxEA1+aVN1JgDNyqC/CjF3eZBnikc KfVJSzO5j/hAJx4KX54+fNVO/xnyDEpGR4o8TKIn3IvqgYOuaFr5I8I/q9k0FfjI030O0C LALD894660OY9cykFVJQSdfQtN1w2LSUyWQtCrqRbgN0LMRfSD6USjZmbgZM7dcSy8EENM SVTO8zxvSRVIfRlUR0IirVkjn5NvnKW+BRzyTX4MSf4AFgioxqZd/LK0o2tpuA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633435358; a=rsa-sha256; cv=none; b=uY64PzNYFWH75nFvY7/D9axpvAX8dFo9lzO8nNsfi777/nNHpmtDphONgPBAmSk8Vh3F5b 9vqwwn+IX0v5RKS5f9StWb8ZliaDDqbhhI1EQaqeJBig1fmScD3evcCI7TQJroaDEtAsBI lj3NRfeNf/FNAbqkoSjWmYGdgFpMKArV2KFdKtA8cDEblcOAb8j66bjO2YEKoW/h98frBa DGbHI2rb1Tms4Qei0lmFDHXDyPZR1i1dXdq7EPcJRVnD3HqIeO6gq2HcgQBny/GRJc0bXQ eU/ATcd4bZIyUrulq2NB4tF4iET108JvcxIBGkH72uRq3ovdfRpOaWFYejk21Q== 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: -2.21 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: A3A7516A52 X-Spam-Score: -2.21 X-Migadu-Scanner: scn1.migadu.com X-TUID: g6uF9k5vxP1z On 05/10/2021 14:55, Rudolf Adamkovič wrote: > Timothy writes: > >> You’re going to be much better off if you just use LaTeX math >> delimiters, i.e. `\( ... \)'. > > Interesting. It works, but I do not understand why! Did you inspect HTML file? Playing with export, I do not see real difference. Result is "\(1<2\)" even for $1<2$. info "(org) LaTeX fragments" https://orgmode.org/manual/LaTeX-fragments.html highlight some issues with $: > To avoid conflicts with currency specifications, single ‘$’ characters > are only recognized as math delimiters if the enclosed text contains at > most two line breaks, is directly attached to the ‘$’ characters with no > whitespace in between, and if the closing ‘$’ is followed by whitespace, > punctuation or a dash. For the other delimiters, there is no such > restriction, so when in doubt, use ‘\(...\)’ as inline math delimiters. > Do we consider > inequalities in $$ breaking HTML export expected behavior? Or, do we > consider it a bug? I suppose there exists no formal specification, > executable or not, to answer the question? Tom Gillespie mentioned in another thread yesterday: https://orgmode.org/worg/dev/org-syntax.html#Entities_and_LaTeX_Fragments > It would introduce incompatibilities with previous Org versions, but > support for $...$ (and for symmetry, $$...$$) constructs ought to be > removed. > > They are slow to parse, fragile, redundant and imply false > positives. — ngz