From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#73641: 30.0.90; Math in EWW/shr Date: Thu, 10 Oct 2024 12:49:10 +0200 Message-ID: <87ldyw5j2x.fsf@gmail.com> References: <87ttdqmywv.fsf@gmail.com> <8634lawp14.fsf@gnu.org> <87bjzsa28z.fsf@gmail.com> <8634l42yiu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39816"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 73641@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 10 12:51:09 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1syqlA-000ADS-PR for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Oct 2024 12:51:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1syqkx-0001yu-2W; Thu, 10 Oct 2024 06:50:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1syqku-0001y9-LO for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2024 06:50:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1syqku-0000lm-Ci for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2024 06:50:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=pbTVPMcNoBE4jpgEB6XJdhC4ODt4g0Kf5MqqjQxHT78=; b=ZgLL0+hzU+DRJpzoCjIAdFSJHMupRS9DFVkOS3hG58tWE7f6P0SRKY35H4ilBFnXBJu/ANK4FAdRpjfhcC8EGV6zdWhEqgE34ulBxrIdJeix3G9y/1pxjBjm+2p1nRAmIV3AQu6hFsFCMOP6C+YJTLO0N9DSVv1Zx8gB6G5J1I4DauF4ozvxp1vS7K5ZGAQLPnZ6ty1Q6easgFHJI8R3Tjd/E3uevsrq+mQufAoyu2jKnH5iIqSZd9Vde3jeKBoThXLCbpFuUC0VCDseCsWnXZ1WWcjFAXgs8kloHZMrgWSGIMSv88txYINRMoDye8xdzpK0puzUQ++NY7rNeJ9p0g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1syql5-0001pG-20 for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2024 06:51:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Oct 2024 10:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73641 X-GNU-PR-Package: emacs Original-Received: via spool by 73641-submit@debbugs.gnu.org id=B73641.17285574326963 (code B ref 73641); Thu, 10 Oct 2024 10:51:03 +0000 Original-Received: (at 73641) by debbugs.gnu.org; 10 Oct 2024 10:50:32 +0000 Original-Received: from localhost ([127.0.0.1]:58816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syqkX-0001oB-1q for submit@debbugs.gnu.org; Thu, 10 Oct 2024 06:50:32 -0400 Original-Received: from mail-ej1-f43.google.com ([209.85.218.43]:57443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syqkV-0001o3-7q for 73641@debbugs.gnu.org; Thu, 10 Oct 2024 06:50:27 -0400 Original-Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a99543ab209so107304766b.2 for <73641@debbugs.gnu.org>; Thu, 10 Oct 2024 03:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728557354; x=1729162154; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=pbTVPMcNoBE4jpgEB6XJdhC4ODt4g0Kf5MqqjQxHT78=; b=UE9Lo0Zam47eLNdkiiqOBGxn0flsyTwAwMp8iRqT9qh+T7KbXcFwtnxl2qt3Okwtne 4XNnd9XkiuzptbPEDUQVuZJT0CTsO8E+kvOqf+9fBXKRe4hBc4OUnCf5y5OGZLvbSRdT yGIYUYnPBGyy/pHBVIDDFsjWS58vvlRWlKW7R93vVELPTHdlWVk9Y7FTRuYJSOLqSEy7 FLDj88FgE0F9nklGfKaQEdHHw7xho15BGo7/Ms2wM3FFwdWdvSuWud8jC9dLFqReD7Tg LMWpECyxERH+yjvS2c7EcQgB1b8X/f2V1EAeNsuCQxUOVEVt5JX9I31HuE+E8XfVB/eE tYxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728557354; x=1729162154; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=pbTVPMcNoBE4jpgEB6XJdhC4ODt4g0Kf5MqqjQxHT78=; b=xFDMOS/M5ZY624H3Cgp6dKtbnpD5KYpuvb+shohdaOA1XkaldOKXTOkrG+SbPUlgNn bIOfpYCi0q+uEesKDKUVp0Yej7xm4iXqo0t9wuGmG7TOx6gbBd5+koMOj7v5i4MHyAUI iIsi/SJ+bK8eGfJmENfjhCA1NfabfTUKLcyQu33yeOddbXJ2igQPYlCp78p6hW+AVnny BCiyTFQYPfQJXfNjPbEl9Vb9dJ29Oax/RnS+ZyK72+71Fk9nmMiwQGXyFbAaoB9WsCpQ 5DdNafwU2jjddvK5Cy1PcK9J84EEy//qjUr09pVRmdP+7gciOFLl5qIb9FnUuImAS/nb 1MBQ== X-Gm-Message-State: AOJu0YzYgq8n2DEsSpCz+oUuA96X5v9m1IhHJfRgs+5albteWDCGdP0f qQ4DNrDV1s1yu0TaOvww4H17LUZy4BLqF9eoaB2Qcz44Tdo3FGgqIt+0CQ== X-Google-Smtp-Source: AGHT+IEAaOOjKu5/blBykf3kVHy7YMDx/eUR7xlRCuhh93sslNHLUFPVZMLH2JY4kJJQzqf5/PKUlQ== X-Received: by 2002:a17:907:944d:b0:a99:7b6f:c8a7 with SMTP id a640c23a62f3a-a998d311b59mr548692366b.46.1728557353767; Thu, 10 Oct 2024 03:49:13 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8a87:ff00::d6f6]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99a80efc74sm71017066b.190.2024.10.10.03.49.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 03:49:12 -0700 (PDT) In-Reply-To: <8634l42yiu.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 10 Oct 2024 10:43:53 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293269 Archived-At: On Thu, 10 Oct 2024 at 10:43, Eli Zaretskii wrote: > I don't think I understand what you are proposing. What is the > "baseline" implementation for math tags? what will it entail and what > will it allow/enable? I refer precisely to the code from the bug's first message, which also has an example of the result. >> Now, about your question, I think there aren't too many options: >> >> - Good old TeX: widely available among (and only among) scientific >> people, gigantic and bloated and slow, no MathML support, excellent at >> rendering TeX, has "shell escape" to worry about. >> >> - LuaTeX: like TeX, but probably can do MathML as well. >> >> - MathJax: needs JavaScript, otherwise can be bundled with Emacs (takes >> just 2MB), supports MathML, supports TeX notation but not arbitrary >> TeX packages, safe by default. > > The basic question is what these produce as output, and how can Emacs > display what they produce? The best alternative for Emacs is to have > a tool that can generate characters, which could then be rendered > using a suitable font. MathJax is this tool. It can render formulas as "HTML with complicated styling" to resize and move around characters and symbols. I don't think Emacs could display such things in general. > The (distant) second best is a tool that generates an image. I think an image with readable text beneath it is quite alright.