You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
commenter: mandriver
posted: 2012-09-02 09:44:08
title: #195 Please add an option to specify path to MathJax.js
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.
commenter: mandriver
posted: 2012-09-16 11:14:41
title: #195 Please add an option to specify path to MathJax.js
author: mandriver
created: 2012-07-04 05:58:46
assigned: None
SF_url: https://sourceforge.net/p/docutils/bugs/195
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.
commenter: mandriver
posted: 2012-09-02 09:44:08
title: #195 Please add an option to specify path to MathJax.js
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.
commenter: mandriver
posted: 2012-09-16 11:14:41
title: #195 Please add an option to specify path to MathJax.js
See also http://article.gmane.org/gmane.text.docutils.devel/6227.
commenter: mandriver
posted: 2012-10-10 15:59:33
title: #195 Please add an option to specify path to MathJax.js
attachments:
A patch that fixes this issue, version 3
commenter: mandriver
posted: 2012-10-10 15:59:55
title: #195 Please add an option to specify path to MathJax.js
attachments:
A patch that adds a test case
commenter: mandriver
posted: 2012-10-10 16:19:05
title: #195 Please add an option to specify path to MathJax.js
Attached two updated patches that fix issues Guenter pointed to.
commenter: milde
posted: 2012-11-15 20:57:16
title: #195 Please add an option to specify path to MathJax.js
commenter: milde
posted: 2012-11-15 20:57:16
title: #195 Please add an option to specify path to MathJax.js
Fixed; thanks for the bug report.
You can download a current snapshot from:
http://docutils.svn.sourceforge.net/viewvc/docutils/trunk/docutils/?view=tar
The text was updated successfully, but these errors were encountered: