Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Unbreak the Sphinx 1.8 build by renaming :math: to :mathmpl:.#12128
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Wow great. The only question I’d have is why we can’t use the Sphinx math directive, it I can believe they are different enough to make that a PITA
We can (and this PR basically does that implicitly by keeping :math: on the rest of the docs, which will use sphinx's math role),except for the mathtext tutorial because it uses mathtext construct that are not actually valid latex (\mathcircled,#7710 (comment)). My long term plan proposal is to rewrite the mathtext tutorial to just use the .. plot:: instead and completely kill :mathmpl: (even if you're using older versions of sphinx they also provide :math:, you just needed to add sphinx.ext.pngmath to the extensions list instead of being active by default). This PR is just a stopgap fix. |
Something went wrong ... Please have a look at my logs. |
FIX: Unbreak the Sphinx 1.8 build by renaming :math: to :mathmpl:.
ImportanceOfBeingErnest commentedSep 19, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
In theWriting mathematical expressions tutorial there are now strange red symbols appearing which have not been there inthe previous version. Is this a consequence of this PR? |
FIX: Unbreak the Sphinx 1.8 build by renaming :math: to :mathmpl:.Conflicts:lib/matplotlib/sphinxext/mathmpl.py - import cleanups
PR Summary
Would be kind of nice to have for 3.0, but heh.
PR Checklist