Skip to content

Update MathJax-Go to the latest merged parity fixes - #2938

Merged
alixander merged 1 commit into
masterfrom
codex/update-mathjax-parity
Oct 2, 2026
Merged

alixander merged 1 commit into
masterfrom
codex/update-mathjax-parity

Conversation

@alixander

@alixander alixander commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Human


AI

D2 still uses mathjax-go v0.1.0, so it does not receive the merged parity repairs. Pin v0.1.1-0.20261002175158-94d80186bfd7, the latest merged main commit, after MathJax-Go #210 makes that source installable within Go's module archive limit.

Add two frozen-MathJax 3.2.2 SVG hash and label-measurement regressions for the Mathtools paired-delimiter setting and registered bigtimes command. All 27 existing expectations remain unchanged. The two new cases fail with v0.1.0; all 29 pass with the new published dependency. The bigtimes witness explicitly supplies its bold formatter, as required by the frozen component's package set.

D2 paired-delimiter setting: before, updated, and original MathJax

Full paired-delimiter D2 SVGs: before, after, original MathJax 3.2.2, and original screenshot.

D2 bigtimes: before, updated, and original MathJax

Full bigtimes D2 SVGs: before, after, original MathJax 3.2.2, and original screenshot.

Re-rendered the saved witnesses with the current D2 CLI before and after this update; their SVGs exactly match the linked, inspected evidence. All 31 complete D2 witness SVGs match the independent original MathJax output byte for byte. The after binary uses the downloaded, checksum-verified dependency with no local replacement. The module archive's runtime and license bytes match the tested upstream commit.

Validation passed at daf9f6c84caab36a4eff7ff34abbace2b655a9da: full standard make checks (native tests, vet/build, executable WASM tests, JavaScript type checks, 52 unit tests, and installed ESM/CommonJS integration), the complete native race suite, and the Linux/amd64 release archive and size budget. Hosted CI, signature, both TALA fuzz jobs, all six release archives and native smoke tests, and the Windows MSI job passed. Fresh Chromium captures of the actual consumer SVGs have byte-identical fixed/original PNGs with no clipping.

  • sent from alixander's Codex

Pin the installable main commit and add frozen-original SVG and measurement
regressions for the Mathtools paired-delimiter setting and bigtimes command.

- sent from alixander's Codex
@alixander
alixander merged commit 554219a into master Oct 2, 2026
15 checks passed
@alixander
alixander deleted the codex/update-mathjax-parity branch October 2, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant