Skip to content

Theme pin is a release behind: KaTeX fonts 404 on the live site #71

Description

@mmcky

The site pins the lecture theme at v2.3.0. v2.3.1 was published on 2026-08-26 and carries two fixes this site needs.

lectures/myst.yml:122 pins https://github.com/QuantEcon/quantecon-theme.mystmd/releases/download/v2.3.0/quantecon-theme.zip, last bumped in eb1fd89 on 2026-08-20.

What is broken today

The deployed stylesheet build/_assets/katex.min-STXY5V2I.css contains 60 references of the form url(/myst_assets_folder/_assets/KaTeX_*). All of them 404 — verified against the live site on 2026-09-04:

$ curl -o /dev/null -w '%{http_code}' https://quantecon.github.io/lecture-wasm/myst_assets_folder/_assets/KaTeX_Main-Regular-B22Nviop.woff2
404

Every maths glyph on the site therefore falls back to a system font. This is QuantEcon/quantecon-theme.mystmd#138, fixed by QuantEcon/quantecon-theme.mystmd#139 ("make built stylesheet asset URLs relative so static builds resolve them") and released in v2.3.1.

The same release also carries QuantEcon/quantecon-theme.mystmd#137, the fix for code cells nested inside a directive never registering with the kernel (QuantEcon/quantecon-theme.mystmd#117).

The change

Bump the pin in lectures/myst.yml:122 to v2.3.1.

While there, the workaround in lectures/short_path.md:276-281 was added for the nested-code-cell defect and can be reverted once the theme carries the fix.

Not this issue

#56 (root-relative /myst-theme.css, favicon and service-worker URLs ignoring BASE_URL) is a separate defect in this repository's own configuration and is not fixed by the bump.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions