From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oF04M06gWWHKegAAgWs5BA (envelope-from ) for ; Sun, 03 Oct 2021 14:21:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QJDiLk6gWWFRAQAA1q6Kng (envelope-from ) for ; Sun, 03 Oct 2021 12:21:34 +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 6FC0C14B85 for ; Sun, 3 Oct 2021 14:21:30 +0200 (CEST) Received: from localhost ([::1]:52380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mX0Uj-0004PR-Jf for larch@yhetil.org; Sun, 03 Oct 2021 08:21:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mX0TL-0004Mu-4X for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 08:20:03 -0400 Received: from ciao.gmane.io ([116.202.254.214]:44800) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mX0TI-00059h-M8 for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 08:20:02 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mX0TF-0003iq-Cf for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 14:19:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: Inequalities in math blocks Date: Sun, 3 Oct 2021 19:19:41 +0700 Message-ID: References: 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.25, 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=1633263690; 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=00OF/ZCyIelncvr0ybO3I9ZzHKOV1gYsJwVE1tsrRxE=; b=UvvHNSAa3x2A0qIJLTCtzbOceMqMocEZ3q71ZUcmqu7AtQkBRDfOgDZjCZ6vFxmBnSLwdm 4i2g3esLUEpBeYBi2UzIjS/EYTdnyYHrvfdSug6R71akCIjYt/Z+gSDvwljxjkIp3iKGT4 1rGsVMHwy5oUlLwhrQmxTiXCb+eqrA/MRt5IpkZ4eLimRXVtsnsJQkzAH+xsTRqlya7K/k GSPoJup3nERreZph4yD2+QbB8oug8KFzjrtXK9x//0OA6cmkEmWfuOq0PGNL7ZQcDRjxYq SfyRUW9CBAQ7n0d0X54Lh5Dr2Q/EtEOfJfCz6lXA4wjMhgCNHgHDtbKNWNslhQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633263690; a=rsa-sha256; cv=none; b=bcyGIaKgBz/IifRAgfXkbJ2K1/52Ni7loed6Rq77/pErnzkC8j2p95gd9RO/iQlnC4i+Q0 o2wZjY9wAhDTJlNZCUm3I0Br+VsQUlViX8e0BkoteC5/Ocq2GozPfu5+i0sXAauUTsvVQ2 FxnN8dirm1SleiOz73hqiQ5Efj9O2PGPlNGD2rHPvlzr3krSNGj6OHEfOZ1kE9K+/Euy1Y w0evBwatJdwAY1MwltFDoOdZ3kivWb1gf9jcEfFakO8nptXHlPlQdKwutchrB5w3kPJ/BZ oJgUfiRlCjCGkP7Q2H8iaV4ijm7uS890+fi7wNp0Qzc0S8qgIu9gyCMtwG78mg== 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: 6FC0C14B85 X-Spam-Score: -1.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8GSoaOf8Gv5y On 03/10/2021 18:04, Rudolf Adamkovič wrote: > The following Org markup does not render properly in HTML export: > > - foo $aa$ bar > In Emacs, I see no signs of problems, such as broken math highlighting. > Further, when I export to LaTeX, the inequalities render properly. Does > one have to use \lt and \gt instead of < and >> all the time? If so, why allow < and > characters in math > blocks? I ask because, when I reorganize my Org document, it breaks math > "at random" when I use < and > and Emacs does not tell me about it. I had another reason to look into the manual today, so I noticed: https://orgmode.org/manual/Math-formatting-in-HTML-export.html > (131) > > Please note that exported formulas are part of an HTML document, and > that signs such as ‘<’, ‘>’, or ‘&’ have special meanings. See MathJax > TeX and LaTeX support. The link is broken however. http://docs.mathjax.org/en/latest/input/tex/html.html#html-special-characters > Usually, it is sufficient simply to put spaces around these symbols to > cause the browser to avoid them, so > > ... when $x < y$ we have ... Though I am a bit surprised that Org did not replace characters to < and > during export. Perhaps, it is possible to define a filter.