[rtems-docs commit] Render math via JavaScript in HTML output

Sebastian Huber sebh at rtems.org
Mon Feb 20 06:25:08 UTC 2017


Module:    rtems-docs
Branch:    master
Commit:    7ba04795214efe73d936f3545d25fd84af71b73e
Changeset: http://git.rtems.org/rtems-docs/commit/?id=7ba04795214efe73d936f3545d25fd84af71b73e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Feb 20 07:23:55 2017 +0100

Render math via JavaScript in HTML output

---

 README.txt     | 5 ++---
 c-user/conf.py | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/README.txt b/README.txt
index 3238886..aeb6ca5 100644
--- a/README.txt
+++ b/README.txt
@@ -37,9 +37,8 @@ The hosts which produce production quality is:
 Host Setup
 ----------
 
-For HTML output a Sphinx and a full Latex (texlive) installation is necessary.
-Sphinx uses Latex to produce images of mathematical formulas for the HTML
-output.  Building a Single HTML page requires the 'inliner' tool. The
+HTML builds directly with Sphinx, PDF requires a full Latex (texlive) install,
+and building a Single HTML page requires the 'inliner' tool. The
 sphinxcontrib-bibtex extension is mandatory.
 
 Please add your host as you set it up.
diff --git a/c-user/conf.py b/c-user/conf.py
index 0afe6f8..18b3206 100644
--- a/c-user/conf.py
+++ b/c-user/conf.py
@@ -3,7 +3,7 @@ sys.path.append(os.path.abspath('../common/'))
 
 from conf import *
 
-extensions = ['sphinx.ext.imgmath', 'sphinxcontrib.bibtex']
+extensions = ['sphinx.ext.mathjax', 'sphinxcontrib.bibtex']
 
 version = '4.11.99'
 release = '4.11.99'




More information about the vc mailing list