No, I think I understand the situation just fine. Not agreeing with a change
does not mean I do not understand it.
Everybody loves LaTeX because your thesis from 40 years ago will still compile.
But the LaTeX supported by MathJax changes by the version. And crucially, we
have adopted the MathJax-supported subset of LaTeX as a key component of the
*language definition* of PreTeXt. We'll trade-in this variability for all the
good things MJ does for us.
Consider an octothorpe in a \text{} macro inside an #m
Construction On the page (MJ 4.1.3) In WeBWorK problem (MJ 3.2.2)
\text{#} error "Misplaced '#'" renders # correctly
\text{\#} renders # correctly renders literal # with backslash
We should not require *two different ways* of doing the same thing successfully,
depending on if you are, or are not, inside a WW problem. Inexcusable for a
language we claim to be unambiguous.
So how do we fix this? Wait for the next annual release of WW servers and hope
they have migrated to MJ4? And then wait years for in-use MJ3 server versions
to go end-of-life?
Or can we fix this discrepancy ourselves? I do not know right now. But we have
more of a fighting chance if *we control the configuration*. So we will keep
the configuration on our side, not farm it out.
Rob
On 8/24/26 22:23, Alex Jordan wrote:
> Trying that screenshot again...
>
> Screenshot 2026-08-24 at 9.32.24 PM.png
>
>
> On Mon, Aug 24, 2026 at 10:22 PM Alex Jordan <
jordanc...@gmail.com
> <mailto:
jordanc...@gmail.com>> wrote:
>
> I'm sorry I can't make tomorrow's drop-in, but I have conflicts.
>
> Everything you are saying about v3 versus v4 differences is fine and valid,
> except is raising issues that are present with or without PR #3172. The live
> embedded WeBWorK exercises (in a PTX book, in a Runestone assignment, etc)
> have always used a MathJax distribution from the webwork2 server. Never the
> MathJax distribution+config that PTX generally uses in pages. Just visit here:
>
https://pretextbook.org/examples/webwork/sample-chapter/html/section-the-
> quadratic-formula.html <
https://pretextbook.org/examples/webwork/sample-
> chapter/html/section-the-quadratic-formula.html>
>
> and peek at MathJax versions for the ambient page versus the embedded
> exercise (once activated).
>
> Screenshot 2026-08-24 at 9.32.24 PM.png
>
> Any scenario you can come up with using \color, \text, etc is no more or no
> less of an issue with or without the commit under discussion.
>
>
> On Mon, Aug 24, 2026 at 6:47 PM Alex Jordan <
jordanc...@gmail.com
> <mailto:
jordanc...@gmail.com>> wrote:
>
> "seeks to replace"
>
> On Mon, Aug 24, 2026, 6:46 PM Alex Jordan <
jordanc...@gmail.com
> <mailto:
jordanc...@gmail.com>> wrote:
>
> > * Now a WW problem is giving us a Mathjax 3 configuration
>
> Are you under the impression that the PR in question downgrades to
> using MJ3? That's what it is already using in the present day. MJ3,
> with a config that the PR seems to replace with a better config.
>
> CA%2BR-jrfd2doxsdew1c%3D8Enr6j6Vw6YejcELvujqnwR5MGJFRrA%
40mail.gmail.com
> <
https://groups.google.com/d/msgid/pretext-dev/CA%2BR-
> jrfd2doxsdew1c%3D8Enr6j6Vw6YejcELvujqnwR5MGJFRrA%
40mail.gmail.com?
> utm_medium=email&utm_source=footer>.