-
Notifications
You must be signed in to change notification settings - Fork 48
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
Build a version with mathjax #43
Comments
It's trivial to do diff --git a/src/conf.py b/src/conf.py
index 8725f11..4c651a7 100644
--- a/src/conf.py
+++ b/src/conf.py
@@ -23,7 +23,7 @@ sys.path.append(os.path.abspath('../exts'))
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.pngmath', "math_dollar"]
+extensions = ['sphinx.ext.mathjax', "math_dollar"]
latex_preamble = r"""
\usepackage{dsfont} When I did this, no the complex page, there were some math errors with |
I guess you must have some preamble or something, which isn't being passed to mathjax. It's the same with \d and \half, which aren't even real latex. |
Oh wow, you have quite the preamble. I think for mathjax all the \newcommands have to be defined in the file. I don't know about the rest. |
well the rest is to put the preamble inside layout.html and put a |
Perhaps at /dev-mathjax. The png based image math is hard to read on a high resolution (retina) display.
The text was updated successfully, but these errors were encountered: