emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52241: closed ([PATCH] gnu: Add js-mathjax-3.)


From: GNU bug Tracking System
Subject: bug#52241: closed ([PATCH] gnu: Add js-mathjax-3.)
Date: Thu, 16 Dec 2021 09:14:02 +0000

Your message dated Thu, 16 Dec 2021 10:12:54 +0100
with message-id <YbsDFpbHju2S/02X@noor.fritz.box>
and subject line Re: [PATCH] gnu: Add js-mathjax-3.
has caused the debbugs.gnu.org bug report #52241,
regarding [PATCH] gnu: Add js-mathjax-3.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
52241: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52241
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add js-mathjax-3. Date: Thu, 2 Dec 2021 11:44:37 +0100
Hi all,

attached is my stab at building MathJax@3 from source. The main problem
doing so is that we cannot build any of its build-time dependencies (TypeScript
compile, webpack, babel, …) and some of its runtime-dependencies
(speech-rule-engine) from source right now. Fortunately esbuild can
interpret TypeScript and transpile it to ES6-compatible JavaScript usable
by modern browsers, so we don’t need any of the build-time
dependencies. Removing speech-rule-engine disables all accessibility
features, but that’s a price we have to pay 🤷

Rendering standard formulas seems to work flawlessly in CHTML mode. But
module loading (for example for chemical formulas inside \ce{}) seems
to be broken. Although the modules are built and loaded by the browser
MathJax does not render the LaTeX environment correctly. I’m guessing
this affects all modules that are not built-in, so I suggest using *-full
builds for now, which have all modules built-in and consequently don’t
have this problem.

I hope the code has enough documentation for others to understand what
I’m doing and why.

Cheers,
Lars

Attachment: 0001-gnu-Add-js-mathjax-3.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: [PATCH] gnu: Add js-mathjax-3. Date: Thu, 16 Dec 2021 10:12:54 +0100
Hi,

this was merged as 44e1300994b783a758de7b3cf84287811ece5e80.

Lars



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]