From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeremy Bryant via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73641: 30.0.90; Math in EWW/shr Date: Thu, 10 Oct 2024 21:24:31 +0100 Message-ID: <878quvln9c.fsf@jeremybryant.net> References: <87ttdqmywv.fsf@gmail.com> <8634lawp14.fsf@gnu.org> <87bjzsa28z.fsf@gmail.com> <8634l42yiu.fsf@gnu.org> <87ldyw5j2x.fsf@gmail.com> <86r08o19ao.fsf@gnu.org> Reply-To: Jeremy Bryant Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39798"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Augusto Stoffel , Sacha Chua , 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 22:25:12 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 1syzih-000ACS-83 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Oct 2024 22:25:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1syziO-0007rX-4R; Thu, 10 Oct 2024 16:24:52 -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 1syziM-0007rE-Ih for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2024 16:24:50 -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 1syziM-0004wK-AO for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2024 16:24:50 -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=Rxe7qrhp9SKInr0E2j9/1FHkJ+AfAKp/3vtIek1gLtk=; b=oVE+HvQ8o+LewLEx9lpkL/gEGRdNDcmgw8gQ2IiaThUcUMUM6M3VaIVGmDTRrMV3La+32N8/aSVys/O5URCMwMcUqbEcZmm1mqNZcA52HbKrViMvEHaYJVOc2OTBZ8+wJPesnmlRLqyoKRXI5M31nRVZ16NSN5iZ2ILfEJOz8j4VhLHS9cbQ3IfmB6Lcj4THMxKNobUVrbgtbkvPAB9Fe9JRxX6L8x3kUx3oLw9+tJnvJ70IaWaHrBfADpmJC+8lV3PEHy5nZSFburO3mPC75Jn55jGYMQUuE0x4uEDIIjjRaGj/kuV+qR6A53QjORCPLZiVkGvz/wnxlfDeTCCjnw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1syziX-00077q-Mu for bug-gnu-emacs@gnu.org; Thu, 10 Oct 2024 16:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jeremy Bryant Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Oct 2024 20:25:01 +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.172859189827375 (code B ref 73641); Thu, 10 Oct 2024 20:25:01 +0000 Original-Received: (at 73641) by debbugs.gnu.org; 10 Oct 2024 20:24:58 +0000 Original-Received: from localhost ([127.0.0.1]:60674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syziT-00077S-VZ for submit@debbugs.gnu.org; Thu, 10 Oct 2024 16:24:58 -0400 Original-Received: from out-175.mta1.migadu.com ([95.215.58.175]:24944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syziR-000776-BE for 73641@debbugs.gnu.org; Thu, 10 Oct 2024 16:24:57 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1728591877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Rxe7qrhp9SKInr0E2j9/1FHkJ+AfAKp/3vtIek1gLtk=; b=WKKDfi2DRa6KkzuT2UWT1vxkBdx6oFXdmjQXO51e24i6iMKHqA4kqhXZfh27d8NvoUMweA OOEOXmlkXLMRwqdAvudAeZJWp/sV1gC0U5eu668XgaWZz7c8RnyLdwit4ByUOFhRN/WiSo ZRWnS/EmGnkl5zEJ+kT50Le2+jenm23C4MbpzUXiKjypbJ096DoVQQKy+oAgEqHgFDZkYW OveC+tO1tKT+taBrj/c24CIHMVU1pLpLsxsziSwqC3+fmpiy9SOMnln9PcKEySwbTALHAd GXsDzIGdH9ddjW+QWrsVplELFWJNSyeJ/dGiPCNk9BaC4nRIrlBx2kSb+qwcaw== In-Reply-To: <86r08o19ao.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 10 Oct 2024 14:34:07 +0300") X-Migadu-Flow: FLOW_OUT 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:293314 Archived-At: Eli Zaretskii writes: >> From: Augusto Stoffel >> Cc: 73641@debbugs.gnu.org >> Date: Thu, 10 Oct 2024 12:49:10 +0200 >> >> 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. > > Ah, okay. That's fine, but please add some comment there that we fall > back to the text variant because we don't (yet) know how to do better. > >> > 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. > > Do you know what is missing for us to be able to display that? > >> > The (distant) second best is a tool that generates an image. >> >> I think an image with readable text beneath it is quite alright. > > Display of inline images in Emacs has quite a few limitations that > make it less desirable for this purpose, IMO. > > Thanks. As this is related to shr and displaying svg images, this reminds me of a patch of Sacha earlier this year. Perhaps Sacha you have a suggestion on this?