Open mmcky opened 2 years ago
It looks like mathjax doesn't get loaded by sphinx on page that contains nodes that reference math but don't explicitly include math on that page
For example:
.. solution:: exercise-1 :label: solution-1 This is a solution to exercise 1
references
.. exercise:: :math:`n!` factorial :label: exercise-1 Exercise 1 about :math:`n!` factorial
But will result in:
but if you add a math role anywhere on that page it will be correctly rendered.
No response
exercise
I suspect this relates to loading mathjax on a per page basis
https://github.com/sphinx-doc/sphinx/issues/9686
Describe the problem
It looks like mathjax doesn't get loaded by sphinx on page that contains nodes that reference math but don't explicitly include math on that page
For example:
references
But will result in:
but if you add a math role anywhere on that page it will be correctly rendered.
Link to your repository or website
No response
Steps to reproduce
exercise
nodes that contain math in the titlesThe version of Python you're using
No response
Your operating system
No response
Versions of your packages
No response
Additional context
I suspect this relates to loading mathjax on a per page basis
https://github.com/sphinx-doc/sphinx/issues/9686