#195 Please add an option to specify path to MathJax.js

HTML writer (6)

Please add a configuration option to specify path to MathJax.js which is used for math processing.

For example, in Debian we have MathJax packaged and some users may want to use the local version (file:///usr/share/javascript/mathjax/MathJax.js) instead of the web one.

Having such an option will also make it possible to view docutils-generated HTML files without an internet connection.

See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677929 for Debian bug report.


  • Dmitry Shachnev

    Dmitry Shachnev - 2012-09-02

    Quoting the TODO from writers/html4css1/__init__.py:

    # TODO: make this configurable:
    # a) as extra option or
    # b) appended to math-output="MathJax"?
    # If b), which delimiter/delimter-set (':', ',', ' ')?

    I've chosen b), and there's no check for delimiter: it reads 'MathJax', then any symbol, and then the URL. Please find the patch attached.

  • Dmitry Shachnev

    Dmitry Shachnev - 2012-10-10

    Attached two updated patches that fix issues Guenter pointed to.

  • Günter Milde

    Günter Milde - 2012-11-15
    • status: open --> closed-fixed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks