Closed (fixed)
Project:
MathJax: LaTeX for Drupal
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2011 at 18:50 UTC
Updated:
19 Aug 2013 at 00:41 UTC
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
Comment #1
julou commentedI agree: a patch is more than welcome!
Comment #2
julou commentedAdded in current dev version (6.x and 7.x)
Comment #4
cilefen commentedComment #5
cilefen commentedThese changes are part of 7.x-2.x and 6.x-2.x.
Comment #6
cilefen commentedPlease 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.
Comment #7
cilefen commentedI just pushed this change to 7.x-1.x.
Comment #8
cilefen commented