Thanks, Alex, for tracking this one.
Volker has made a fix for SRE (Speech Rule Engine, a key MJ component), and
Davide suggests a new release in a week or two. So I think it will be better to
wait this one out, rather than suggesting publishers rebuild twice in a matter
of weeks.
There is a fix on Alex's PR, and more discussion and references there. I'm
going to close it now, but it will still be available. If you really want to go
back a version, the code there will show you how.
https://github.com/PreTeXtBook/pretext/pull/2941
@Alex - would you mind checking up on this after 4.1.3 comes out?
Rob
On 6/17/26 18:38, Alex Jordan wrote:
> When I posted my last message about this, it was a somewhat academic issue. A
> WeBWorK user with somewhat obscure math syntax in use had hit this issue, and
> that led to my post on the MathJax forum.
>
> Just now though, while working on one of my PreTeXt projects, I find a page is
> freezing in the same way. I manually changed the page to load MJ 4.1.1 and then
> things are fine. So I can now report that this issue is affecting a PTX project.
> (I don't know what specific bit of math on the page is causing the freeze
> though, it's too big of a page.)
>
> On Wed, Jun 17, 2026 at 3:48 PM Alex Jordan <
jordanc...@gmail.com
> <mailto:
jordanc...@gmail.com>> wrote:
>
> PreTeXt is using MathJax 4.1.2. This version (not say 4.1.1) introduced a
> bug where certain expressions can cause MathJax to crash. See this MathJax
> issue and linked issues:
>
>
https://github.com/mathjax/MathJax/issues/3578 <
https://github.com/mathjax/
> MathJax/issues/3578>
>
> The offending input in that example may look like something you'd never do,
> but it only needs to be a subsequence of your input string in order for the
> crash to happen. And as you can see from the other linked issues, the
> conditions to trigger this are a bit specific, but not specific to say,
> using \nabla.
>
> This is either something to be aware of, or PreTeXt could revert to 4.1.1
> for now. Probably want to upgrade past 4.1.2 as soon as this is fixed though.
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to
pretext-dev...@googlegroups.com <mailto:
pretext-
>
dev+uns...@googlegroups.com>.
> To view this discussion visit
https://groups.google.com/d/msgid/pretext-dev/
> CA%2BR-jrc%2Bqv4--xo-s7KHvczn6-cvvBL4zL5dKHUkNM9uUdem_g%
40mail.gmail.com
> <
https://groups.google.com/d/msgid/pretext-dev/CA%2BR-jrc%2Bqv4--xo-s7KHvczn6-
> cvvBL4zL5dKHUkNM9uUdem_g%
40mail.gmail.com?utm_medium=email&utm_source=footer>.