Right now, users of this module need to add MathJax configurations to the page template of their theme. It would be much better if this module provide a text area for users to paste in the MathJax configuration and then pass it along to MathJax.

Comments

julou’s picture

I agree: a patch is more than welcome!

julou’s picture

Status: Active » Fixed

Added in current dev version (6.x and 7.x)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

cilefen’s picture

Status: Closed (fixed) » Needs work
cilefen’s picture

These changes are part of 7.x-2.x and 6.x-2.x.

cilefen’s picture

Please base patches from 7.x-1.x but look at what the original author did in 7.x-2.x for inspiration.

It will make sense to avoid the global variables if possible and also I do not know why it is drupal_add_html_head instead of drupal_add_js in hook_init. I prefer drupal_add_js.

The idea would be a 7.x-1.1 release that would present the same default MathJax settings as 7.x-1.0.

cilefen’s picture

I just pushed this change to 7.x-1.x.

cilefen’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.