Closed joac closed 9 months ago
Thanks for this, but the problem is that these files are generated by jupyter-book, so if we change them, the changes will get clobbered the next time I generate the files. I am not sure why the generates files are not working -- I think they used to. I have not had a chance to investigate.
Looking at the issues on jupyter book, seems a configuration is required: https://github.com/executablebooks/jupyter-book/issues/1212#issuecomment-775772614
Just tried a fresh installation of jupyter book with the configuration you pointed me to, as well as the one in the docs:
https://jupyterbook.org/en/stable/content/math.html?highlight=mathjax
No luck with any of the variations I tried.
The docs say that jb uses MathJax 2 by default, so it seems like none of this should be necessary.
I just pushed the current version of _config.yml
and the other files I use to build the HTML version.
@joac I would love to get this fixed, but I keep hitting a wall and then I don't have time to keep going. But if you have any more ideas, they are welcome!
Fixes #67
I used a small script to include MathJax in all html files.
I did this approach because the sphinx files are not available.
A fixed version is deployed at: https://joac.github.io/ThinkBayes2/chap02.html