From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id am0nK5hBY2Gd/wAAgWs5BA (envelope-from ) for ; Sun, 10 Oct 2021 21:40:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2PxvJJhBY2ECJgAAB5/wlQ (envelope-from ) for ; Sun, 10 Oct 2021 19:40:08 +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 58A8F2EA94 for ; Sun, 10 Oct 2021 21:40:07 +0200 (CEST) Received: from localhost ([::1]:43878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZeg2-0003zV-G1 for larch@yhetil.org; Sun, 10 Oct 2021 15:40:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZefT-0003zN-Mu for emacs-orgmode@gnu.org; Sun, 10 Oct 2021 15:39:31 -0400 Received: from mr85p00im-hyfv06011301.me.com ([17.58.23.184]:37873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZefM-0001ZT-Oq for emacs-orgmode@gnu.org; Sun, 10 Oct 2021 15:39:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1633894763; bh=0MafCN+WicCn5VeLw1lWhw8bCb7MplD9HSqyrT3Xxww=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=T2R6rE53PZb6NMSgxnwxqq23oi6+B0F79vfVG6wt4EiYur8V81vQZ0jOXIbPlgBOy 1/VmTNL/89KvQgKGfW0+BELQGbqL45IFeJs+ZySl7PySrrEmcTZlNO49MCmgQhB8pr PBtDIN4PBzGyDirajkOd4sz5aBgf2WlfhoIurSCWukjc3Ip4xvyA7WD7lXu/qvDc4S jLRWChOV6La9Usc/EmSmKbEQfWL97BFg/681KxKDWx3IchaE1yXq3ksCO3ISFI6gzN F+mdBO/ihmUWuy7QvnD28rzjhMgDMu+GhglhtG2oe4jpwJR3NGk/uVUyjOkOYa7aI1 ctU0MQ9c88wxw== Received: from Workstation.local (78-141-116-131.dynamic.orange.sk [78.141.116.131]) by mr85p00im-hyfv06011301.me.com (Postfix) with ESMTPSA id 5B9415802CC for ; Sun, 10 Oct 2021 19:39:22 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: emacs-orgmode@gnu.org Subject: Re: MathJax extension does not work In-Reply-To: References: Date: Sun, 10 Oct 2021 21:39:19 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.391,18.0.790,17.0.607.475.0000000_definitions?= =?UTF-8?Q?=3D2021-10-10=5F06:2021-10-07=5F02,2021-10-10=5F06,2020-04-07?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 mlxlogscore=999 clxscore=1015 spamscore=0 adultscore=0 suspectscore=0 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2110100133 Received-SPF: pass client-ip=17.58.23.184; envelope-from=salutis@me.com; helo=mr85p00im-hyfv06011301.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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.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=1633894807; 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:dkim-signature; bh=0MafCN+WicCn5VeLw1lWhw8bCb7MplD9HSqyrT3Xxww=; b=NYmCp9h8BzvArpOiamERywCsdZUULJe0xpsWaUrcfoYoqBoD/XU+lc6q2aQMhYjecCiQTm 6RdUWFGP93lVHbfLJYUwkF34oHwotH4kwnssboj1iskhc9Ic4fSFNGQR47X4w6wlrcrR1E E5WEmoPjZ5Vh7wHt5WTVVsrz2pDOXOZUEKBUChLzLXqUTihxwfkasuJFcPrABhnlcGOHsP wNNGHvpqlGW+IKAKoPIQTb2YGiT+K3emQwsSSihWWy8f1O34noXZWFw3Mt1+kFgrssk3nJ POS7dYWQMekXeYjonuWBFyhy/YaUnqfzP5x0lp8l7eNCdpW99Rb65ntEWZIUhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633894807; a=rsa-sha256; cv=none; b=t6OOu2pr2sBh+MM5gtlyWcYUdJJpNsnP7Z4CdFO26yMddXfy/1767wigs7OLmb5PEyh9lI mXVWY1WUVXL2eYUEyMmtX9UgXKPEVpEgUXXLFZy1DOp2GdZkL+bXJNW5RYp20ywPL+eLpW tQrIb4RExRc6tVPgrzlfDjoMYW1qVzGoM3rX0zhKJ5+XNeNx3kM6TvgFoMCwXEFqCDewm5 5anDP1U02tdQQ7a3SGVca9wTMd9QrEQCh9yoYO7ouUnUhVKuVEo+dfQf7p9atin/1a7n6G eraHAOo+/S3BV8hu98P1QMmo5p8/ynLajZ7U5iVMPyRTccgjAnFZaQhCfQwlmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=T2R6rE53; 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: -4.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=T2R6rE53; dmarc=pass (policy=quarantine) header.from=me.com; 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: 58A8F2EA94 X-Spam-Score: -4.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: gwfOJGsxXEc2 Daniel Fleischer writes: > [=E2=80=A6] the mathtools.js library was introduced in mathjax 3.2 but or= g provided version 2.7 [=E2=80=A6] > You can just change the "path" in 'org-html-mathjax-options'. I see. I tried the following and it worked: (with-eval-after-load 'ox-html (add-to-list 'org-html-mathjax-options '(path "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-c= html.js"))) > Secondly, mathtools is not autoloaded so you need to call it; for > example you can put it in org using "export" block. > > #+begin_src HTML The "export" blocks did not work for me, but the following did: (setq-default org-html-head " ") > After that it worked. > Not sure why the "#+HTML_MATHJAX: mathtools.js" doesn't do anything. All the above makes using MathJax extensions impractical. I would have to i= nclude HTML hacks in my Org documents or tie the documents to my Emacs conf= iguration, if I understand everything. Neither sounds right, and thus I wil= l avoid using "modern" MathJax until Org switches to it and HTML_MATHJAX ac= tually works. P.S. I wonder why Org uses MathJax 2.x when other popular tools, such as Pa= ndoc, use the latest one. Thank you for your help! Rudy --=20 "'Contrariwise,' continued Tweedledee, 'if it was so, it might be; and if i= t were so, it would be; but as it isn't, it ain't. That's logic.'" -- Lewis= Carroll, Through the Looking Glass Rudolf Adamkovi=C4=8D Studenohorsk=C3=A1 25 84103 Bratislava Slovakia [he/him]