Skip to content

Inline $...$ math does not render correctly #1

Description

@mmcky

Inline $...$ math does not render correctly. Reported during the theme evaluation in QuantEcon/lecture-python-programming#475 (closed, never merged).

Context. The evaluation built the QuantEcon Python Programming lectures against main at 6a22984 — the current and only HEAD of this repo, which already includes both mathjax commits (fdc28b9 feat: auto-enable sphinx.ext.mathjax in theme setup and 5629fed fix(mathjax): use Sphinx's mathjax3_config instead of raw script tag). So this is not a case of an untested fix: the defect reproduces against the theme's final state.

Preview build: https://699d241d064feca2f249791b--epic-agnesi-957267.netlify.app/intro

inline math not rendering inline math not rendering (second example)

Why it matters. Inline math is pervasive across QuantEcon lecture content — this blocks any serious evaluation of the theme on real scientific material. quantecon-book-theme renders the same source correctly, so the source markup is not at fault.

Suggested starting points: confirm mathjax3_config is reaching the rendered page, check whether MathJax's inline delimiters ($...$) are enabled — MathJax 3 disables single-$ inline math by default unless inlineMath is configured — and verify against docs/kitchen-sink.md, which should grow an inline-math case if it lacks one.

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 is wrong or broken in a lecture or buildhigh-priorityAddress soon

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions