Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align math parsing with Sphinx? #38

Open
agoose77 opened this issue Jun 19, 2022 · 0 comments
Open

Align math parsing with Sphinx? #38

agoose77 opened this issue Jun 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@agoose77
Copy link
Contributor

Context

Sphinx applies some heuristics to determine what kind of outer environment to apply to math blocks:
Unfortunately for us, they don't do the same thing for mathjax as they do for LaTeX:
https://github.com/sphinx-doc/sphinx/blob/4b28bdd83bd30cc05986b8573b348a9853fb44fe/sphinx/util/math.py#L23-L55
https://github.com/sphinx-doc/sphinx/blob/4b28bdd83bd30cc05986b8573b348a9853fb44fe/sphinx/ext/mathjax.py#L36-L65

In any case, we should align ourselves with whatever Sphinx ultimately runs with (probably the LaTeX impl as it is newer).

Proposal

No response

Tasks and updates

No response

@agoose77 agoose77 added the enhancement New feature or request label Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant